[Asterisk-Users] sip debug > file.txt

Olle E Johansson oej at edvina.net
Thu Dec 29 04:51:47 MST 2005


Tzafrir Cohen wrote:
> On Wed, Dec 28, 2005 at 04:22:27PM -0500, Leonard Burton wrote:
> 
>>Greetings,
>>
>>How can I log the output of sip debug into a file? Obviously, #>
>>asterisk -rx "sip debug" > debug.txt did not produce the desired
>>results
> 
> 
> logger.conf ?
> 

I usually do

	asterisk -rvvvvvddddn | tee /tmp/sipdebug.txt

Then turn on sip debug on the cli. This captures everything.
You need to make sure that the debug output is sent to the console in 
logger.conf

/Olle



More information about the asterisk-users mailing list