From 182d44d40bbb183f296def6f9ce4452018bfe74d Mon Sep 17 00:00:00 2001 From: Koushik-Ayila Date: Mon, 14 Sep 2020 15:51:54 +0530 Subject: [PATCH 1/2] Handles GET method for start recording --- CHANGELOG.md | 3 +++ plivo/resources/calls.py | 8 ++++---- plivo/version.py | 2 +- setup.py | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01a43225..5a43e12a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## [4.10.2](https://github.com/plivo/plivo-python/tree/v4.10.2) (2020-09-14) +- Fix GET method working in case of start recording. + ## [4.10.1](https://github.com/plivo/plivo-python/tree/v4.10.1) (2020-09-11) - Fix Play in calls for asynchronous requests. diff --git a/plivo/resources/calls.py b/plivo/resources/calls.py index 173b9920..f4717e1c 100644 --- a/plivo/resources/calls.py +++ b/plivo/resources/calls.py @@ -32,7 +32,7 @@ def record(self, transcription_url=None, transcription_method=None, callback_url=None, - callback_mathod=None): + callback_method=None): return self.client.calls.record(self.id, **to_param_dict(self.record, locals())) @@ -43,7 +43,7 @@ def start_recording(self, transcription_url=None, transcription_method=None, callback_url=None, - callback_mathod=None): + callback_method=None): return self.client.calls.start_recording(self.id, **to_param_dict( self.start_recording, @@ -264,7 +264,7 @@ def record(self, transcription_url=None, transcription_method=None, callback_url=None, - callback_mathod=None): + callback_method=None): return self.start_recording(**to_param_dict(self.start_recording, locals())) @@ -277,7 +277,7 @@ def start_recording(self, transcription_url=None, transcription_method=None, callback_url=None, - callback_mathod=None): + callback_method=None): return self.client.request('POST', ('Call', call_uuid, 'Record'), to_param_dict(self.start_recording, locals()), is_voice_request=True) diff --git a/plivo/version.py b/plivo/version.py index 7fae5cd9..06c804be 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.10.1' \ No newline at end of file +__version__ = '4.10.2' \ No newline at end of file diff --git a/setup.py b/setup.py index 63c7af95..4bbd4aa4 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.10.1', + version='4.10.2', 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', From a0f719ba700bbde2443f2ed8240e206fd5eab860 Mon Sep 17 00:00:00 2001 From: nixonsam <37671608+nixonsam@users.noreply.github.com> Date: Mon, 14 Sep 2020 16:26:40 +0530 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a43e12a..a14ee43c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change Log ## [4.10.2](https://github.com/plivo/plivo-python/tree/v4.10.2) (2020-09-14) -- Fix GET method working in case of start recording. +- Fix GET callback_method for Start Recording API. ## [4.10.1](https://github.com/plivo/plivo-python/tree/v4.10.1) (2020-09-11) - Fix Play in calls for asynchronous requests.