---------- Forwarded message ----------
From: Mike Jerris <mike@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Bcc:
Date: Sun, 8 Aug 2021 23:28:32 -0500
Subject: Re: [Freeswitch-users] Can calls be rejected if they are missing EITHER audio or video USABLE ice candidates?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 codeOn 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 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?