3d1b2c841d
This new dialplan rule filters calls originating from bbb-webrtc-sfu via SIP user agent parsing. The default bbb-webrtc-sfu UA is "bbb-webrtc-sfu". A new dialplan rule is needed to force RTP auto-adjustment for calls originating in bbb-webrtc-sfu (rtp_manual_bugs=ACCEPT_ANY_PACKETS). That is due to the fact that bidirectional mediasoup bridging is done via an RTP/AVPF endpoint which does not use ICE. FreeSWITCH arbitrarily blocks off auto adjustment for AVPF profiles (presuming ICE), so it needs to be forced otherwise the bridge won't work properly in all environments. Bridging mediasoup and FS via WebRTC (which would circumvent that) is currently not an option due to the fact that FreeSWITCH doesn't handle STUN role conflicts properly (and there will always be a conflict since the initiator is controlled and FS always defaults to controlled) Briding mediasoup and FS via plain RTP/AVP (which would also circumvent that) is not an option right now due to the fact that FreeSWITCH doesn't make ssrcs public in signaling for RTP/AVP profiles. mediasoup needs the remote ssrcs. This could work by pre-generating a ssrc in bbb-webrtc-sfu, signaling it via a SIP header and then specifying it in the rtp_use_ssrc channel variable in FS, which would allow us to shim the ssrc in FS's answer in bbb-webrtc-sfu. Maybe in the future. |
||
---|---|---|
.. | ||
conf | ||
README |
Version 1.0.6 of Freeswitch or greater tested on the git master commit 1eb4b79c15feb81e4eb5370c911267c4f11e3d52 Date: Wed Jun 16 01:12:47 2010 +0200 this conf dir is the freeswitch config setup for a bbbuser and auto created conferences dialed via sip from the regex ^8{4}$ meaning that you can use this for auto generated confrence handling for confrence ids between 80000 and 89999 To install this config you would move /usr/local/freeswitch/conf to /usr/local/freeswitch/conf.dist mv /usr/local/freeswitch/conf /usr/local/freeswitch/conf.dist and cp -a conf /usr/local/freeswitch/ conf.orig dir is what was installed by freeswitch by default with my mods to support just 85{3} conf ids but also includes all the extra demo and example stuff. NOTE: you must double check this config if you intend to have the freeswitch server on a public facing interface. It defaults to localhost for the event socket inteface. I run my server in a test environment with /usr/local/freeswitch/bin/freeswitch -hp -nc and then interact with it via /usr/local/freeswitch/bin/fs_cli