[asterisk-users] "sip set debug on" output to file only (not to console)

Mitch Claborn mitch_ml at claborn.net
Fri Mar 29 08:59:28 CDT 2013


I recently faced the same issue.  I didn't find a way in Asterisk to do 
what I wanted.

A good workaround is to use wireshark in batch mode (tshark) to trace 
traffic to the IP address you are interested in.  You should be able to 
filter it to capture only SIP traffic.


Mitch

On 03/29/2013 08:02 AM, Marie Fischer wrote:
> Hello everybody,
>
> I am trying to find an intermittent SIP error with one provider and thought the best first step would be to have "sip set debug on" for some days and check the logs.
>
> Everything gets logged nicely, but the SIP log clutters up the console quite badly. Is it possible to have SIP debug log go only to the log file and not to the console?
>
> My logger.conf:
>
> console => notice,warning,error
> messages => notice,warning,error
> full => notice,warning,error,debug,verbose,dtmf,fax
>
> On the console, I entered:
>
> core set verbose 3
> core set debug 0
> sip set debug on
>
> Thanks,
>



More information about the asterisk-users mailing list