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,


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to