Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] filter in fs_cli


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Wed Sep 09, 2009 12:26 pm    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

Dear All,
I'm looking for document,example for /filter command.
where to get it ?

BG

Dome C.

_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Sep 09, 2009 3:45 pm    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost <dome@tel.co.th (dome@tel.co.th)> wrote:
Quote:
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Sep 09, 2009 3:48 pm    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

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


On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost <dome@tel.co.th (dome@tel.co.th)> wrote:
Quote:
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
Back to top
dome at tel.co.th
Guest





PostPosted: Thu Sep 10, 2009 1:48 am    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

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>:
Quote:


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


On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost <dome@tel.co.th> wrote:
Quote:

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
Back to top
jmesquita at freeswitc...
Guest





PostPosted: Thu Sep 10, 2009 2:08 am    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

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 (dome@tel.co.th)> wrote:
Quote:
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 (msc@freeswitch.org)>:

Quote:


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


On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost <dome@tel.co.th (dome@tel.co.th)> wrote:
Quote:

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




Quote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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


Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Sep 10, 2009 2:34 am    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

2009/9/9 João Mesquita <jmesquita@freeswitch.org (jmesquita@freeswitch.org)>
Quote:
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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Thu Sep 10, 2009 3:00 am    Post subject: [Freeswitch-users] filter in fs_cli Reply with quote

João Mesquita <jmesquita@freeswitch.org> wrote:
Quote:
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.


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services