args inversion #95

Closed
areski opened this Issue Dec 20, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

areski commented Dec 20, 2012

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))

tamiel added a commit that referenced this issue Dec 21, 2012

Owner

tamiel commented Dec 21, 2012

yes good catch ! fixed !

@tamiel tamiel closed this Dec 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment