From a1661f2cdaee0c5120d88ba6453e64ffbc5f23aa Mon Sep 17 00:00:00 2001 From: Brian West Date: Sat, 30 May 2009 05:01:28 +0000 Subject: [PATCH] adding quick option git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13520 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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");