[Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswitch 1.10.6 and sip.js

Jonathan Hunter jhunter at voxboxcoms.co.uk
Thu Oct 21 14:02:25 UTC 2021


Hi Giovanni,

Thank you for the reply, yes good point I saw you implement that in the
cookbook some years ago :)

I was just interested in using the data channel but you are right I could
just use that for chat.

Thanks

Jon

On Thu, Oct 21, 2021 at 2:44 PM Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

> On Thu, Oct 21, 2021 at 3:10 PM Jonathan Hunter <jhunter at voxboxcoms.co.uk>
> wrote:
>
>> Hi guys,
>>
>> Just wondered if anyone had suggestions around this or had this issue
>> before, we have 2 web clients using the sip.js library and we are trying to
>> use the data channel to send messages to one another.
>>
>>
> Why don't you use the MESSAGE sip method (supported by both freeswitch and
> sip.js)?
>
> You can even process the MESSAGE into freeswitch's chatplan, if needed.
>
> -giovanni
>
>
>
>
>
>> If I bypass media and send media peer to peer it works fine, however if I
>> try and send an invite with the data channel defined;
>> m=application 52004 UDP/DTLS/SCTP webrtc-datachannel
>>
>> Freeswitch seems to consume this when bridging to the target end
>> point/user. Does freeswitch support SCTP/ webrtc-datachannel if I wanted to
>> present it from leg A to leg B so the media can flow via freeswitch?
>>
>> This is using debian:buster container.
>>
>> Thanks
>>
>> Jon
>>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



-- 
Jonathan Hunter
Principle Consultant
M:(+44) 7917 190 438
Email:jhunter at voxboxcoms.co.uk
www.voxboxcoms.co.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211021/318a69fa/attachment.html>


More information about the FreeSWITCH-users mailing list