Dear All, I'm looking for document,example for /filter command. where to get it ? BG Dome C.
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
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
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@freeswitch.org>:
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
No can do. There are better tools to do that. tshark, wireshark and all other variants can do that for you. jmesquita On Thu, Sep 10, 2009 at 3:29 AM, Dome Charoenyost <dome@tel.co.th> wrote:
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@freeswitch.org>:
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2009/9/9 João Mesquita <jmesquita@freeswitch.org>
No can do. There are better tools to do that. tshark, wireshark and all other variants can do that for you.
JM is correct here. The filter is to filter FreeSWITCH events, not log information hitting the console. I highly recommend this page for SIP traces: http://wiki.freeswitch.org/wiki/Packet_Capture -MC
João Mesquita <jmesquita@freeswitch.org> wrote:
No can do. There are better tools to do that. tshark, wireshark and all other variants can do that for you.
I would recommend learning about read filters in tshark/wireshark, which support a very flexible filtering language that is suitable for capturing SIP traffic.
participants (4)
-
Dome Charoenyost
-
Jason White
-
João Mesquita
-
Michael Collins