[Freeswitch-users] How can I cancel a bgapi job?

D D tru083 at yahoo.com
Tue Dec 6 01:23:20 MSK 2016


Hi,
How can I cancel a bgapi job?
Let's suppose I do bgapi command to originate a call and then am immediately told it needs tobe cancelled...but it has not started yet.  Even if I supply my own uuid on the originateand a job-uud on the bgapi command, I don't see any way I can cancel the "unstarted" call.
Note that I can construct a test case for this situation by doing a fs_cli command    bgapi originate {originate_delay_start=30000,origination_uuid=my_uuid}sofia/gateway/...This command will start a request that cannot be cancelled until the call actually starts (thirtyseconds later).
Any ideas?
Thanks,David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161205/a6e9a379/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list