From: Brian West Date: Sat, 30 May 2009 05:01:28 +0000 (+0000) Subject: adding quick option X-Git-Tag: v1.0.4~686 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1661f2cdaee0c5120d88ba6453e64ffbc5f23aa;p=thirdparty%2Ffreeswitch.git adding quick option git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13520 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 8673884d47..c53cbaaa11 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -469,6 +469,14 @@ static void zrtp_event_callback(zrtp_stream_t *stream, unsigned event) } break; + case ZRTP_EVENT_NO_ZRTP_QUICK: + { + if (rtp_session->zrtp_ctx != NULL) { + zrtp_stream_stop(rtp_session->zrtp_ctx); + } + } + break; + case ZRTP_EVENT_IS_CLIENT_ENROLLMENT: { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Enrolled complete!\n");