webrtc client using sip.js and conference api interaction
Hi Guys, Does anyone know best practice here to be able to interact with the freeswitch conference API so I can mute users and list participants from a web browser, ideally without using dtmf? I have previously used Verto, but due to scale I am using kamailio/rtpengine as a websockets gateway which then load balances requests to freeswitch so its only dealing with SIP and RTP. All works fine, I just want to now be able to kick users/list participants and so on via the browser so wondered the best way to do this now I am now using verto, as I used to subscribe to live array for that but now I am using sip.js to fire SIP requests over websockets, how do I send conference api commands and to the correct box as well if a farm of freeswitch servers are in use. Many thanks Jon
On Wed, May 27, 2020 at 12:04 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk> wrote:
Does anyone know best practice here to be able to interact with the freeswitch conference API so I can mute users and list participants from a web browser, ideally without using dtmf?
I have previously used Verto, but due to scale I am using kamailio/rtpengine as a websockets gateway which then load balances requests to freeswitch so its only dealing with SIP and RTP.
All works fine, I just want to now be able to kick users/list participants and so on via the browser so wondered the best way to do this now I am now using verto, as I used to subscribe to live array for that but now I am using sip.js to fire SIP requests over websockets, how do I send conference api commands and to the correct box as well if a farm of freeswitch servers are in use.
You cannot. I use SIP MESSAGE for conveying this kind of commands and statuses, I had to write all the logic (client side and server side) I will probably made opensource my SIP video conference client for FreeSWITCH in next months, but nothing certain yet. Have a nice continuation, -giovanni
Many thanks
Jon
_________________________________________________________________________
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
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
Hi Giovanni, Thank you for the fast reply! Using SIP message sounds interesting I will look into that, if you have any tips please let me know :) Ok that is what I feared, I previously built a video solution using verto which was great for all commands but I dont really want to connect to verto directly so was thinking of other options. Thank you for reply. Jon On Wed, May 27, 2020 at 11:15 AM Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
On Wed, May 27, 2020 at 12:04 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk> wrote:
Does anyone know best practice here to be able to interact with the freeswitch conference API so I can mute users and list participants from a web browser, ideally without using dtmf?
I have previously used Verto, but due to scale I am using kamailio/rtpengine as a websockets gateway which then load balances requests to freeswitch so its only dealing with SIP and RTP.
All works fine, I just want to now be able to kick users/list participants and so on via the browser so wondered the best way to do this now I am now using verto, as I used to subscribe to live array for that but now I am using sip.js to fire SIP requests over websockets, how do I send conference api commands and to the correct box as well if a farm of freeswitch servers are in use.
You cannot.
I use SIP MESSAGE for conveying this kind of commands and statuses, I had to write all the logic (client side and server side)
I will probably made opensource my SIP video conference client for FreeSWITCH in next months, but nothing certain yet.
Have a nice continuation,
-giovanni
Many thanks
Jon
_________________________________________________________________________
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
-- 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/
Hi Jon, you catch the messages in FS via chatplan, then decide what to do you send messages from FS with the "chat" api Happy hacking! -giovanni On Wed, May 27, 2020 at 1:03 PM Jonathan Hunter <jhunter@voxboxcoms.co.uk> wrote:
Hi Giovanni,
Thank you for the fast reply! Using SIP message sounds interesting I will look into that, if you have any tips please let me know :)
Ok that is what I feared, I previously built a video solution using verto which was great for all commands but I dont really want to connect to verto directly so was thinking of other options.
Thank you for reply.
Jon
On Wed, May 27, 2020 at 11:15 AM Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
On Wed, May 27, 2020 at 12:04 PM Jonathan Hunter < jhunter@voxboxcoms.co.uk> wrote:
Does anyone know best practice here to be able to interact with the freeswitch conference API so I can mute users and list participants from a web browser, ideally without using dtmf?
I have previously used Verto, but due to scale I am using kamailio/rtpengine as a websockets gateway which then load balances requests to freeswitch so its only dealing with SIP and RTP.
All works fine, I just want to now be able to kick users/list participants and so on via the browser so wondered the best way to do this now I am now using verto, as I used to subscribe to live array for that but now I am using sip.js to fire SIP requests over websockets, how do I send conference api commands and to the correct box as well if a farm of freeswitch servers are in use.
You cannot.
I use SIP MESSAGE for conveying this kind of commands and statuses, I had to write all the logic (client side and server side)
I will probably made opensource my SIP video conference client for FreeSWITCH in next months, but nothing certain yet.
Have a nice continuation,
-giovanni
Many thanks
Jon
_________________________________________________________________________
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
-- 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/
_________________________________________________________________________
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
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
participants (2)
-
Giovanni Maruzzelli
-
Jonathan Hunter