Hello,

probably the reference to the current processed message is not set in
this case -- iirc, it was added for receive events. I will try to fix
it. Maybe you can open an issue on tracker, not to forget about it.

Cheers,
Daniel

On 22/11/2016 06:17, Alex Balashov wrote:
> 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
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.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