<div dir="ltr">Correct, expected. A call is considered successful when you receive media, 183 or 200. If you need to change this behavior you&#39;ll need to set ignore_early_media=true before bridging.<div><br></div><div>If you can&#39;t ignore_early_media, you need to set hangup_after_bridge=false and do more verifications on what happened after your last bridge.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 20, 2015 at 8:37 AM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have several carriers, and I use:<div>&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div>... so I was a little surprised to see that a call that ended with NORMAL_TEMPORARY_FAILURE didn&#39;t route advance.</div><div>I dug into the PCAPs of this and comparable, and the only difference I noticed was that the ones that worked were invite -&gt; 100 and then 503 NORMAL_TEMPORARY_FAILURE and the one that didn&#39;t work was invite -&gt; 100, 183, and then 503.</div><div><br></div><div>I have a lua script that told me:</div><div><br></div><div><div>session:getVariable(&quot;originate_disposition&quot;)  = SUCCESS </div><div>session:getVariable(&quot;bridge_hangup_cause&quot;)  = NORMAL_TEMPORARY_FAILURE </div></div><div><br></div><div>so... I&#39;m guessing that a 183 marks the originate as a success which is why continue_on_fail didn&#39;t work, since it wasn&#39;t a fail.</div><div><br></div><div>Is this expected? Is the carrier &quot;doing something wrong&quot; here?</div><div><br></div><div>They did helpfully send: &quot;SIP/2.0 503 Service Unavailable - Route Advance&quot;</div><div>More importantly: how can I fix it?</div><div><br></div><div>Thanks,</div><div><br><div><div><div dir="ltr">-Avi Marcus<br>BestFone</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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<br></div></div>
</div>