You'll also find a ton of libraries that know how to do parsing from the AMI -- see http://www.voip-info.org/wiki/view/Asterisk+manager+API.
Under "see also," you'll find links to Java and PHP libraries. There's also many examples at http://www.voip-info.org/wiki/view/Asterisk+manager+Examples. Martin Smith, Systems Developer [EMAIL PROTECTED] Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ed Nunez > Sent: Friday, May 02, 2008 3:51 PM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Subject: Re: [asterisk-users] sip show peers > > Anyone has any good ideas on how to parse the CDR events and > QUEUEs log > events from AMI connection? > > Thank you > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tilghman > Lesher > Sent: Friday, May 02, 2008 3:31 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] sip show peers > > On Friday 02 May 2008 12:35:48 Philipp Kempgen wrote: > > Yeah, sometimes it would be helpful if asterisk -rx 'command' didn't > > pretty print but instead fall back to an easily parseable output > > format (like TSV with cslashes) if stdout isn't connected to a tty > > (isatty()). > > The CLI is intended to be used by a human. If you want > machine parseable > output, I would suggest using AMI, as that's what it's meant for. > > -- > Tilghman > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > 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 -- > > 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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users