[Freeswitch-users] Can calls be rejected if they are missing EITHER audio or video USABLE ice candidates?
Mike Jerris
mike at freeswitch.org
Mon Aug 9 04:28:32 UTC 2021
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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210808/1fd903b7/attachment.html>
More information about the FreeSWITCH-users
mailing list