On Wed, Sep 9, 2009 at 1:36 PM, Michael Collins <msc@freeswitch.org> wrote:


On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost <dome@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