Tzafrir Cohen wrote:
> 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.conf
>>
>
> There are many excellent log watcher pograms which do essentially what I
> described above.
>
>
To filter console messages you can use "asterisk -r | grep -A 2 -B 2
'interesting stuff'"
_______________________________________________
--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