[Freeswitch-users] Proper syntax of sched_hangup from webapi
Rahul MathuR
rahul.ultimate at gmail.com
Fri May 26 12:23:33 UTC 2017
Hi guys,
I am trying to implement a callback functionality using mod_xml_rpc, my URL
looks like -
http://192.168.2.54:8080/webapi/originate?{origination_caller_id_name=8888888888,origination_caller_id_number=8888888888}sofia/gateway/OBG1/3333333333%20set(execute_on_answer=sched_hangup%20%2B10%20normal_clearing%20bleg)%20&bridge(sofia/gateway/OBG1/4444444444)
But FS sends out INVITE to 3333333333, receives 183 and then even before it
could send out an INVITE to 4444444444, it feels it has reached to the last
statement of execution and hence sends CANCEL and drops the call.
When I put sched_hangup at the last, it just doesn't play any part in call
duration control.
I feel that somewhere I am making some mistake but I need another set of
eyes to locate it. Could you kindly help me resolve this issue.
--
Warm Regds.
MathuR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170526/13831990/attachment.html>
More information about the FreeSWITCH-users
mailing list