For background, I was looking to send status events like isMuted via the data channel for client status, I assume same can be achieved using MESSAGE between client applications? Jon On Thu, Oct 21, 2021 at 3:02 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk> wrote:
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@gmail.com> wrote:
On Thu, Oct 21, 2021 at 3:10 PM Jonathan Hunter <jhunter@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@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@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@voxboxcoms.co.uk www.voxboxcoms.co.uk/
-- Jonathan Hunter Principle Consultant M:(+44) 7917 190 438 Email:jhunter@voxboxcoms.co.uk www.voxboxcoms.co.uk/