plivo / plivoframework

Open Source Telephony Application Prototyping Framework
http://www.plivo.com/open-source/
Other
418 stars 180 forks source link

Support for <Dial statusCallback #84

Closed mattwilliamson closed 12 years ago

mattwilliamson commented 12 years ago

Refs #83. Subscribe to the CHANNEL_BRIDGE event since the CALL_UPDATE only shows up for calls created with the REST API. Please advise if there is a more solid way of parsing out the callback_url param. Currently it looks like this which is a little hacky:

ck_url = app_vars.split('plivo_dial_callback_url=')[1].split(',')[0]
mike-plivo commented 12 years ago

Look at my suggestion/alternative in issue #83 and let me know what you think about it ;)