diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eda40a3..3d1c0198 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## [5.50.0](https://github.com/plivo/plivo-dotnet/tree/v5.50.0) (2024-11-06) +**Feature - Adding few optional parameters to the existing machine detection params** +- Added six new optional machine detection params `machine_detection_maximum_speech_length`,`machine_detection_initial_silence`,`machine_detection_maximum_words`,`machine_detection_initial_greeting`,`machine_detection_silence`,`machine_detection_answer_time` + ## [5.49.2](https://github.com/plivo/plivo-dotnet/tree/v5.49.2) (2024-10-23) **Feature - FraudCheck param in Create, Get and List Session** - Support for the `fraud_check` parameter in sms verify session request diff --git a/README.md b/README.md index 111c945f..55df55fc 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ You can install this SDK either by referencing the .dll file or using NuGet. Use the following line to install the latest SDK using the NuGet CLI. ``` -PM> Install-Package Plivo -Version 5.49.2 +PM> Install-Package Plivo -Version 5.50.0 ``` You can also use the .NET CLI to install this package as follows ``` -> dotnet add package Plivo --version 5.49.2 +> dotnet add package Plivo --version 5.50.0 ``` ## Getting started diff --git a/src/Plivo/Plivo.csproj b/src/Plivo/Plivo.csproj index d0dc9437..cd2494e2 100644 --- a/src/Plivo/Plivo.csproj +++ b/src/Plivo/Plivo.csproj @@ -1,7 +1,7 @@ netstandard2.0;netstandard1.3 - 5.49.2 + 5.50.0 Plivo SDKs Team Plivo Inc. diff --git a/src/Plivo/Plivo.nuspec b/src/Plivo/Plivo.nuspec index 583e9c3a..e327cbc4 100644 --- a/src/Plivo/Plivo.nuspec +++ b/src/Plivo/Plivo.nuspec @@ -4,7 +4,7 @@ A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML Plivo - 5.49.2 + 5.50.0 Plivo Plivo SDKs Team Plivo, Inc. diff --git a/src/Plivo/Resource/Call/CallInterface.cs b/src/Plivo/Resource/Call/CallInterface.cs index f3921f6d..6328673e 100755 --- a/src/Plivo/Resource/Call/CallInterface.cs +++ b/src/Plivo/Resource/Call/CallInterface.cs @@ -26,8 +26,9 @@ public CallInterface (HttpClient client) : base (client) { /// /// Create Call with the specified from, to, answerUrl, answerMethod, ringUrl, ringMethod, hangupUrl, hangupMethod, /// fallbackUrl, fallbackMethod, callerName, sendDigits, sendOnPreanswer, timeLimit, hangupOnRing, - /// machineDetection, machineDetectionTime, machineDetectionUrl, machineDetectionMethod, sipHeaders, - /// ringTimeout, parentCallUuid and errorIfrentNotFound. + /// machineDetection, machineDetectionTime, machineDetectionUrl, machineDetectionMethod, machineDetectionMaximumSpeechLength, + /// machineDetectionInitialSilence, machineDetectionMaximumWords, machineDetectionInitialGreeting, machineDetectionSilence, machineDetectionAnswerTime, + /// sipHeaders,ringTimeout, parentCallUuid and errorIfrentNotFound. /// /// The create. /// From. @@ -49,6 +50,12 @@ public CallInterface (HttpClient client) : base (client) { /// Machine detection time. /// Machine detection URL. /// Machine detection method. + /// Machine detection maximum speech length. + /// machine detection initial silence. + /// Machine detection maximum words. + /// Machine detection initial greeting. + /// Machine detection silence. + /// Machine detection answer time . /// Sip headers. /// Ring timeout. /// Parent call UUID. @@ -62,7 +69,10 @@ public CallCreateResponse Create ( bool? sendOnPreanswer = null, uint? timeLimit = null, uint? hangupOnRing = null, string machineDetection = null, uint? machineDetectionTime = null, string machineDetectionUrl = null, - string machineDetectionMethod = null, string sipHeaders = null, + string machineDetectionMethod = null, uint? machineDetectionMaximumSpeechLength = null, + uint? machineDetectionInitialSilence = null, uint? machineDetectionMaximumWords = null, + uint? machineDetectionInitialGreeting = null, uint? machineDetectionSilence = null, + uint? machineDetectionAnswerTime = null, string sipHeaders = null, uint? ringTimeout = null, string parentCallUuid = null, bool? errorIfrentNotFound = null) { @@ -105,6 +115,12 @@ public CallCreateResponse Create ( machineDetectionTime, machineDetectionUrl, machineDetectionMethod, + machineDetectionMaximumSpeechLength, + machineDetectionInitialSilence, + machineDetectionMaximumWords, + machineDetectionInitialGreeting, + machineDetectionSilence, + machineDetectionAnswerTime, sipHeaders, ringTimeout, parentCallUuid, @@ -126,8 +142,9 @@ public CallCreateResponse Create ( /// /// Asynchronously create Call with the specified from, to, answerUrl, answerMethod, ringUrl, ringMethod, hangupUrl, hangupMethod, /// fallbackUrl, fallbackMethod, callerName, sendDigits, sendOnPreanswer, timeLimit, hangupOnRing, - /// machineDetection, machineDetectionTime, machineDetectionUrl, machineDetectionMethod, sipHeaders, - /// ringTimeout, parentCallUuid and errorIfrentNotFound. + /// machineDetection, machineDetectionTime, machineDetectionUrl, machineDetectionMethod, machineDetectionMaximumSpeechLength, + /// machineDetectionInitialSilence, machineDetectionMaximumWords, machineDetectionInitialGreeting, machineDetectionSilence, machineDetectionAnswerTime, + /// sipHeaders, ringTimeout, parentCallUuid and errorIfrentNotFound. /// /// The create. /// From. @@ -149,6 +166,12 @@ public CallCreateResponse Create ( /// Machine detection time. /// Machine detection URL. /// Machine detection method. + /// Machine detection maximum speech length. + /// machine detection initial silence. + /// Machine detection maximum words. + /// Machine detection initial greeting. + /// Machine detection silence. + /// Machine detection answer time . /// Sip headers. /// Ring timeout. /// Parent call UUID. @@ -164,7 +187,10 @@ public async Task CreateAsync( bool? sendOnPreanswer = null, uint? timeLimit = null, uint? hangupOnRing = null, string machineDetection = null, uint? machineDetectionTime = null, string machineDetectionUrl = null, - string machineDetectionMethod = null, string sipHeaders = null, + string machineDetectionMethod = null, uint? machineDetectionMaximumSpeechLength = null, + uint? machineDetectionInitialSilence = null, uint? machineDetectionMaximumWords = null, + uint? machineDetectionInitialGreeting = null, uint? machineDetectionSilence = null, + uint? machineDetectionAnswerTime = null, string sipHeaders = null, uint? ringTimeout = null, string parentCallUuid = null, bool? errorIfrentNotFound = null, string callbackUrl = null, string callbackMethod = "POST") { @@ -195,6 +221,12 @@ public async Task CreateAsync( machineDetectionTime, machineDetectionUrl, machineDetectionMethod, + machineDetectionMaximumSpeechLength, + machineDetectionInitialSilence, + machineDetectionMaximumWords, + machineDetectionInitialGreeting, + machineDetectionSilence, + machineDetectionAnswerTime, sipHeaders, ringTimeout, parentCallUuid, diff --git a/src/Plivo/Version.cs b/src/Plivo/Version.cs index f5039a24..5444bbc3 100644 --- a/src/Plivo/Version.cs +++ b/src/Plivo/Version.cs @@ -10,7 +10,7 @@ public class Version /// /// DotNet SDK version /// - public const string SdkVersion = "5.49.2"; + public const string SdkVersion = "5.50.0"; /// /// Plivo API version /// diff --git a/version.json b/version.json index 62216821..48e72748 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "5.49.2", + "version": "5.50.0", "publicReleaseRefSpec": [ "^refs/heads/master$", "^refs/heads/v\\d+(?:\\.\\d+)?$"