[asterisk-dev] CLI filtering

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jan 18 13:57:12 MST 2007


On Thu, Jan 18, 2007 at 12:02:02PM -0700, Marc Blanchet wrote:
> Le 07-01-18 à 11:43, Colin Anderson a écrit :
> 
> > > Since a couple of days i had a really big project in head, this  
> >is all about CLI filtering.
> >
> > asterisk -r | grep SIP/101 works for me.

Or better:

tail -f -n1 /var/log/asterisk/customlog | grep whatever

> 
> but if you are looking at sip debug lines to debug sip headers, then  
> your suggested command won't show you all the sip headers.

So this is the problem that should be fixed, right? proper logging.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list