if you set the variable to:<br><br>"originate foo bar baz"<br><br>"bgapi originate foo bar baz"<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"><<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>></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 <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>>:<br>
<div class="im">> #4 makes no sense to me.<br>
</div>This solution call "miss callback". 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>
> Are you just trying to create a call that the channel does not participate<br>
> in?<br>
> Then for sure you want to use bgapi to cause the originate to happen in the<br>
> 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>
><br>
> Also your gcore report has to be taken while you have the stuck channels to<br>
> see why they are stuck.<br>
> I can promise you this problem should be filed under misuse/abuse.<br>
><br>
><br>
> On Sat, Oct 31, 2009 at 8:45 PM, Dome Charoenyost <<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>> wrote:<br>
>><br>
>> How to use bgapi in my flow.<br>
>> 1. user call did<br>
>> 2. FS send ringing and check balance, LCR from DB (by mod_odbc_quey)<br>
>> 3. Hangup (by use or timeout)<br>
>> 4. FS callback to user and bridge to IVR<br>
>><br>
>> I'm not sure bgapi can do after channel hangup.<br>
>><br>
>> Dome C.<br>
>><br>
>><br>
>> 2009/11/1 Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>>:<br>
>> > Use bgapi originate ...<br>
>> ><br>
>> > On Oct 31, 2009 9:09 PM, "Dome Charoenyost" <<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>> wrote:<br>
>> ><br>
>> > Yes. i user api_hangup_hook for do callback.<br>
>> > <action application="set" data="api_hangup_hook=originate<br>
>> ><br>
>> > {origination_caller_id_number=${caller_id_number},callback_uuid=${uuid},ignore_early_media=true}${route_1}|${route_2}|${route_3}<br>
>> > call_ivr${caller_id_number} XML public "/><br>
>> ><br>
>> > may be need originate_timeout<br>
>> ><br>
>> > Dome C.<br>
>> ><br>
>> ><br>
>> > 2009/11/1 Rupa Schomaker <<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>>:<br>
>> ><br>
>> >> fscore_pb has been updated. > > Next time put in the pastebin url.<br>
>> >> This<br>
>> >> one was 10911. > > Ok, a ...<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>
>> ><br>
>> ><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>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">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" target="_blank">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" target="_blank">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>
><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>
><br>
><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>