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.
2010/10/30 Sergey Okhapkin sos@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".