[SR-Users] How to log local SIP replies?

Iñaki Baz Castillo ibc at aliax.net
Sat Oct 30 20:02:13 CEST 2010


2010/10/30 Sergey Okhapkin <sos at sokhapkin.dyndns.org>:
> Is there a way to log local replies sent by kamailio? For example, I want to
> log a reply sent by kamailio in response to REGISTER request.

What do you mean with "log"? You can use "xlog" function in the script
when the response is sent. You can evaluate the return code of the
"xxxx_authorize()" call. If it's negative you know that the registrar
will reply a 401/407 so you can log it with "xlog".


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list