<div dir="ltr">You need to follow the whole sip flow, maybe you are missing another Via header, or the tag or branch is incorrect....</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 4, 2016 at 8:42 AM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.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 dir="ltr">Hello guys,<div><br></div><div>I have this situation where the whole call goes well, except the BYE.</div><div>Freeswitch receives the BYE, but doesn&#39;t relay it, and I can&#39;t figure out why, here&#39;s a trace:</div><div><br></div><div><div>recv 489 bytes from udp/[196.207.243.108]:5080 at 07:22:05.626643:</div><div>   -----------------------------<wbr>------------------------------<wbr>-------------</div><div>   BYE <a href="mailto:sip%3Agw%2Bgw_108@196.207.243.245">sip:gw+gw_108@196.207.243.245</a>:<wbr>5080;transport=udp;gw=gw_108 SIP/2.0</div><div>   Via: SIP/2.0/UDP 196.207.243.108:5080;branch=<wbr>z9hG4bK2e5f9502;rport</div><div>   Max-Forwards: 70</div><div>   From: &lt;<a href="http://sip:774720380@196.207.243.108:5080" target="_blank">sip:774720380@196.207.243.<wbr>108:5080</a>&gt;;tag=as6c7e3a9d</div><div>   To: &quot;721102372&quot; &lt;<a href="mailto:sip%3A721102372@196.207.243.245" target="_blank">sip:721102372@196.207.243.245</a><wbr>&gt;;tag=a9B2UttKm9Nyg</div><div>   Call-ID: 16336d2d-1d02-1235-8693-<wbr>0026b955dc81</div><div>   CSeq: 102 BYE</div><div>   User-Agent: Asterisk PBX 11.23.0</div><div>   X-Asterisk-HangupCause: Unallocated (unassigned) number</div><div>   X-Asterisk-HangupCauseCode: 1</div><div>   Content-Length: 0</div><div><br></div><div>   -----------------------------<wbr>------------------------------<wbr>-------------</div><div>tport.c:3023 tport_deliver() tport_deliver(0x7f5a04004540): msg 0x7f5a04007eb0 (489 bytes) from udp/<a href="http://196.207.243.108:5080/sip" target="_blank">196.207.243.108:5080/sip</a> next=(nil)</div><div>nta.c:2880 agent_recv_request() nta: received BYE <a href="mailto:sip%3Agw%2Bgw_108@196.207.243.245">sip:gw+gw_108@196.207.243.245</a>:<wbr>5080;transport=udp;gw=gw_108 SIP/2.0 (CSeq 102)</div><div>nta.c:3248 agent_aliases() nta: canonizing <a href="http://sip:gw+gw_108@196.207.243.245:5080" target="_blank">sip:gw+gw_108@196.207.243.245:<wbr>5080</a> with contact</div><div>nta.c:3060 agent_recv_request() nta: BYE (102) going to existing leg</div><div>nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: entering</div><div>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>nua.c:879 nua_respond() nua: nua_respond: entering</div><div>nua_stack.c:529 nua_signal() nua(0x7f599c000d40): sent signal r_respond</div><div>nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering</div><div>nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering</div><div>nua_stack.c:529 nua_signal() nua(0x7f599c000d40): sent signal r_destroy</div><div>nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering</div><div>soa.c:403 soa_set_params() soa_set_params(static::<wbr>0x7f5a04014610, ...) called</div><div>tport.c:3257 tport_tsend() tport_tsend(0x7f5a04004540) tpn = UDP/<a href="http://196.207.243.108:5080" target="_blank">196.207.243.108:5080</a></div><div>tport.c:4046 tport_resolve() tport_resolve addrinfo = <a href="http://196.207.243.108:5080" target="_blank">196.207.243.108:5080</a></div><div>tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(<wbr>0x7f5a04004540): not found by name UDP/<a href="http://196.207.243.108:5080" target="_blank">196.207.243.108:5080</a></div></div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&amp;type=zerocontent&amp;guid=79c1750d-3166-4283-8a09-b459cb70e986"><font color="#ffffff" size="1">ᐧ</font></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Regards,<div>Mirko</div></div></div></div></div></div></div></div></div>
</div>