Niall: I am really new to FS so I apologize before hand if my response is not correct; but here is what I understand so far for Events. Some modules have events associated with them. Some of the modules have Custom Events. a) All the way to the bottom of the link shown below you'll see the modules that have custom events: http://wiki.freeswitch.org/wiki/Event_list b) All events listed shown below: http://wiki.freeswitch.org/wiki/Event_list c) In my case for example I am also using Java and opening a connection using my own wrapper as well to ESL. For a conference, we then send the following custom event via the socket. An example of a custom event: event plain CUSTOM conference::maintenance Java Sample Code: Socket socket = new Socket("API URL", PORT); String cmd = String.format("event plain %s %s conference::maintenance", FreeSwitchEvent.SHUTDOWN.toString(), FreeSwitchEvent.CUSTOM.toString()); So there I am registering to a couple of events. One of them being a custom event for the conference in this case. Like I said I am really new to FS, so I might not be 100% on the money here. Regards, Alfredo On Mon, Feb 22, 2010 at 1:07 PM, Niall Crosby <niall.crosby@gmail.com> wrote:
Dear List, Can someone give an example of sending a custom event use the Event Socket Layer directly, and not one of the wrapper APIs? I'm writing in Java and have my own ESL wrapper implementation, but can't work out how to send custom events. Thanks in advance, Niall.
-- --
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Statements and opinions expressed in this e-mail may not represent those of the sender. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender immediately and delete the material from any computer.
_______________________________________________ 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