[OpenSIPS-Users] How to see SIP messages in the log ?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Wed May 31 14:51:12 EDT 2017


Hi John.


This hint was very helpful!

Thanks all of you.


Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


________________________________
De: John Quick <john.quick at smartvox.co.uk>
Enviado: quarta-feira, 31 de maio de 2017 11:41
Para: users at lists.opensips.org
Cc: Rodrigo Pimenta Carvalho
Assunto: Re: [OpenSIPS-Users] How to see SIP messages in the log ?

Hi Rodrigo,

I use $mb to show the whole SIP request in the logs. I think it will also
work for TLS.
For example:
xlog("L_WARN", "SIP Message: $mb");

The formatting is untidy because new line is shown as #015#012, but this
would be easy to fix using standard Linux tools.

John Quick
Smartvox Limited


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170531/c68c9a68/attachment.html>


More information about the Users mailing list