From: Anthony Minessale Date: Mon, 6 Aug 2012 23:30:08 +0000 (-0500) Subject: FS-4493 does this work X-Git-Tag: v1.2.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b852eb3d1e7ac4c407773d1ae16d9e3aebe6f11;p=thirdparty%2Ffreeswitch.git FS-4493 does this work --- diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 367d97b3bc..7c8f920712 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -1061,6 +1061,11 @@ static void try_secure(struct private_object *tech_pvt, ldl_transport_type_t tty } + if (tech_pvt->transports[ttype].crypto_recv_type) { + tech_pvt->transports[ttype].crypto_type = tech_pvt->transports[ttype].crypto_recv_type; + } + + //if (tech_pvt->transports[ttype].crypto_type) { switch_rtp_add_crypto_key(tech_pvt->transports[ttype].rtp_session, SWITCH_RTP_CRYPTO_SEND, 1, tech_pvt->transports[ttype].crypto_type,