From 47a6152653d458a11939a515a80d98c72b665020 Mon Sep 17 00:00:00 2001 From: abinaya-plivo Date: Tue, 10 Sep 2024 15:21:27 +0530 Subject: [PATCH 1/2] Python SDK changes for new machine detection parameter --- plivo/resources/calls.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plivo/resources/calls.py b/plivo/resources/calls.py index 8e01dce4..206a864f 100644 --- a/plivo/resources/calls.py +++ b/plivo/resources/calls.py @@ -194,6 +194,12 @@ def create(self, machine_detection_time=5000, machine_detection_url=None, machine_detection_method='POST', + machine_detection_maximum_speech_length=None, + machine_detection_initial_silence=None, + machine_detection_maximum_words=None, + machine_detection_initial_greeting=None, + machine_detection_silence=None, + machine_detection_answer_time=None, sip_headers=None, ring_timeout=120, parent_call_uuid=None, From 59f70b0852d0612eae0f0433d0bdd87b1dd77d9e Mon Sep 17 00:00:00 2001 From: abinaya-plivo Date: Tue, 10 Sep 2024 16:09:14 +0530 Subject: [PATCH 2/2] added sdk versioning --- CHANGELOG.md | 4 ++++ plivo/version.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b1a98c0..b147bc80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## [4.55.6](https://github.com/plivo/plivo-python/tree/v4.55.6) (2024-09-10) +**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` + ## [4.55.5](https://github.com/plivo/plivo-python/tree/v4.55.5) (2024-09-10) **Feature - Adding validations for AudioStream XML creation** - Added Validations for AudioStream XML creation diff --git a/plivo/version.py b/plivo/version.py index 23a5fcea..89516ac8 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.55.5' +__version__ = '4.55.6' diff --git a/setup.py b/setup.py index 1188cca6..434b42ef 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.55.5', + version='4.55.6', description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML', long_description=long_description, url='https://github.com/plivo/plivo-python',