[sr-dev] [kamailio] cnxcc: fails to send BYE to websocket-connected call-leg (#85)

Andrey Utkin notifications at github.com
Fri Feb 13 21:44:17 CET 2015


@caruizdiaz sorry for that stupid comment :) Would be very interesting to check your updated config, and thank you for the config you have already shared.

Thanks a lot @miconda! Now it works.
```
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: cnxcc [cnxcc_mod.c:967]: terminate_call(): Got kill signal for call [ut5OuRS9cO] client [customer_name] h_id [66] h_entry [1881]. Dropping it now
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_req_within.c:492]: mi_terminate_dlg(): h_entry 1881 h_id 66
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_hash.c:633]: dlg_lookup(): ref dlg 0x7f3490150928 with 1 -> 3
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_hash.c:635]: dlg_lookup(): dialog id=66 found on entry 1881
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [dset.c:892]: uri_restore_rcv_alias(): decoded <sip:1000 at 195.138.73.151:1904;alias=195.138.73.151~1904~1> => [sip:1000 at 195.138.73.151:1904] [sip:195.138.73.151:1904]
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_req_within.c:347]: send_bye(): sending BYE to caller
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: tm [uac.c:249]: t_uac_prepare(): DEBUG:tm:t_uac: next_hop=<sip:195.138.73.151:1904>
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: tm [uac.c:150]: dlg2hash(): DEBUG: dlg2hash: 63376
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_req_within.c:380]: send_bye(): BYE sent to caller
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [dset.c:892]: uri_restore_rcv_alias(): decoded <sip:sqvnd5ke at 3nk2afm1fqss.invalid;transport=ws;alias=195.138.73.151~19101~5> => [sip:sqvnd5ke at 3nk2afm1fqss.invalid;transport=ws] [sip:195.138.73.151:19101;transport=ws]
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_req_within.c:347]: send_bye(): sending BYE to callee
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: tm [uac.c:249]: t_uac_prepare(): DEBUG:tm:t_uac: next_hop=<sip:195.138.73.151:19101;transport=ws>
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: tm [uac.c:150]: dlg2hash(): DEBUG: dlg2hash: 11225
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_conn.c:431]: wsconn_get(): wsconn_get for id [3]
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_conn.c:439]: wsconn_get(): wsconn_get returns wsc [0x7f349014ee30] refcnt [2]
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_frame.c:753]: ws_frame_transmit(): Tx message:#012BYE sip:sqvnd5ke at 3nk2afm1fqss.invalid;transport=ws SIP/2.0#015#012Via: SIP/2.0/WS  vmwrtc.intersog.com:10060;branch=z9hG4bK9db2.48d55d64000000000000000000000000.0#015#012To: <sip:1001 at vmwrtc.intersog.com>;tag=3b2vk2bh7k#015#012From: <sip:1000 at vmwrtc.intersog.com>;tag=cSuHqPRcg#015#012CSeq: 21 BYE#015#012Call-ID: ut5OuRS9cO#015#012Content-Length: 0#015#012User-Agent: kamailio (4.3.0-dev4 (x86_64/linux))#015#012Max-Forwards: 70#015#012#015#012
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_frame.c:152]: encode_and_send_ws_frame(): encoding WebSocket frame
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_frame.c:183]: encode_and_send_ws_frame(): supported non-control frame: 0x1
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [tcp_main.c:2208]: tcpconn_send_put(): tcp connection found (0x7f3490135400), acquiring fd
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15937]: DEBUG: <core> [tcp_main.c:3473]: handle_ser_child(): read response= 7f3490135400, 2, fd -1 from 11 (15922)
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [tcp_main.c:2218]: tcpconn_send_put(): c=0x7f3490135400, n=16
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [tcp_main.c:2248]: tcpconn_send_put(): after receive_fd: c= 0x7f3490135400 n=8 fd=10
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [tcp_main.c:2427]: tcpconn_do_send(): sending...
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [tcp_main.c:2461]: tcpconn_do_send(): after real write: c= 0x7f3490135400 n=389 fd=10
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: <core> [tcp_main.c:2462]: tcpconn_do_send(): buf=#012<81>~#001<81>BYE sip:sqvnd5ke at 3nk2afm1fqss.invalid;transport=ws SIP/2.0#015#012Via: SIP/2.0/WS  vmwrtc.intersog.com:10060;branch=z9hG4bK9db2.48d55d64000000000000000000000000.0#015#012To: <sip:1001 at vmwrtc.intersog.com>;tag=3b2vk2bh7k#015#012From: <sip:1000 at vmwrtc.intersog.com>;tag=cSuHqPRcg#015#012CSeq: 21 BYE#015#012Call-ID: ut5OuRS9cO#015#012Content-Length: 0#015#012User-Agent: kamailio (4.3.0-dev4 (x86_64/linux))#015#012Max-Forwards: 70#015#012#015#012
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_conn.c:384]: wsconn_put(): wsconn_put start for [0x7f349014ee30] refcnt [2]
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: websocket [ws_conn.c:417]: wsconn_put(): wsconn_put end for [0x7f349014ee30] refcnt [1]
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_req_within.c:380]: send_bye(): BYE sent to callee
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: dialog [dlg_hash.c:851]: dlg_unref(): unref dlg 0x7f3490150928 with 1 -> 2
Feb 13 20:40:40 vmwrtc /usr/local/sbin/kamailio[15922]: DEBUG: cnxcc [cnxcc_mod.c:1005]: terminate_call(): dlg_end_dlg sent to call [ut5OuRS9cO]
```

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/85#issuecomment-74323720
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150213/25082a43/attachment-0001.html>


More information about the sr-dev mailing list