[Freeswitch-users] filter in fs_cli

Dome Charoenyost dome at tel.co.th
Wed Sep 9 23:29:45 PDT 2009


How to use filter with sofia trace on ?
Like  Asterisk we can debug sip by

sip set debug ip xx.xx.xx.xx.

BG

Dome C.

2009/9/10 Michael Collins <msc at freeswitch.org>:
>
>
> On Wed, Sep 9, 2009 at 1:36 PM, Michael Collins <msc at freeswitch.org> wrote:
>>
>>
>> On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost <dome at tel.co.th> wrote:
>>>
>>> Dear All,
>>>            I'm looking for document,example for /filter command.
>>> where to get it ?
>>
>> This is a handy way to add filters to what you see on the fs_cli. Event
>> sockets allow for filters and the "/filter" command lets you add them to
>> your fs_cli session.
>>
>> Check this page for specifics:
>> http://wiki.freeswitch.org/wiki/Mod_event_socket#filter
>>
>> -MC
>>
>
> Also, I forgot to mention that this is used in conjunction with the "/event'
> command. Open fs_cli and execute these commands:
>
> /log 0
> /event plain all
>
> At this point you will get no log messages and just events. Now you can
> filter them as needed. Example:
>
> /filter Event-Name CHANNEL_EXECUTE
>
> Have fun!
> -MC
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>




More information about the FreeSWITCH-users mailing list