if you set the variable to:<br><br>&quot;originate foo bar baz&quot;<br><br>&quot;bgapi originate foo bar baz&quot;<br>
<br>bgapi is itself an api command that takes the argument string and runs it in a separate thread and returns instantly.<br>This will stop it from hanging at that point.<br><br><br><br><br><div class="gmail_quote">On Sun, Nov 1, 2009 at 1:53 PM, Dome Charoenyost <span dir="ltr">&lt;<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/11/2 Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;:<br>

<div class="im">&gt; #4 makes no sense to me.<br>
</div>This solution call &quot;miss callback&quot;. some contry cost for toll free<br>
number is so high. but call to user cheaper. so when user want to<br>
use international call. they call to my DID and my system callback to them.<br>
<div class="im"><br>
&gt; Are you just trying to create a call that the channel does not participate<br>
&gt; in?<br>
&gt; Then for sure you want to use bgapi to cause the originate to  happen in the<br>
&gt; background.<br>
</div>Give me example how bgapi work when user hangup call<br>
<br>
<br>
<br>
Dome C.<br>
<div><div></div><div class="h5"><br>
&gt;<br>
&gt; Also your gcore report has to be taken while you have the stuck channels to<br>
&gt; see why they are stuck.<br>
&gt; I can promise you this problem should be filed under misuse/abuse.<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Oct 31, 2009 at 8:45 PM, Dome Charoenyost &lt;<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; How to use bgapi in my flow.<br>
&gt;&gt; 1. user call did<br>
&gt;&gt; 2. FS send ringing and check balance, LCR from DB (by mod_odbc_quey)<br>
&gt;&gt; 3. Hangup (by use or timeout)<br>
&gt;&gt; 4. FS callback to user and bridge to IVR<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not sure  bgapi can do after channel hangup.<br>
&gt;&gt;<br>
&gt;&gt; Dome C.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2009/11/1 Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; Use bgapi originate ...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Oct 31, 2009 9:09 PM, &quot;Dome Charoenyost&quot; &lt;<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Yes. i user api_hangup_hook for do callback.<br>
&gt;&gt; &gt; &lt;action application=&quot;set&quot; data=&quot;api_hangup_hook=originate<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; {origination_caller_id_number=${caller_id_number},callback_uuid=${uuid},ignore_early_media=true}${route_1}|${route_2}|${route_3}<br>
&gt;&gt; &gt; call_ivr${caller_id_number} XML public &quot;/&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; may be need originate_timeout<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Dome C.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2009/11/1 Rupa Schomaker &lt;<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>&gt;:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; fscore_pb has been updated. &gt; &gt; Next time put in the pastebin url.<br>
&gt;&gt; &gt;&gt;  This<br>
&gt;&gt; &gt;&gt; one was 10911. &gt; &gt; Ok, a ...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>