Hello guys, I have this situation where the whole call goes well, except the BYE. Freeswitch receives the BYE, but doesn't relay it, and I can't figure out why, here's a trace: recv 489 bytes from udp/[196.207.243.108]:5080 at 07:22:05.626643: ------------------------------------------------------------------------ BYE sip:gw+gw_108@196.207.243.245:5080;transport=udp;gw=gw_108 SIP/2.0 Via: SIP/2.0/UDP 196.207.243.108:5080;branch=z9hG4bK2e5f9502;rport Max-Forwards: 70 From: <sip:774720380@196.207.243.108:5080>;tag=as6c7e3a9d To: "721102372" <sip:721102372@196.207.243.245>;tag=a9B2UttKm9Nyg Call-ID: 16336d2d-1d02-1235-8693-0026b955dc81 CSeq: 102 BYE User-Agent: Asterisk PBX 11.23.0 X-Asterisk-HangupCause: Unallocated (unassigned) number X-Asterisk-HangupCauseCode: 1 Content-Length: 0 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f5a04004540): msg 0x7f5a04007eb0 (489 bytes) from udp/196.207.243.108:5080/sip next=(nil) nta.c:2880 agent_recv_request() nta: received BYE sip:gw+gw_108@196.207.243.245:5080;transport=udp;gw=gw_108 SIP/2.0 (CSeq 102) nta.c:3248 agent_aliases() nta: canonizing sip:gw+gw_108@196.207.243.245:5080 with contact nta.c:3060 agent_recv_request() nta: BYE (102) going to existing leg nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:879 nua_respond() nua: nua_respond: entering nua_stack.c:529 nua_signal() nua(0x7f599c000d40): sent signal r_respond nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering nua_stack.c:529 nua_signal() nua(0x7f599c000d40): sent signal r_destroy nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:403 soa_set_params() soa_set_params(static::0x7f5a04014610, ...) called tport.c:3257 tport_tsend() tport_tsend(0x7f5a04004540) tpn = UDP/ 196.207.243.108:5080 tport.c:4046 tport_resolve() tport_resolve addrinfo = 196.207.243.108:5080 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f5a04004540): not found by name UDP/196.207.243.108:5080 Any ideas? Thanks ᐧ
You need to follow the whole sip flow, maybe you are missing another Via header, or the tag or branch is incorrect.... On Fri, Nov 4, 2016 at 8:42 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I have this situation where the whole call goes well, except the BYE. Freeswitch receives the BYE, but doesn't relay it, and I can't figure out why, here's a trace:
recv 489 bytes from udp/[196.207.243.108]:5080 at 07:22:05.626643: ----------------------------------------------------------- ------------- BYE sip:gw+gw_108@196.207.243.245:5080;transport=udp;gw=gw_108 SIP/2.0 Via: SIP/2.0/UDP 196.207.243.108:5080;branch=z9hG4bK2e5f9502;rport Max-Forwards: 70 From: <sip:774720380@196.207.243.108:5080>;tag=as6c7e3a9d To: "721102372" <sip:721102372@196.207.243.245>;tag=a9B2UttKm9Nyg Call-ID: 16336d2d-1d02-1235-8693-0026b955dc81 CSeq: 102 BYE User-Agent: Asterisk PBX 11.23.0 X-Asterisk-HangupCause: Unallocated (unassigned) number X-Asterisk-HangupCauseCode: 1 Content-Length: 0
----------------------------------------------------------- ------------- tport.c:3023 tport_deliver() tport_deliver(0x7f5a04004540): msg 0x7f5a04007eb0 (489 bytes) from udp/196.207.243.108:5080/sip next=(nil) nta.c:2880 agent_recv_request() nta: received BYE sip:gw+gw_108@196.207.243.245:5080;transport=udp;gw=gw_108 SIP/2.0 (CSeq 102) nta.c:3248 agent_aliases() nta: canonizing sip:gw+gw_108@196.207.243.245: 5080 with contact nta.c:3060 agent_recv_request() nta: BYE (102) going to existing leg nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:879 nua_respond() nua: nua_respond: entering nua_stack.c:529 nua_signal() nua(0x7f599c000d40): sent signal r_respond nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering nua_stack.c:529 nua_signal() nua(0x7f599c000d40): sent signal r_destroy nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:403 soa_set_params() soa_set_params(static::0x7f5a04014610, ...) called tport.c:3257 tport_tsend() tport_tsend(0x7f5a04004540) tpn = UDP/ 196.207.243.108:5080 tport.c:4046 tport_resolve() tport_resolve addrinfo = 196.207.243.108:5080 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f5a04004540): not found by name UDP/196.207.243.108:5080
Any ideas?
Thanks ᐧ
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Mirko
participants (2)
-
David Villasmil
-
Mirko Brankovic