loadmodule "timer.so"
modparam("timer", "declare_timer", "MYTIMER=SHUTDOWN,5000,slow,enable");
route[SHUTDOWN] {
xlog("system shutdown: $sht(graceful_shutdown=>shutdown)\n");
}
But after restarting the Kamailio, I keep on getting parsing errors in every 5 sec and my route "SHUTDOWN" never get called.
Which means timer is getting called in every 5 sec but not able to call the route.
Could you please help me with this why these parsing errors coming?
am I missing some arguments here?
Kamailio Version: 5.5.X.
Errors:
Sep 23 15:29:31 N1VL-PA-SIP01 /usr/local/kamailio-5.5/sbin/kamailio[9907]: ERROR: <core> [core/parser/msg_parser.c:748]: parse_msg(): ERROR: parse_msg: message=<GET /timer HTTP/0.9#012#012>Sep 23 15:29:31 N1VL-PA-SIP01 /usr/local/kamailio-5.5/sbin/kamailio[9907]: ERROR: timer [timer.c:204]: timer_handler(): parse msg failedSep 23 15:29:36 N1VL-PA-SIP01 /usr/local/kamailio-5.5/sbin/kamailio[9907]: ERROR: <core> [core/parser/msg_parser.c:748]: parse_msg(): ERROR: parse_msg: message=<GET /timer HTTP/0.9#012#012>Sep 23 15:29:36 N1VL-PA-SIP01 /usr/local/kamailio-5.5/sbin/kamailio[9907]: ERROR: timer [timer.c:204]: timer_handler(): parse msg failed
Surabhi Garg
Mobile - 91 783 888 7523