From: Anthony Minessale Date: Wed, 7 Aug 2013 23:20:36 +0000 (+0500) Subject: FS-5680 --resolve this patch should auto set this variable on dtls enabled channels X-Git-Tag: v1.4.1~18^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3682e54d1917540dcc12e8709aaadd7e047d82fa;p=thirdparty%2Ffreeswitch.git FS-5680 --resolve this patch should auto set this variable on dtls enabled channels --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 6dde6cf3e6..e3e42a60f7 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -2671,6 +2671,9 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s if (!strcasecmp(attr->a_name, "fingerprint") && !zstr(attr->a_value)) { got_crypto = 1; + if (sdp_type == SDP_TYPE_REQUEST) { + switch_channel_set_variable(session->channel, "answer_delay", "2500"); + } } } }