]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
adding quick option
authorBrian West <brian@freeswitch.org>
Sat, 30 May 2009 05:01:28 +0000 (05:01 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 30 May 2009 05:01:28 +0000 (05:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13520 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index 8673884d472b18296c328ef295c228926770e5ec..c53cbaaa115d2f8ed3a4d8fb2d87c0333ee3bc75 100644 (file)
@@ -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");