[SR-Users] log reply message number
Brandon Armstead
brandon at cryy.com
Wed May 15 20:08:55 CEST 2013
Are you firing t_on_reply? Is it being called?
Sent from my iPhone
On May 15, 2013, at 11:04 AM, Robert R <rob1485 at gmail.com> wrote:
> Hi,
>
> I am trying to add a log when receiving 1xx or 2xx reply message:
>
> # manage incoming replies
> onreply_route[MANAGE_REPLY] {
> xdbg("incoming reply\n");
> if(status=~"[12][0-9][0-9]")
> {
> xlog("L_INFO","reply message: $T_reply_code ci:$ci");
> route(NATMANAGE);
> }
> }
>
>
> Adding the above line does not log the reply message number (180 or 183 or 200, ...).
>
> Thanks,
> R
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130515/276666e2/attachment-0001.html>
More information about the sr-users
mailing list