<div dir="ltr"><div>Hi guys,</div><div><br></div><div>I'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> ------------------------------------------------------------------------</div><div> BYE sip:gw+twilio@52.1.1.1:5090;transport=udp;gw=twilio SIP/2.0</div><div> CSeq: 1 BYE</div><div> From: <<a href="mailto:sip%3A%2B551121174769@turn2data-telephonist.pstn.br1.twilio.com">sip:+551121174769@turn2data-telephonist.pstn.br1.twilio.com</a>>;tag=76430350_6772d868_ebbbd5d1-d9b1-49db-981e-ec4b3e238564</div><div> To: "" <<a href="mailto:sip%3A%2B55114XXXYYYY@172.31.3.166">sip:+55114XXXYYYY@172.31.3.166</a>>;tag=mjZyjF9Ute8DD</div><div> Call-ID: 7d8a1944-e512-1234-4eaf-02d310a86cb3</div><div> Max-Forwards: 68</div><div> Via: SIP/2.0/UDP 177.71.206.193:5060;branch=z9hG4bKfaa.6c72ded1.0</div><div> Via: SIP/2.0/UDP 172.19.147.73:5060;rport=5060;received=177.71.206.215;branch=z9hG4bKebbbd5d1-d9b1-49db-981e-ec4b3e238564_6772d868_205642673073712</div><div> <b> Reason: MVTSLocal;cause=10;text="BYE received",SIP;cause=406;text="Service Unavailable"</b></div><div><b> </b> User-Agent: Twilio Gateway</div><div> X-Twilio-CallSid: CA5411d5015d3df04541c6e14e9fb41719</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't see 406 Listed in Wiki:<br></div><div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table">https://freeswitch.org/confluence/display/FREESWITCH/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">https://tools.ietf.org/html/rfc3326</a></div><div><br></div><div><pre class="" style="font-size:13.3333px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">Examples are:
Reason: SIP ;cause=200 ;text="Call completed elsewhere"
Reason: Q.850 ;cause=16 ;text="Terminated"
Reason: SIP ;cause=600 ;text="Busy Everywhere"
Reason: SIP ;cause=580 ;text="Precondition Failure"
</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>