Can calls be rejected if they are missing EITHER audio or video USABLE ice candidates?
We're evaluating a paid TURN service, and we've found that sometimes it provides only a STUN candidate for audio and neither STUN nor TURN for video. The user's host candidates are all private IPv4. FS 10.5 allows such a call, but we'd like to reject any call *lacking* usable ICE candidates for *either* audio or video. I see at https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables that there is channel var "variable_remote_media_ip", so if this is empty for both audio and video, we could set our dialplan to reject the call. But is this var set independently for audio and video so we can check that both are present? Or is there a better way?
You have the full sdp in the dial plan you can carve up, its probably the only way right now without going and writing some c code
On Jul 25, 2021, at 9:40 PM, David P <davidswalkabout@gmail.com> wrote:
We're evaluating a paid TURN service, and we've found that sometimes it provides only a STUN candidate for audio and neither STUN nor TURN for video. The user's host candidates are all private IPv4. FS 10.5 allows such a call, but we'd like to reject any call *lacking* usable ICE candidates for *either* audio or video.
I see at https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables <https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables> that there is channel var "variable_remote_media_ip", so if this is empty for both audio and video, we could set our dialplan to reject the call. But is this var set independently for audio and video so we can check that both are present?
Or is there a better way? _________________________________________________________________________
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
participants (2)
-
David P
-
Mike Jerris