Hi,

I have this log_prefix:

   log_prefix="[$ci $mt] "

Which means xlog("L_INFO", "xyz") normally results in log entries like this:

Nov 22 00:29:50 allegro-4.evaristesys.com /usr/local/sbin/kamailio[27625]: [1-27702@10.150.20.6 1] INFO: xyz

But if xlog("L_INFO", "xyz") happens to occur in a route[] block that is resumed after async_route()—I have not tested other async functions—there is no prefix:

Nov 22 00:29:52 allegro-4.evaristesys.com /usr/local/sbin/kamailio[27678]: INFO: xyz

-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
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

Reply via email to