I ended up writing a basic parsing script that lets me search the full log, based on some unique identifier (eg, my own extension "vlog 2027"). It then digs out the associated A*k log number for each line that's it, and lists them out. Then I choose the 'call' and it re-filters by that call only. Its not perfect, as asterisk rolls log numbers over, but works well enough if I want to dig out just the logs for one call.
Its not automated in any way though, I just use it for manual debugging. Thanks, Adrian From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas Sent: 24 August 2012 14:17 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Log faulty calls? Actually, you could look for WARNING or ERROR and probably find what you needed. From: asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com> [mailto:asterisk-users-boun...@lists.digium.com]<mailto:[mailto:asterisk-users-boun...@lists.digium.com]> On Behalf Of Stefan at WPF Sent: Friday, August 24, 2012 8:14 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Log faulty calls? Thank you Danny, but the problem is that I don't know what exactly I shall look for. I think there's no specific word in the log that clearly identifies this kind of problem? ): 2012/8/24 Danny Nicholas <da...@debsinc.com<mailto:da...@debsinc.com>> Not the best solution, but you could do a "quick and dirty" crawler to query /var/log/asterisk/full in PHP or PERL or your language of choice. Even in a 4K-5K calls per day environment this process usually takes less than 1 minute to run. From: asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com> [mailto:asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>] On Behalf Of Stefan at WPF Sent: Friday, August 24, 2012 7:43 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Log faulty calls? If somebody is calling me using a wrong configured SIP phone, he gets back an error message from my Asterisk server. That's ok, however I'd also like to know that I missed a call. However there's no CDR entry created in that case and checking the asterisk logs manually is not that great... Any way to get CDR records (or any other way of noticing it) even if a call gets declined through to a wrong configured sip phone? Thanks and best regards Stefan -- _____________________________________________________________________ -- 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
-- _____________________________________________________________________ -- 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