[Freeswitch-users] how to DISABLE events by class or all

Vincent Xia gmangudai at gmail.com
Thu Jun 13 14:37:59 MSD 2013


hmm... filter looks more like "enable one, disable others", what i want is
"disable one, enable others", i read through the wiki and find that
"nixevent" could be an option and i tested it and found it works. anyway
thanks a lot Michael.


2013/6/13 Michael Collins <msc at freeswitch.org>

>
>
>
> On Wed, Jun 12, 2013 at 6:33 PM, Vincent Xia <gmangudai at gmail.com> wrote:
>
>> it's said at http://wiki.freeswitch.org/wiki/Mod_event_socket that
>>
>> "event" command is to
>> Enable or disable events by class or all (plain or xml or json output
>> format)
>> usage is: event plain <list of events to log or all for all>
>>
>> but i didn't see any description on how to DISABLE events by class or all,
>> how can this be done? (noevents will disable all events, but i just want
>> to disable a certain type of events that had been previously subscribed.)
>>
>
> I think in this case you'll need to use the filter and filter delete
> commands. Start with event plain all and then add the filters for what you
> want to see. (Remember that these filters are a "filter in" not a "filter
> out" - see the FreeSWITCH Cookbook Chapter 4, recipe "Filtering Events" for
> a deeper discussion.)
>
> Let us know if that works.
> -MC
>
>
>> BR
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130613/af140905/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list