Eugene Prokopiev
2007-Jul-05 04:09 UTC
[asterisk-users] Asterisk console filtering and logging
Hi, Is it possible to filter messages on asterisk console, which was started with -vvvv, to see messages only for one extensions? By default there are all messages for any extensions displayed so dialplan debuging is very difficult. Is it possible to log such console messages: ... -- Executing Set("SIP/10.0.0.1-0061f5d0", "CDR(userfield)=2422718") -- Executing Dial("SIP/10.0.0.1-0061f5d0", "SIP/708,25,tT") ... to file. I can't find any suitable option in logger.conf -- Thanks, Eugene Prokopiev
Jaswinder Singh
2007-Jul-05 06:30 UTC
[asterisk-users] Asterisk console filtering and logging
This feature would be really great but i dont think asterisk supports it . It either shows dialplan execution of all extensions when verbosity is increased or of none when set to 0 . You can set verbose 0 and sip debug a single peer but you cant enable dialplan execution viewing for single extension/peer ( please correct me if i am wrong ). Regards, Jaswinder Singh. On 05/07/07, Eugene Prokopiev <prokopiev at stc.donpac.ru> wrote:> > Hi, > > Is it possible to filter messages on asterisk console, which was started > with -vvvv, to see messages only for one extensions? By default there > are all messages for any extensions displayed so dialplan debuging is > very difficult. > > Is it possible to log such console messages: > > ... > -- Executing Set("SIP/10.0.0.1-0061f5d0", "CDR(userfield)=2422718") > -- Executing Dial("SIP/10.0.0.1-0061f5d0", "SIP/708,25,tT") > ... > > to file. I can't find any suitable option in logger.conf > > -- > Thanks, > Eugene Prokopiev > > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070705/a9d93687/attachment.htm
Tzafrir Cohen
2007-Jul-05 09:31 UTC
[asterisk-users] Asterisk console filtering and logging
On Thu, Jul 05, 2007 at 08:09:32AM +0400, Eugene Prokopiev wrote:> Hi, > > Is it possible to filter messages on asterisk console, which was started > with -vvvv, to see messages only for one extensions? By default there > are all messages for any extensions displayed so dialplan debuging is > very difficult.tail -f /var/log/asterisk/full | grep whatever or egrep. Or get your favorite log watcher program.> > Is it possible to log such console messages: > > ... > -- Executing Set("SIP/10.0.0.1-0061f5d0", "CDR(userfield)=2422718") > -- Executing Dial("SIP/10.0.0.1-0061f5d0", "SIP/708,25,tT") > ... > > to file. I can't find any suitable option in logger.confThere are many excellent log watcher pograms which do essentially what I described above. -- 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