<p><br>
On Jun 13, 2013 3:46 AM, "Vincent Xia" <<a href="mailto:gmangudai@gmail.com">gmangudai@gmail.com</a>> wrote:<br>
><br>
> 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.</p>
<p>Just an FYI: you can add as many filters as you wish. Enabling a second filter does not remove the first. You can add and delete filters as needed.</p>
<p>-MC</p>
<p>><br>
><br>
> 2013/6/13 Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
>><br>
>><br>
>><br>
>><br>
>> On Wed, Jun 12, 2013 at 6:33 PM, Vincent Xia <<a href="mailto:gmangudai@gmail.com">gmangudai@gmail.com</a>> wrote:<br>
>>><br>
>>> it's said at <a href="http://wiki.freeswitch.org/wiki/Mod_event_socket">http://wiki.freeswitch.org/wiki/Mod_event_socket</a> that<br>
>>><br>
>>> "event" command is to<br>
>>> Enable or disable events by class or all (plain or xml or json output format) <br>
>>> usage is: event plain <list of events to log or all for all> <br>
>>><br>
>>> but i didn't see any description on how to DISABLE events by class or all,<br>
>>> 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.)<br>
>><br>
>><br>
>> 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.)<br>
>><br>
>> Let us know if that works.<br>
>> -MC<br>
>><br>
>>><br>
>>> BR<br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>> <a href="http://www.cudatel.com">http://www.cudatel.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>><br>
>><br>
>><br>
>><br>
>> -- <br>
>> Michael S Collins<br>
>> Twitter: @mercutioviz<br>
>> <a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><br>
>> <a href="http://www.ClueCon.com">http://www.ClueCon.com</a><br>
>> <a href="http://www.OSTAG.org">http://www.OSTAG.org</a><br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
>><br>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>> <a href="http://www.cudatel.com">http://www.cudatel.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><br>
</p>