[Freeswitch-users] Sending SIP MESSAGE in javascript
Meftah Tayeb
tayeb.meftah at gmail.com
Sat Jul 17 01:16:20 PDT 2010
i am doing that only from console:
chat sip|1000 at 10.100.0.1|internal/sip:1005 at 10.100.0.1|hello
is working but getting error 415 unsupported media because XLite require
unified messaging
thanks
Le 16/07/2010 09:10, Storm Demo a écrit :
> Dear Meftah,
>
> I am using xlite, and I found that there are MESSAGE in the "Allow"
> filed in the INVITE from xlite.
>
> Thanks a lot
>
> Eric
>
> On Sat, Jul 17, 2010 at 3:48 AM, Meftah Tayeb <tayeb.meftah at gmail.com
> <mailto:tayeb.meftah at gmail.com>> wrote:
>
> hello,
> what sip endpoint you are sending chat msg to?
> doe your endpoint support chat event?
> Le 15/07/2010 19:16, Storm Demo a écrit :
>> 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
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> --
> Meftah Tayeb
> algérie télécom SPA
> phone: +21321761805
> phone (INUM): +883510001289101
> mobile : +213660347746
> mobile (INUM: +883510001289110
> http://www.algerietelecom.dz
>
>
--
Meftah Tayeb
algérie télécom SPA
phone: +21321761805
phone (INUM): +883510001289101
mobile : +213660347746
mobile (INUM: +883510001289110
http://www.algerietelecom.dz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100717/5b736df3/attachment.html
More information about the FreeSWITCH-users
mailing list