This was a reasonable request, so I added a patch to HEAD to allow a new bind() method.
This takes the same arguments as the constructor and can be called multiple times on a constructed event.
In addition the constructor can now be called with no arguments, followed by many bind calls.
 


On Mon, May 10, 2010 at 12:28 AM, babak yakhchali <babak.freeswitch@gmail.com> wrote:
Hi
How is it possible to listen for maore than one type of events but not all of them something like
EventConsumer con = new EventConsumer("CUSTOM CHANNEL_DESTROY CHANNEL_HANGUP", null);
thanks

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900