adding quick option

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13520 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-05-30 05:01:28 +00:00
parent 44c27f9922
commit a1661f2cda
1 changed files with 8 additions and 0 deletions

View 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");