[Freeswitch-users] Sending Out Event from JS
Pete Kay
petedao at gmail.com
Sun Apr 27 08:11:20 PDT 2008
Hi,
I am trying to get events to be fired out using the following codes in JS:
e = new Event("custom", "message");
var txt = "main menu===========";
e.addBody(txt);
session.sendEvent(e);
Within my client, I sent "Plain event all" to listen to all events.
Then, I filtered on all the events, but I can't find anything that has
the text "main", "menu", "custom" or "message".
I am wondering if my code has bug or I was not looking at the right
place in my event log.
Could someone please give me some suggestion?
Any help will be greatly appreciated.
Thanks,
Pete
More information about the FreeSWITCH-users
mailing list