[Freeswitch-users] Sending SIP MESSAGE in javascript

Storm Demo stormdemo001 at gmail.com
Thu Jul 15 10:16:56 PDT 2010


Dear All,

I am trying to send a SIP MESSAGE when someone call FS, however I can never
get it work

The below is what I am doing



session.answer();
var msg = "Hello, welcome to the FreeSWITCH
e = new Event("custom", "message");
e.addBody(msg);
session.sendEvent(e);


I found that my SIP phone never receive any SIP MESSAGE message

Is that I have done something wrong?

Thanks

Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100716/5e6de012/attachment.html 


More information about the FreeSWITCH-users mailing list