[Asterisk-Users] SIP debug logging

Olle E Johansson oej at edvina.net
Tue Jul 4 01:00:30 MST 2006


>
> i am trying to sort out an issue with my SIP provider (I can make
> outgoing calls but am not recieving calls) and have been trying to use
> "sip debug" from the CLI. I am after a way to get these debug messages
> into a file (I find it easier to go over a file than having to deal  
> with
> all the re-register messages flying by the screen). I have tried  
> setting
> the debug field in logger.conf, but this doesn't seem to be doing  
> what I
> want. Is there an easy way to have these messages going into a file?
>
I find that the easiest way is to connect to asterisk like this:

asterisk -rnvvvvdddd | tee /tmp/asterisk-debug

The "n" will remove some ascii color codes. You might want to add a  
"g" as
well to force core files if Asterisk crashes.

/o

---
* Olle E. Johansson - oej at edvina.net
* Asterisk Training http://edvina.net/training/






More information about the asterisk-users mailing list