Do not end session when bridge is hung up
Hi all, I am trying to build a service using event sockets where i want to present the user with an IVR if the called party is busy. If i bridge caller->callee, upon reception of USER_BUSY both sessions get terminated and the event socket is closing. In my scenario I do not want the session from the caller to FreeSWITCH to be terminated upon USER_BUSY when bridging but instead answer the call within FreeSWITCH and eventually, at some point, try to bridge to the callee again. Does this make sense? Is this at all possible when bridging or should i somehow try to originate a call to the callee and only bridge them if i do not receive any error codes? Best regards, *Kenn Leth Hansen* *M.Sc. Engineering *
How are you initiating the bridge? You may have to set continue_on_fail=true On Wed, Jan 22, 2014 at 9:57 AM, Kenn Leth Hansen <klh@justfone.dk> wrote:
Hi all,
I am trying to build a service using event sockets where i want to present the user with an IVR if the called party is busy.
If i bridge caller->callee, upon reception of USER_BUSY both sessions get terminated and the event socket is closing.
In my scenario I do not want the session from the caller to FreeSWITCH to be terminated upon USER_BUSY when bridging but instead answer the call within FreeSWITCH and eventually, at some point, try to bridge to the callee again. Does this make sense?
Is this at all possible when bridging or should i somehow try to originate a call to the callee and only bridge them if i do not receive any error codes?
Best regards,
*Kenn Leth Hansen* *M.Sc. Engineering *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
participants (2)
-
Anthony Minessale
-
Kenn Leth Hansen