Here is the fix. diff --git a/modules/sl/sl_funcs.c b/modules/sl/sl_funcs.c index fd19e1c..c642249 100644 --- a/modules/sl/sl_funcs.c +++ b/modules/sl/sl_funcs.c @@ -90,7 +90,7 @@ void sl_lookup_event_routes(void) _sl_evrt_local_response = route_lookup(&event_rt, "sl:local- response"); if (_sl_evrt_local_response>=0 - && event_rt.rlist[_sl_evrt_local_response]!=NULL) + && event_rt.rlist[_sl_evrt_local_response]==NULL) _sl_evrt_local_response = -1; }
On Saturday 02 November 2013 19:08:04 Sergey Okhapkin wrote: > I just upgraded one server to latest git (version: kamailio 4.1.0-pre0 > (x86_64/linux) 26fa46-dirty), sl:local-response route is no longer executed. > I have in kamailio.cfg > > event_route[sl:local-response] { > xlog("L_INFO","Local response\n$mb\n"); > } > > No local responses are logged in kamailio log file. It was working fine in > kamailio 4.1.0-dev7 (x86_64/linux) b2a536-dirty > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users