<div dir="ltr">Anthony,<div><br></div><div>See log below:</div><div><br></div><div><div>2014-01-23 08:33:21.835486 [DEBUG] switch_event.c:1661 Parsing variable [continue_on_fail]=[true]</div><div>2014-01-23 08:33:21.835486 [DEBUG] switch_event.c:1661 Parsing variable [hangup_after_bridge]=[false]</div>
<div>2014-01-23 08:33:21.835486 [NOTICE] switch_channel.c:1052 New Channel sofia/sipinterface_1/<destination> [a2daddea-8400-11e3-9502-bfebe461243e]</div><div>...</div><div>2014-01-23 08:33:25.535485 [DEBUG] sofia.c:4997 Remote Reason: 17</div>
<div>2014-01-23 08:33:25.535485 [DEBUG] sofia.c:5779 Channel sofia/sipinterface_1/<destination> entering state [terminated][486]</div><div>2014-01-23 08:33:25.535485 [NOTICE] sofia.c:6623 Hangup sofia/sipinterface_1/<destination> [CS_CONSUME_MEDIA] [USER_BUSY]</div>
<div>...</div><div>2014-01-23 08:33:25.555486 [DEBUG] switch_ivr_originate.c:3639 Originate Resulted in Error Cause: 17 [USER_BUSY]</div><div>2014-01-23 08:33:25.555486 [NOTICE] switch_core_session.c:1577 Session 247 (sofia/sipinterface_1/<destination>) Ended</div>
<div>2014-01-23 08:33:25.555486 [NOTICE] switch_core_session.c:1581 Close Channel sofia/sipinterface_1/<destination> [CS_DESTROY]</div><div>2014-01-23 08:33:25.555486 [INFO] mod_dptools.c:3201 Originate Failed. Cause: USER_BUSY</div>
<div>...</div><div>2014-01-23 08:33:51.715452 [DEBUG] sofia.c:5779 Channel sofia/sipinterface_1/<a href="mailto:1000@192.168.1.111">1000@192.168.1.111</a> entering state [terminated][487]</div><div>2014-01-23 08:33:51.715452 [NOTICE] sofia.c:6623 Hangup sofia/sipinterface_1/<a href="mailto:1000@192.168.1.111">1000@192.168.1.111</a> [CS_EXECUTE] [ORIGINATOR_CANCEL]</div>
</div><div><br></div><div>It seems to be working now. I think I had a typo in the variables before. Thank you for brainstorming with me! :)</div><div><br></div><div>The bridge is set up, fails due to Q.931 code 17 and then my softphone cancels the call after additional 25 seconds of calling (with early media).</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><div><font color="#000000">Best regards,<br><br></font></div><b><font color="#000000">Kenn Leth Hansen<br></font></b></div>
<font color="#000000"><i>M.Sc. Engineering, Telecommunications</i></font></div></div><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 11:05 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>check your log for which line hangs up the call.</div><div>It will be blue and have the distinct string "Hangup" that will show the line number calling hangup and disclose the reason.</div>
</div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 12:39 PM, Kenn Leth Hansen <span dir="ltr"><<a href="mailto:klh@justfone.dk" target="_blank">klh@justfone.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Anthony,<br><br>With modesl for node.js I am executing bridge with parameter {hangup_after_bridge=false,continue_on_fail=true}sofia/gateways/gw/<destination>.</div>
</div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">From: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:anthony.minessale@gmail.com" target="_blank">Anthony Minessale</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Sent: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">22/01/2014 17:22</span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">To: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank">freeswitch-dev@lists.freeswitch.org</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Subject: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Re: [Freeswitch-dev] Do not end session when bridge is hung up</span><br>
<br></div></div><div><div><div dir="ltr">How are you initiating the bridge?<div>You may have to set continue_on_fail=true</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jan 22, 2014 at 9:57 AM, Kenn Leth Hansen <span dir="ltr"><<a href="mailto:klh@justfone.dk" target="_blank">klh@justfone.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>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.</div>
<div><br></div><div>If i bridge caller->callee, upon reception of USER_BUSY both sessions get terminated and the event socket is closing.</div>
<div><br></div><div>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?</div>
<div><br></div><div>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?</div><div><br></div><div><br clear="all"><div>
<div dir="ltr">
<div><div><div><div><font color="#000000">Best regards,<br><br></font></div><b><font color="#000000">Kenn Leth Hansen<br></font></b></div><font color="#000000"><i><div><font color="#000000"><i>M.Sc. Engineering</i></font></div>
</i></font></div></div><br></div></div>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>
<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>
</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br>
</div></div></div></div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>
<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>
</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br>
</div></div></div></div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>