Commit Graph

6 Commits

Author SHA1 Message Date
znerol
f7bca98d32 fix: Remove spurious FreeSWITCH dialplan bbb_sip.xml 2022-08-15 17:58:54 +02:00
prlanzarin
7d85c4f4e2 feat: add filterable identifier to FS channels originated from SFU
Use the presence_data field to annotate channels with a filterable
identifier that allows us to differentiate SIP.js channels from SFU
ones.

The motivation: allow metrics exporters/instrumentations/etc to
generate comparison metrics (eg.: mediaStats, usage) between the default
bridge and the experimental one without having to do multiple or overly
verbose json_api or mod_command/fs_cli calls to filter channels out.
2022-05-12 13:08:11 +00:00
prlanzarin
3d1b2c841d feat: add new dialplan rule for bbb-webrtc-sfu calls
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.
2022-01-28 14:53:39 -03:00
znerol
2c9b7a10bb Instruct FreeSWITCH to announce external IP in SDP 2021-04-01 16:56:46 +02:00
chandi
e11e77710f freeswitch config from v2.3-alpha-6 release 2021-02-09 18:44:17 +01:00
Leif Jackson
1d0761b97a Example minimal freeswitch config handling auto created conf numbers
^8{4}$ e.g. 85115 which seems to be the default.
 Thus 80000 thru 89999.
2010-07-15 04:17:00 +00:00