You can bypass media if you do it before the call starts but its not supported to turn it off mid call.


On Fri, Nov 20, 2015 at 4:28 PM, Dan Edwards <DEdwards@vertical.com> wrote:
I'm running FS 1.6.2, trying to get FreeSWITCH to drop out of the media path for 2 WebRTC calls, but I'm getting 'Cannot bypass due to secure connection'.

In FS-7166, I found the instructions to set uuid_media_secure_media=true, but that didn’t seem to help.

When I tracked down the error message in the source, I find this snippet in switch_ivr.c:


if (switch_channel_test_flag(channel, CF_SECURE)) {
      switch_core_session_rwunlock(session);
      switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR,
                "Cannot bypass %s due to secure connection.\n",
      switch_channel_get_name(channel));

      return SWITCH_STATUS_FALSE;
}

 Wouldn't this code cause for any SRTP call to decline to drop media?

Can FS bypass media with 2 WebRTC calls?

Thank you,

Dan


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900