<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1481045077644_4966" dir="ltr">I tried that, but since the call did not start yet, the <my_uuid> does not yet exist.<br>I need to be able to cancel it while it is queued to start, but not yet started.</div><div id="yui_3_16_0_ym19_1_1481045077644_4966" dir="ltr"><br></div> <div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1481045077644_5209">What else do you recommend?<br><br></div><div class="thread-quoted-text unselectable custom-quoted-text" title="Show original message" role="presentation" id="yui_3_16_0_ym19_1_1481045077644_7381"> <span class="icon icon-chevron-right qtd-expansion-icon" role="presentation"></span> <span class="qtd-expansion-text" tabindex="0" role="button" aria-label="Show original message">Show original message</span> </div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1481045077644_5002" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1481045077644_5001"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1481045077644_5000"> <div dir="ltr" id="yui_3_16_0_ym19_1_1481045077644_5208"><font size="2" face="Arial" id="yui_3_16_0_ym19_1_1481045077644_5207"> On Tuesday, December 6, 2016 8:14 AM, Steven Ayre <steveayre@gmail.com> wrote:<br></font></div> <br><br> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1481045077644_4999"><div id="yiv7985484715"><div id="yui_3_16_0_ym19_1_1481045077644_4998"><div dir="ltr" id="yui_3_16_0_ym19_1_1481045077644_4997">In the case of originate you could do 'api uuid_kill my_uuid' to immediately hangup the call'<div class="yiv7985484715gmail_extra" id="yui_3_16_0_ym19_1_1481045077644_4996"><br clear="none"><div class="yiv7985484715gmail_quote" id="yui_3_16_0_ym19_1_1481045077644_5240">On 5 December 2016 at 22:23, D D <span dir="ltr" id="yui_3_16_0_ym19_1_1481045077644_5254"><<a rel="nofollow" shape="rect" ymailto="mailto:tru083@yahoo.com" target="_blank" href="mailto:tru083@yahoo.com" id="yui_3_16_0_ym19_1_1481045077644_5253">tru083@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv7985484715gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" id="yui_3_16_0_ym19_1_1481045077644_5239"><div class="yiv7985484715yqt2477878463" id="yiv7985484715yqt19025"><div id="yui_3_16_0_ym19_1_1481045077644_5238"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1481045077644_5237"><div id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">Hi,</div><div id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"><br clear="none"></div><div id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">How can I cancel a bgapi job?</div><div id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"><br clear="none"></div><div id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">Let's suppose I do bgapi command to originate a call and then am immediately told it needs to</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">be cancelled...but it has not started yet. Even if I supply my own uuid on the originate</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">and a job-uud on the bgapi command, I don't see any way I can cancel the "unstarted" call.</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"><br clear="none"></div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">Note that I can construct a test case for this situation by doing a fs_cli command</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"> bgapi originate {originate_delay_start=30000,o rigination_uuid=my_uuid}sofia/ gateway/...</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">This command will start a request that cannot be cancelled until the call actually starts (thirty</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">seconds later).</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"><br clear="none"></div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">Any ideas?</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"><br clear="none"></div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">Thanks,</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789">David</div><div dir="ltr" id="yiv7985484715m_803412665385473146m_4406519767216542973yui_3_16_0_ym19_1_1480975948038_4789"><br clear="none"></div></div></div></div><br clear="none">______________________________ ______________________________ _____________<br clear="none">
Professional FreeSWITCH Consulting Services:<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions .com</a><br clear="none">
<br clear="none">
Official FreeSWITCH Sites<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://confluence.freeswitch.org/">http://confluence.freeswitch.o rg</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none">
<br clear="none">
FreeSWITCH-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswi tch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/ma ilman/listinfo/freeswitch-user s</a><br clear="none">
UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.frees witch.org/mailman/options/ freeswitch-users</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none"></blockquote></div><br clear="none"></div></div></div></div><br><div class="yqt2477878463" id="yqt45545">_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services: <br clear="none"><a shape="rect" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"><a shape="rect" href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none"><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></div><br><br></div> </div> </div> </div></div></body></html>