<div dir="ltr">That still differs from the <span style="font-size:12.8px">NORMAL_CLEARING he&#39;s saying he&#39;s getting.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Gonzalo, check what other variables exist in case the 406 appears in a variable. proto_specific_cause often would but might not given that this was a BYE for a successful call.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 August 2016 at 16:28, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">406 is currently mapped to <span style="color:rgb(245,245,245);font-family:Monaco;font-size:13px;background-color:rgb(0,0,0)">SWITCH_CAUSE_SERVICE_NOT_<wbr>IMPLEMENTED</span> which appears correct to me.  What are you suggesting we change exactly? <br><div><br></div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Aug 24, 2016, at 11:15 PM, Gonzalo Gasca Meza &lt;<a href="mailto:gascagonzalo@gmail.com" target="_blank">gascagonzalo@gmail.com</a>&gt; wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div>Hi guys,</div><div><br></div><div>I&#39;m getting the following BYE reason code from my Service Provider:</div><div><br></div><div><div>recv 740 bytes from udp/[177.71.206.193]:5060 at 02:57:50.740042:</div><div>   -----------------------------<wbr>------------------------------<wbr>-------------</div><div>   BYE <a>sip:gw+twilio@52.1.1.1:5090;<wbr>transport=udp;gw=twilio</a> SIP/2.0</div><div>   CSeq: 1 BYE</div><div>   From: &lt;<a href="mailto:sip%3A%2B551121174769@turn2data-telephonist.pstn.br1.twilio.com" target="_blank">sip:+551121174769@turn2data-<wbr>telephonist.pstn.br1.twilio.<wbr>com</a>&gt;;tag=76430350_6772d868_<wbr>ebbbd5d1-d9b1-49db-981e-<wbr>ec4b3e238564</div><div>   To: &quot;&quot; &lt;<a href="mailto:sip%3A%2B55114XXXYYYY@172.31.3.166" target="_blank">sip:+55114XXXYYYY@172.31.3.<wbr>166</a>&gt;;tag=mjZyjF9Ute8DD</div><div>   Call-ID: 7d8a1944-e512-1234-4eaf-<wbr>02d310a86cb3</div><div>   Max-Forwards: 68</div><div>   Via: SIP/2.0/UDP 177.71.206.193:5060;branch=<wbr>z9hG4bKfaa.6c72ded1.0</div><div>   Via: SIP/2.0/UDP 172.19.147.73:5060;rport=5060;<wbr>received=177.71.206.215;<wbr>branch=z9hG4bKebbbd5d1-d9b1-<wbr>49db-981e-ec4b3e238564_<wbr>6772d868_205642673073712</div><div> <b>  Reason: MVTSLocal;cause=10;text=&quot;BYE received&quot;,SIP;cause=406;text=&quot;<wbr>Service Unavailable&quot;</b></div><div><b> </b>  User-Agent: Twilio Gateway</div><div>   X-Twilio-CallSid: CA5411d5015d3df04541c6e14e9fb4<wbr>1719</div><div>   Content-Length: 0</div></div><div>   </div><div>When placing call via ESL I get reported NORMAL_CLEARING vs 406 </div><div><br></div><div>I don&#39;t see 406 Listed in Wiki:<br></div><div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>Hangup+Cause+Code+Table</a></div><div><br></div><div>According to RFC seems to be valid <a href="https://tools.ietf.org/html/rfc3326" target="_blank">https://tools.ietf.org/html/<wbr>rfc3326</a></div><div><br></div><div><pre style="font-size:13.3333px;margin-top:0px;margin-bottom:0px">Examples are:

      Reason: SIP ;cause=200 ;text=&quot;Call completed elsewhere&quot;
      Reason: Q.850 ;cause=16 ;text=&quot;Terminated&quot;
      Reason: SIP ;cause=600 ;text=&quot;Busy Everywhere&quot;
      Reason: SIP ;cause=580 ;text=&quot;Precondition Failure&quot;
</pre></div><div><br></div><div>Can we add support to handle these type of reasons to a common one ? Like Unknown?</div><div>I will talk to my SP to see if they can change it to 503.</div><div><br></div><div>Any suggestions?</div></div>
</div></div><span>&lt;ESL_ERROR&gt;</span>___________________<wbr>______________________________<wbr>________________________<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.<wbr>freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div><br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>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.<wbr>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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>