<div dir="ltr">Hi, I am trying to fire a custom event from javascript, and found following code snippet:<br><br>=====================<br>var msg = "Hello, welcome to the FreeSWITCH demo application please enter some text into the chat box";<br>
<br>e = new Event("custom", "message");<br>e.addBody(msg);<br>session.sendEvent(e);<br>======================<br><br>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?<br>
I can't seem to find any ref except above snippet on wiki or mailing list.<br><br>Best Regards,<br>Johny K.<br><br></div>