[Asterisk-Users] sip debug > file.txt

Olle E Johansson oej at edvina.net
Fri Dec 30 02:52:59 MST 2005


Tzafrir Cohen wrote:
> On Thu, Dec 29, 2005 at 12:51:47PM +0100, Olle E Johansson wrote:
> 
> 
>>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
> 
> 
> script(1) would have given you something rather equivalent. However you
> still get bad escape sequences to filter out.
> 
> Getting that from the logger is probably better.
> 
The "n" disables the ANSI codes...

/O



More information about the asterisk-users mailing list