[SR-Users] event_route[usrloc:contact-expired]

YASIN CANER caner_yaso at hotmail.com
Thu Jan 17 16:37:38 CET 2019


could you check debug level is enough to write logs? Probably it is debug=2


Best Regards


tutorials:debug-syslog-messages - Kamailio (OpenSER) Wiki<https://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages>
Authors of initial tutorial: Daniel-Constantin Mierla <miconda (at) gmail.com> Elena-Ramona Modroiu <ramona (at) asipto.com> Abstract Tutorial about how to print debug and syslog messages with Kamailio (OpenSER) SIP Server.

From: sr-users <sr-users-bounces at lists.kamailio.org> on behalf of Javier Valencia <jv at voiper.es>
Sent: Thursday, January 17, 2019 6:33 PM
To: sr-users at lists.kamailio.org
Subject: [SR-Users] event_route[usrloc:contact-expired]

Hi there!

I'm using Kamailio 4.4.3, and I add this code to my Kamailio:

event_route[usrloc:contact-expired] {

    xlog("L_INFO", "EXPIRED CONTACT for $ulc(exp=>aor)\n");
    xlog("L_INFO", "EXPIRED CONTACT END\n");

I can't see this entries in the log.

I read many times the docs and code, but I don't understand why it's not working.

I have two phone with 60 and 300 expiry seconds, if then expire, when it's event_route[usrloc:contact-expired] triggered?

Why this event route it's named as usrloc but it's documented in registrar module?

I need to provide more info about?

Thank you very much.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190117/cc4454e6/attachment.html>

More information about the sr-users mailing list