if you set the variable to: "originate foo bar baz"
"bgapi originate foo bar baz" bgapi is itself an api command that takes the argument string and runs it in a separate thread and returns instantly. This will stop it from hanging at that point. On Sun, Nov 1, 2009 at 1:53 PM, Dome Charoenyost <d...@tel.co.th> wrote: > 2009/11/2 Anthony Minessale <anthony.miness...@gmail.com>: > > #4 makes no sense to me. > This solution call "miss callback". some contry cost for toll free > number is so high. but call to user cheaper. so when user want to > use international call. they call to my DID and my system callback to them. > > > Are you just trying to create a call that the channel does not > participate > > in? > > Then for sure you want to use bgapi to cause the originate to happen in > the > > background. > Give me example how bgapi work when user hangup call > > > > Dome C. > > > > > Also your gcore report has to be taken while you have the stuck channels > to > > see why they are stuck. > > I can promise you this problem should be filed under misuse/abuse. > > > > > > On Sat, Oct 31, 2009 at 8:45 PM, Dome Charoenyost <d...@tel.co.th> > wrote: > >> > >> How to use bgapi in my flow. > >> 1. user call did > >> 2. FS send ringing and check balance, LCR from DB (by mod_odbc_quey) > >> 3. Hangup (by use or timeout) > >> 4. FS callback to user and bridge to IVR > >> > >> I'm not sure bgapi can do after channel hangup. > >> > >> Dome C. > >> > >> > >> 2009/11/1 Anthony Minessale <anthony.miness...@gmail.com>: > >> > Use bgapi originate ... > >> > > >> > On Oct 31, 2009 9:09 PM, "Dome Charoenyost" <d...@tel.co.th> wrote: > >> > > >> > Yes. i user api_hangup_hook for do callback. > >> > <action application="set" data="api_hangup_hook=originate > >> > > >> > > {origination_caller_id_number=${caller_id_number},callback_uuid=${uuid},ignore_early_media=true}${route_1}|${route_2}|${route_3} > >> > call_ivr${caller_id_number} XML public "/> > >> > > >> > may be need originate_timeout > >> > > >> > Dome C. > >> > > >> > > >> > 2009/11/1 Rupa Schomaker <r...@rupa.com>: > >> > > >> >> fscore_pb has been updated. > > Next time put in the pastebin url. > >> >> This > >> >> one was 10911. > > Ok, a ... > >> > > >> > _______________________________________________ > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users@lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > http://www.freeswitch.org > >> > > >> > > >> > >> _______________________________________________ > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users@lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> > > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> > > iax:gu...@conference.freeswitch.org/888 > > googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org> > > pstn:213-799-1400 > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users@lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org