24 Sep
2008
24 Sep
'08
7:40 p.m.
Hi, I am trying to fire a custom event from javascript, and found following code snippet: ===================== var msg = "Hello, welcome to the FreeSWITCH demo application please enter some text into the chat box"; e = new Event("custom", "message"); e.addBody(msg); session.sendEvent(e); ====================== But, i don't seems to receive the custom event on the event_socket side. Is this still a valid way to fire event from javascripts? I can't seem to find any ref except above snippet on wiki or mailing list. Best Regards, Johny K.