Hi everybody, I want to read to debug messages and try to interpret them but they happen too fast, how can I log these guys to a file, or is there a file like this already? I checked the /var/log/asterisk but there isn't much interesting there yet? How can i turn on logging for SIP,IAX and other things? Thanks, Umut
Martin Pycko
2003-Jun-22 10:50 UTC
[Asterisk-Users] How can I log SIP debug messages to a file?
asterisk -vvvcn | tee /tmp/log CLI> sip debug CLI> stop now or script asterisk -vvvcn CLI> sip debug CLI> stop now shell> exit Martin On Sun, 22 Jun 2003, destan wrote:> Hi everybody, > I want to read to debug messages and try to interpret them but they happen > too fast, how can I log these guys to a file, or is there a file like this > already? > I checked the /var/log/asterisk but there isn't much interesting there yet? > How can i turn on logging for SIP,IAX and other things? > Thanks, > Umut > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Ryan Tucker
2003-Jun-23 12:48 UTC
[Asterisk-Users] How can I log SIP debug messages to a file?
On Sun, 22 Jun 2003 12:59:09 +0300, destan <destan@kablonet.com.tr> wrote:> I want to read to debug messages and try to interpret them but they > happen too fast, how can I log these guys to a file, or is there a file > like this already?Greetings... There's a program called "script" which will spawn a new shell, and log everything that goes on in it. It produces a file, called "typescript". It's a really handy command. Also, depending on how you're accessing the server, your terminal program might have something to offer.> I checked the /var/log/asterisk but there isn't much interesting there > yet? How can i turn on logging for SIP,IAX and other things?sip debug iax debug etc, etc. And then "sip no debug", "iax no debug", etc, to turn it off. - rt -- Ryan Tucker Network Engineer NetAccess, Inc. 1159 Pittsford-Victor Road Bldg. 5, Suite 140 Pittsford, New York 14534 585-419-8200 www.netacc.net