Re: [Asterisk-Users] SIP debug logs
Debuuging SIP to a file: asterisk -c | tee /tmp/sipdebug.log then turn on 'sip debug' at the CLI /O ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] SIP debug logs
This strikes me as something that should be really very simple to do, but I can't figure it out. Is there a way of logging all SIP debuging info to a file somewhere? It would help me greatly! Cheers, Steve -- Steve Foy| http://www.unite.net UNITE Solutions | Tel: 028 9077 7338 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SIP debug logs
Steve Foy wrote: This strikes me as something that should be really very simple to do, but I can't figure it out. Is there a way of logging all SIP debuging info to a file somewhere? It would help me greatly! I dont know if it's possible using asterisk. You can use the command 'script -a filename' that will record everything at the prompt. Geert ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] SIP debug logs
Or you could modify the logger and have all SIP messages set at a different log level and have them go to a file (/var/log/messages/sip) for example. Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Nijpels Sent: Tuesday, February 03, 2004 11:38 AM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] SIP debug logs Steve Foy wrote: This strikes me as something that should be really very simple to do, but I can't figure it out. Is there a way of logging all SIP debuging info to a file somewhere? It would help me greatly! I dont know if it's possible using asterisk. You can use the command 'script -a filename' that will record everything at the prompt. Geert ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. -- ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SIP debug logs
This strikes me as something that should be really very simple to do, but I can't figure it out. Is there a way of logging all SIP debuging info to a file somewhere? It would help me greatly! Might take a look at /etc/asterisk/logger.conf file to see if that's what you're looking for. Seems to me I added the debug level some time ago to diagnose a specific problem, and the /var/log/asterisk/debug log file grew large very quickly and included a ton of detail. ; Logging Configuration ; [logfiles] ; ; Format is filename and then levels of debugging to be included: ;debug ;notice ;warning ;error ; ; Special filename console represents the system console ; ; debug = debug console = notice,warning,error messages = notice,warning,error Rich ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SIP debug logs
Steve == Steve Foy [EMAIL PROTECTED] writes: Steve Is there a way of logging all SIP debuging info to a file Steve somewhere? Use tethereal or tcpdump to log sip (and/or rtp/rtcp) packets to a pcap file, then use ethereal (presumably on a different box) to view them. -JimC ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] SIP debug logs
When troubleshooting, I'll often tcpdump -s 0 -w filename.cap -p host (ipaddressofphone) To capture the entire contents of all packets from or to ipaddressofphone non-promiscuously to filename.cap. Since my workstation is Win*, I have to sz to move the capture over to my desktop and then open it in Ethereal. This is really helpful when you are working with NAT issues. I.e. some netgear boxes badger up UDP checksums, and this is the easy way to see it. -ejay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James H. Cloos Jr. Sent: Tuesday, February 03, 2004 10:47 AM To: Asterisk-Users Subject: Re: [Asterisk-Users] SIP debug logs Steve == Steve Foy [EMAIL PROTECTED] writes: Steve Is there a way of logging all SIP debuging info to a file Steve somewhere? Use tethereal or tcpdump to log sip (and/or rtp/rtcp) packets to a pcap file, then use ethereal (presumably on a different box) to view them. -JimC ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users