[Serusers] status codes

Jan Janak jan at iptel.org
Sat Feb 19 11:54:37 CET 2005


Yes, you can create an onreply_route section and use xlog to
log whatever you want there, for example:

onreply_route[1] {
	if (t_check_status("404|200")) {
		xlog("Call-ID: %ci, To URI: %tu\n");
	};
}

And use it using t_on_reply("1");

Note that this will only record replies received from downstream,
replies generated locally by SER will not be logged.

  Jan.

On 18-02 16:08, Mik Cheez wrote:
> Is there a way to log status codes in SER?
> 
> I would like to report the following types of info:
> 
> SIP/2.0 404 Not Found
> SIP/2.0 200 OK
> 
> In addition perhaps the callerid, uri, etc.
> 
> :M
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list