Hello, When debugging SIP in Asterisk is it possible to send the SIP debug log to a specific file instead of the general log file, or even better, send each call into its own file for easier analysis? Thanks, Elliot
You can use something like this: tail -f /var/log/asterisk/full | egrep --color -w 'chan_sip.*SIP/911|pbx.*SIP/911' > debug_output 2011/8/3 Elliot Murdock <murdocke at gmail.com>> Hello, > > When debugging SIP in Asterisk is it possible to send the SIP debug > log to a specific file instead of the general log file, or even > better, send each call into its own file for easier analysis? > > Thanks, > Elliot > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110804/15bed7e4/attachment.htm>
Elliot, I am installing by default wireshark/thark on my asterisk machines. This allows to do protocol traces from the linux commandline and to store the traces into a file. You can find more information at www.wireshark.org Henk Elliot Murdock schreef:> Hello, > > When debugging SIP in Asterisk is it possible to send the SIP debug > log to a specific file instead of the general log file, or even > better, send each call into its own file for easier analysis? > > Thanks, > Elliot > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >