<p dir="ltr">FreeSWITCH considers a 183 with media as successful origination of call, as in &quot;you want to ear the early media&quot;.</p>
<p dir="ltr">If you don&#39;t, you set &quot;ignore-early-media&quot; to true.<br></p>
<p dir="ltr">sent from my mobile,<br>
Giovanni Maruzzelli<br>
cell: +39 347 266 56 18</p>
<div class="gmail_quote">On Aug 20, 2015 5:44 PM, &quot;Lawrence Conroy&quot; &lt;<a href="mailto:lconroy@insensate.co.uk">lconroy@insensate.co.uk</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
 um ... are we talking about SIP here?<br>
2xx are invite successful final responses; 3xx are transfer final responses whilst 4xx, 5xx are final errors. 1xx are temporary responses.<br>
Thus a 1xx followed by a 4xx (or 5xx) is not a success.<br>
Or have I missed something in RFC2543 or 3761?<br>
<br>
all the best,<br>
  Lawrence<br>
<br>
<br>
On 20 Aug 2015, at 13:30, Ítalo Rossi &lt;<a href="mailto:italorossib@gmail.com">italorossib@gmail.com</a>&gt; wrote:<br>
<br>
&gt; 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.<br>
&gt;<br>
&gt; 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.<br>
&gt;<br>
&gt; On Thu, Aug 20, 2015 at 8:37 AM, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>&gt; wrote:<br>
&gt; I have several carriers, and I use:<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
&gt; ... so I was a little surprised to see that a call that ended with NORMAL_TEMPORARY_FAILURE didn&#39;t route advance.<br>
&gt; 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.<br>
&gt;<br>
&gt; I have a lua script that told me:<br>
&gt;<br>
&gt; session:getVariable(&quot;originate_disposition&quot;)  = SUCCESS<br>
&gt; session:getVariable(&quot;bridge_hangup_cause&quot;)  = NORMAL_TEMPORARY_FAILURE<br>
&gt;<br>
&gt; 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.<br>
&gt;<br>
&gt; Is this expected? Is the carrier &quot;doing something wrong&quot; here?<br>
&gt;<br>
&gt; They did helpfully send: &quot;SIP/2.0 503 Service Unavailable - Route Advance&quot;<br>
&gt; More importantly: how can I fix it?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; -Avi Marcus<br>
&gt; BestFone<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Ítalo Rossi<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>