Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jhunter at voxboxcoms....
Guest





PostPosted: Thu Oct 21, 2021 8:47 am    Post subject: [Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswit Reply with quote

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.


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
Back to top
gmaruzz at gmail.com
Guest





PostPosted: Thu Oct 21, 2021 8:58 am    Post subject: [Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswit Reply with quote

On Thu, Oct 21, 2021 at 3:10 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk (jhunter@voxboxcoms.co.uk)> wrote:

Quote:
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






 
Quote:

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
Back to top
freeswitch-users at li...
Guest





PostPosted: Thu Oct 21, 2021 9:22 am    Post subject: [Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswit Reply with quote

------ Start of attached email. Subject: Re: [Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswitch 1.10.6 and sip.js ------
Freeswitch does not support webrtc SCTP data channel.
/Kaiduan
On Thursday, October 21, 2021, 09:32:19 a.m. EDT, 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

------ End of attached email ------
_________________________________________________________________________

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
Back to top
jhunter at voxboxcoms....
Guest





PostPosted: Thu Oct 21, 2021 9:26 am    Post subject: [Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswit Reply with quote

Hi Giovanni,

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


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 (gmaruzz@gmail.com)> wrote:

Quote:
On Thu, Oct 21, 2021 at 3:10 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk (jhunter@voxboxcoms.co.uk)> wrote:

Quote:
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






 
Quote:

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 (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 (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 ConsultantM:(+44) 7917 190 438
Email:jhunter@voxboxcoms.co.uk ([email]Email%3Ajhunter@voxboxcoms.co.uk[/email])
www.voxboxcoms.co.uk/
Back to top
jhunter at voxboxcoms....
Guest





PostPosted: Thu Oct 21, 2021 9:51 am    Post subject: [Freeswitch-users] UDP/DTLS/SCTP webrtc-datachannel Freeswit Reply with quote

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 (jhunter@voxboxcoms.co.uk)> wrote:

Quote:
Hi Giovanni,

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


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 (gmaruzz@gmail.com)> wrote:

Quote:
On Thu, Oct 21, 2021 at 3:10 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk (jhunter@voxboxcoms.co.uk)> wrote:

Quote:
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






 
Quote:

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 (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 (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 ConsultantM:(+44) 7917 190 438
Email:jhunter@voxboxcoms.co.uk ([email]Email%3Ajhunter@voxboxcoms.co.uk[/email])
www.voxboxcoms.co.uk/













--
Jonathan Hunter
Principle ConsultantM:(+44) 7917 190 438
Email:jhunter@voxboxcoms.co.uk ([email]Email%3Ajhunter@voxboxcoms.co.uk[/email])
www.voxboxcoms.co.uk/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services