On Tue, Sep 05, 2006 at 09:56:57PM +0200, Olivier Saulnier wrote: > Hello, > > I would like for some reasons, catch the ring event since Asterisk, in > real-time. Is this information record in a database? How can I read it, > immediatly? > I either think to catch the information by a little shell script as: > asterisk -r |tail -1|grep ring|awk ... and redirect the internal number > to an application fir process? > Do you see a best way to do that??
tail -f /var/log/asterisk/full | grep whatever However a mor robust way would be to use the manager interface. -- Tzafrir Cohen sip:[EMAIL PROTECTED] icq#16849755 iax:[EMAIL PROTECTED] +972-50-7952406 jabber:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.xorcom.com _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
