Hello,
thanks for troubleshooting and patch -- it is now in master branch.
Cheers,
Daniel
On 11/3/13 5:14 PM, Sergey Okhapkin wrote:
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(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
- more details about Kamailio trainings at
http://www.asipto.com -