listening on multiple events in mod_managed
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
It appears that an event consumer can only be 1 event. You can do multiple consumers or could extend EventConsumer to support multiple event bindings. Mike On May 10, 2010, at 1:28 AM, babak yakhchali 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);
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
participants (3)
-
Anthony Minessale
-
babak yakhchali
-
Michael Jerris