Skip to content

Commit 79999df

Browse files
authored
Merge pull request #140 from plivo/VT-1319_Asynchronous_Play_Bug
Fixed play on calls in cases of asynchronous requests
2 parents f4911bd + 1d0ca8c commit 79999df

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## [4.10.1](https://github.com/plivo/plivo-python/tree/v4.10.1) (2020-09-11)
4+
- Fix Play in calls for asynchronous requests.
5+
36
## [4.10.0](https://github.com/plivo/plivo-python/tree/v4.10.0) (2020-08-24)
47
- Add Powerpack for MMS.
58

plivo/resources/calls.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ def play(self,
296296
length=None,
297297
legs=None,
298298
loop=None,
299-
mix=None):
299+
mix=None,
300+
callback_url=None,
301+
callback_method=None):
300302
return self.start_playing(**to_param_dict(self.play, locals()))
301303

302304
@validate_args(call_uuid=[of_type(six.text_type)])
@@ -306,7 +308,9 @@ def start_playing(self,
306308
length=None,
307309
legs=None,
308310
loop=None,
309-
mix=None):
311+
mix=None,
312+
callback_url=None,
313+
callback_method=None):
310314
return self.client.request('POST', ('Call', call_uuid, 'Play'),
311315
to_param_dict(self.play, locals()), is_voice_request=True)
312316

plivo/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = '4.10.0'
2+
__version__ = '4.10.1'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='plivo',
13-
version='4.10.0',
13+
version='4.10.1',
1414
description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML',
1515
long_description=long_description,
1616
url='https://github.com/plivo/plivo-python',

0 commit comments

Comments
 (0)