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 Thanks, -- Leonard Burton, N9URK leonardburton@gmail.com "You must understand, if you are on a plane you must behave yourself." "The prolonged evacuation would have dramatically affected the survivability of the occupants."
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 > resultslogger.conf ? -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
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