Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

args inversion #95

Closed
areski opened this Issue · 1 comment

2 participants

Areski Belaid Michael Ricordeau
Areski Belaid

Hi,

I think there is a bug in this code :
https://github.com/plivo/plivoframework/blob/master/src/plivo/rest/freeswitch/api.py#L264

and also here :
https://github.com/plivo/plivoframework/blob/master/src/plivo/rest/freeswitch/api.py#L271

args_list.append("execute_on_media_%d='sched_hangup +%d ORIGINATOR_CANCEL'" \
% (hangup_on_ring, exec_on_media))

should be :

args_list.append("execute_on_media_%d='sched_hangup +%d ORIGINATOR_CANCEL'" \
% (exec_on_media, hangup_on_ring))

Michael Ricordeau tamiel referenced this issue from a commit
Michael Ricordeau tamiel fix issue #95 5d3e8a9
Michael Ricordeau
Owner

yes good catch ! fixed !

Michael Ricordeau tamiel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.