[SR-Users] event_route [tcp:closed] not executed

Juha Heinanen jh at tutpro.com
Tue Sep 4 13:18:27 CEST 2018


I loaded tcpops module but still nothing to syslog from:

  event_route [tcp:close]

Debug (below) now shows this:

Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: tcpops [tcpops.c:233]: tcpops_handle_tcp_closed(): received TCP closed event
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: tcpops [tcpops.c:207]: tcpops_tcp_closed_run_route(): event reason id: 0 rt: 10

-- Juha

----------------------

Sep  4 14:07:41 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_main.c:2225]: tcpconn_send_put(): send from reader (6487 (27)), reusing fd
Sep  4 14:07:41 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_main.c:2460]: tcpconn_do_send(): sending...
Sep  4 14:07:41 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_main.c:2494]: tcpconn_do_send(): after real write: c= 0x7f7fad11ed00 n=779 fd=12
Sep  4 14:07:41 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_main.c:2495]: tcpconn_do_send(): buf=#012SIP/2.0 200 OK ...
Sep  4 14:07:41 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/receive.c:345]: receive_msg(): request-route executed in: 90073 usec
Sep  4 14:07:41 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/receive.c:449]: receive_msg(): cleaning up
Sep  4 14:07:47 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/io_wait.h:602]: io_watch_del(): DBG: io_watch_del (0x558dca3d4f40, 12, -1, 0x10) fd_no=2 called
Sep  4 14:07:47 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:1661]: release_tcpconn(): releasing con 0x7f7fad11ed00, state 1, fd=12, id=4 ([192.168.43.107]:44522 -> [192.168.43.107]:5060)
Sep  4 14:07:47 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:1665]: release_tcpconn(): extra_data (nil)
Sep  4 14:07:47 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/tcp_main.c:3307]: handle_tcp_child(): reader response= 7f7fad11ed00, 1 from 0
Sep  4 14:07:47 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/io_wait.h:380]: io_watch_add(): DBG: io_watch_add(0x558dca38bd40, 68, 2, 0x7f7fad11ed00), fd_no=56
Sep  4 14:07:47 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/tcp_main.c:3434]: handle_tcp_child(): CONN_RELEASE  0x7f7fad11ed00 refcnt= 1
Sep  4 14:07:52 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/io_wait.h:602]: io_watch_del(): DBG: io_watch_del (0x558dca38bd40, 68, -1, 0x0) fd_no=57 called
Sep  4 14:07:52 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/tcp_main.c:4196]: handle_tcpconn_ev(): sending to child, events 2001
Sep  4 14:07:52 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/tcp_main.c:3847]: send2child(): checking per-socket generic workers (6487/27..6507/34) [tcp:192.168.43.107:5060]
Sep  4 14:07:52 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/tcp_main.c:3875]: send2child(): selected tcp worker 0 27(6487) for activity on [tcp:192.168.43.107:5060], 0x7f7fad11ed00
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:1740]: handle_io(): received n=8 con=0x7f7fad11ed00, fd=12
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:198]: tcp_emit_closed_event(): TCP closed event creation triggered (reason: 0)
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: tcpops [tcpops.c:233]: tcpops_handle_tcp_closed(): received TCP closed event
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: tcpops [tcpops.c:207]: tcpops_tcp_closed_run_route(): event reason id: 0 rt: 10
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/action.c:1554]: run_actions(): null action list (rec_level=1)
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:315]: tcp_read_data(): EOF on 0x7f7fad11ed00, FD 12 ([192.168.43.107]:44522 ->
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:316]: tcp_read_data(): -> [192.168.43.107]:5060)
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:1507]: tcp_read_req(): EOF
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:1661]: release_tcpconn(): releasing con 0x7f7fad11ed00, state -1, fd=12, id=4 ([192.168.43.107]:44522 -> [192.168.43.107]:5060)
Sep  4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: <core> [core/tcp_read.c:1665]: release_tcpconn(): extra_data (nil)
Sep  4 14:07:52 char /usr/bin/sip-proxy[6529]: DEBUG: <core> [core/tcp_main.c:3307]: handle_tcp_child(): reader response= 7f7fad11ed00, -1 from 0




More information about the sr-users mailing list