Merge "res_pjsip_asterisk.c: Fix compile error if libsrtp is not installed."

This commit is contained in:
Joshua Colp 2017-03-18 05:36:34 -05:00 committed by Gerrit Code Review
commit 0db211dc64
1 changed files with 2 additions and 0 deletions

View File

@ -5040,7 +5040,9 @@ static void ast_rtp_prop_set(struct ast_rtp_instance *instance, enum ast_rtp_pro
return;
}
rtp->rtcp->s = -1;
#ifdef HAVE_OPENSSL_SRTP
rtp->rtcp->dtls.timeout_timer = -1;
#endif
rtp->rtcp->schedid = -1;
}