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

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 4 11:29:52 CEST 2018


Can you list the tcp connections via rpc and see if the one you expect
to be closed is still listed there?

I haven't added the feature and not used it so far, but it might be the
cleanup timer routing for tcp connections that trigger the event route.

Cheers,
Daniel


On 04.09.18 11:07, Juha Heinanen wrote:
> Based on comment:
>
>   https://github.com/kamailio/kamailio/issues/171#issuecomment-418175840
>
> I gave event_route [tcp:closed] a try:
>
> event_route [tcp:closed] {  # Handle TCP connection close
>     xlog("L_INFO", "$proto connection closed ($conid)\n");
> }
>
> Nothing comes to syslog when I quit my baresip UA that according to
> wireshark closes its TCP connection after un-registration (fin - fin -
> ack).
>
> I have not set closed_event param, because according to README, it
> defaults to 1.
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com




More information about the sr-users mailing list