The freeSWITCH do not send BYTE packet to other channel on hangup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The freeSWITCH do not send BYTE packet to other channel on hangup

thecuong000
This post has NOT been accepted by the mailing list yet.
This post was updated on .
When A client and B client are chatting with together, I close the A client. A client send BYTE packet to server. But Server do not forward BYTE packet to B client. I saw Error log:

..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E628D0): event r_bye 503 DNS Error

I would like to send this log. Can you give some solution for me!!!!


 ------------------------------------------------------------------------
   BYE sip:hieu@fono.one SIP/2.0
   Via: SIP/2.0/TLS 192.168.12.130:51953
   Max-Forwards: 70
   From: "" <sip:bill@fono.one>;tag=148044a37a
   To: <sip:hieu@fono.one>;tag=513322dbf7;epid=3e4f596d105c
   Call-ID: 8jGCcyOwIPAfysYAVEV68pVhe6-p70Vt
   CSeq: 4 BYE
   User-Agent: UCCAPI/16.0.4339.1000 OC/16.0.4351.1000 (Skype for Business)
   Ms-client-diagnostics: 51004; reason="Action initiated by user"
   Proxy-Authorization: NTLM qop="auth", realm="SIP Communications Service", targetname="Lync.lyn.tl", crand="872f9ae4", cnum="23", response="01000000343461333ba144da2e200953"
   Content-Length: 0
   
   ------------------------------------------------------------------------
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3023 tport_deliver() tport(04D4F660): msg 03384158 (581 bytes) from tls/192.168.12.130:51953/sips next=00000000
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:2882 agent_recv_request() nta: received BYE sip:hieu@fono.one SIP/2.0 (CSeq 4)
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:3062 agent_recv_request() nta: BYE (4) going to existing leg
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E62808): event i_bye 100 Trying
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2296 tport_set_secondary_timer() tport(04D4F660): reset timer
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2773 tport_wakeup() tport_wakeup(04D4F660): events
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [NOTICE] sofia.c:1004 Hangup sofia/internal/bill@192.168.12.130:51953 [CS_HIBERNATE] [NORMAL_CLEARING]
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:529 nua_signal() nua(02E62808): sent signal r_respond
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:573 nua_stack_signal() nua(02E62808): recv signal r_respond 200 OK
2016-10-20 13:44:45.084400 [DEBUG] sofia.c:1011  CUONGNT: sofia_private
..\..\sofia-sip\libsofia-sip-ua\soa\soa.c:403 soa_set_params() soa_set_params(static::04CA13B8, ...) called
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:529 nua_signal() nua(02E62808): sent signal r_destroy
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_ivr_bridge.c:1148 sofia/internal/bill@192.168.12.130:51953 skip receive message [UNBRIDGE] (channel is hungup already)
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/bill@192.168.12.130:51953) Running State Change CS_HANGUP
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:809 (sofia/internal/bill@192.168.12.130:51953) Callstate Change ACTIVE -> HANGUP
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/bill@192.168.12.130:51953) State HANGUP
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] mod_sofia.c:446 Channel sofia/internal/bill@192.168.12.130:51953 hanging up, cause: NORMAL_CLEARING
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3257 tport_tsend() tport_tsend(04D4F660) tpn = TLS/192.168.12.130:51953
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:534 tport_tls_send() tport_tls_writevec: vec 04B4B550 04A89368 67 (67)
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:534 tport_tls_send() tport_tls_writevec: vec 04B4B550 04A8A928 159 (159)
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:534 tport_tls_send() tport_tls_writevec: vec 04B4B550 04A893AB 429 (429)
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3594 tport_vsend() tport_vsend(04D4F660): 655 bytes of 655 to tls/192.168.12.130:51953
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3492 tport_send_msg() tport_vsend returned 655
send 655 bytes to tls/[192.168.12.130]:51953 at 06:44:45.088400:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/TLS 192.168.12.130:51953;rport=51953
   From: "" <sip:bill@fono.one>;tag=148044a37a
   To: <sip:hieu@fono.one>;tag=513322dbf7;epid=3e4f596d105c
   Call-ID: 8jGCcyOwIPAfysYAVEV68pVhe6-p70Vt
   CSeq: 4 BYE
   User-Agent: FreeSWITCH-mod_sofia/1.7.0~32bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE, SERVICE
   Supported: timer, path, replaces, adhoclist, categoryList
   Authentication-Info: NTLM qop="auth", srand="29Z7D7SP", snum="28", rspauth="010000003B3095C6B154E0AB2E200953", targetname="Lync.lyn.tl", realm="SIP Communications Service", version=4
   Content-Length: 0
   
   ------------------------------------------------------------------------
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2296 tport_set_secondary_timer() tport(04D4F660): reset timer
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:6820 incoming_reply() nta: sent 200 OK for BYE (4)
..\..\sofia-sip\libsofia-sip-ua\nua\nua_dialog.c:397 nua_dialog_usage_remove_at() nua(02E62808): removing session usage
..\..\sofia-sip\libsofia-sip-ua\nua\nua_session.c:4146 signal_call_state_change() nua(02E62808): call state changed: ready -> terminated
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E62808): event i_state 200 Session Terminated
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E62808): event i_terminated 200 Session Terminated
..\..\sofia-sip\libsofia-sip-ua\soa\soa.c:356 soa_destroy() soa_destroy(static::04CA13B8) called
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:4478 nta_leg_destroy() nta_leg_destroy(070E5AF8)
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:5767 incoming_free() nta: incoming_free(07113D38)
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:569 nua_stack_signal() nua(02E62808): recv signal r_destroy
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:4478 nta_leg_destroy() nta_leg_destroy(00000000)
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [NOTICE] switch_ivr_bridge.c:1283 Hangup sofia/internal/hieu@fono.one [CS_HIBERNATE] [NORMAL_CLEARING]
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/hieu@fono.one) Running State Change CS_HANGUP
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:60 sofia/internal/bill@192.168.12.130:51953 Standard HANGUP, cause: NORMAL_CLEARING
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/bill@192.168.12.130:51953) State HANGUP going to sleep
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/bill@192.168.12.130:51953) State Change CS_HANGUP -> CS_REPORTING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_ivr_bridge.c:1148 sofia/internal/hieu@fono.one skip receive message [UNBRIDGE] (channel is hungup already)
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:809 (sofia/internal/hieu@fono.one) Callstate Change ACTIVE -> HANGUP
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/bill@192.168.12.130:51953) Running State Change CS_REPORTING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/hieu@fono.one) State HANGUP
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/bill@192.168.12.130:51953) State REPORTING
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:174 sofia/internal/bill@192.168.12.130:51953 Standard REPORTING, cause: NORMAL_CLEARING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] mod_sofia.c:440 sofia/internal/hieu@fono.one Overriding SIP cause 480 with 200 from the other leg
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/bill@192.168.12.130:51953) State REPORTING going to sleep
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] mod_sofia.c:446 Channel sofia/internal/hieu@fono.one hanging up, cause: NORMAL_CLEARING
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/bill@192.168.12.130:51953) State Change CS_REPORTING -> CS_DESTROY
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_session.c:1646 Session 2 (sofia/internal/bill@192.168.12.130:51953) Locked, Waiting on external entities
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [NOTICE] switch_core_session.c:1664 Session 2 (sofia/internal/bill@192.168.12.130:51953) Ended
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/bill@192.168.12.130:51953 [CS_DESTROY]
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:700 (sofia/internal/bill@192.168.12.130:51953) Running State Change CS_DESTROY
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:710 (sofia/internal/bill@192.168.12.130:51953) State DESTROY
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] mod_sofia.c:342 sofia/internal/bill@192.168.12.130:51953 SOFIA DESTROY
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:181 sofia/internal/bill@192.168.12.130:51953 Standard DESTROY
d5271099-b96d-47e4-924b-bbb66bc6705b 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:710 (sofia/internal/bill@192.168.12.130:51953) State DESTROY going to sleep
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] mod_sofia.c:511 Sending BYE to sofia/internal/hieu@fono.one
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:529 nua_signal() nua(02E628D0): sent signal r_bye
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:569 nua_stack_signal() nua(02E628D0): recv signal r_bye
..\..\sofia-sip\libsofia-sip-ua\soa\soa.c:403 soa_set_params() soa_set_params(static::04CA1280, ...) called
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:60 sofia/internal/hieu@fono.one Standard HANGUP, cause: NORMAL_CLEARING
..\..\sofia-sip\libsofia-sip-ua\soa\soa.c:1784 soa_terminate() soa_terminate(static::04CA1280) called
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/hieu@fono.one) State HANGUP going to sleep
..\..\sofia-sip\libsofia-sip-ua\soa\soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::04CA1280) called
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/hieu@fono.one) State Change CS_HANGUP -> CS_REPORTING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/hieu@fono.one) Running State Change CS_REPORTING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/hieu@fono.one) State REPORTING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:174 sofia/internal/hieu@fono.one Standard REPORTING, cause: NORMAL_CLEARING
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/hieu@fono.one) State REPORTING going to sleep
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:2668 nta_tpn_by_url() nta: selecting scheme sip
..\..\sofia-sip\libsofia-sip-ua\sresolv\sres_cache.c:272 sres_cache_get() sres_cache_get(045C39E0, NAPTR, "fono.one.") called
..\..\sofia-sip\libsofia-sip-ua\sresolv\sres_cache.c:318 sres_cache_get() sres_cache_get(045C39E0, NAPTR, "fono.one.") returned 1 entries
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:10428 outgoing_query_naptr() nta: for "fono.one" query "fono.one" NAPTR (cached)
..\..\sofia-sip\libsofia-sip-ua\sresolv\sres_cache.c:272 sres_cache_get() sres_cache_get(045C39E0, SRV, "_sip._udp.fono.one.") called
..\..\sofia-sip\libsofia-sip-ua\sresolv\sres_cache.c:318 sres_cache_get() sres_cache_get(045C39E0, SRV, "_sip._udp.fono.one.") returned 1 entries
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:10628 outgoing_query_srv() nta: for "fono.one" query "_sip._udp.fono.one" SRV (cached)
..\..\sofia-sip\libsofia-sip-ua\sresolv\sres_cache.c:272 sres_cache_get() sres_cache_get(045C39E0, A, "fono.one.") called
..\..\sofia-sip\libsofia-sip-ua\sresolv\sres_cache.c:318 sres_cache_get() sres_cache_get(045C39E0, A, "fono.one.") returned 1 entries
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:10833 outgoing_query_a() nta: for "fono.one" query "fono.one" A (cached)
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/hieu@fono.one) State Change CS_REPORTING -> CS_DESTROY
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/internal/hieu@fono.one) Locked, Waiting on external entities
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:1351 set_timeout() nta: timer shortened to 5000 ms
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/internal/hieu@fono.one) Ended
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E628D0): event r_bye 503 DNS Error
54dd44d3-16d7-4798-91b8-547f6d00645f 2016-10-20 13:44:45.084400 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/hieu@fono.one [CS_DESTROY]
..\..\sofia-sip\libsofia-sip-ua\nua\nua_session.c:4146 signal_call_state_change() nua(02E628D0): call state changed: terminating -> terminated
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E628D0): event i_state 503 to BYE
..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:271 nua_stack_event() nua(02E628D0): event i_terminated 503 to BYE
..\..\sofia-sip\libsofia-sip-ua\nua\nua_dialog.c:397 nua_dialog_usage_remove_at() nua(02E628D0): removing session usage
..\..\sofia-sip\libsofia-sip-ua\soa\soa.c:356 soa_destroy() soa_destroy(static::04CA1280) called
..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:4478 nta_leg_destroy() nta_leg_destroy(0481AA88)
..\..\sofia-sip\libsofia-sip-ua\nua\nua_session.c:351 nua_session_usage_destroy() nua: terminated session 02E628D0





Best regard,
Cuong