]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Reject offer of required SRTP without res_srtp. 93/4393/1
authorJoshua Colp <jcolp@digium.com>
Thu, 10 Nov 2016 16:57:49 +0000 (16:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 11 Nov 2016 13:17:47 +0000 (08:17 -0500)
commitcc4a2c8c765cf2ebf94096546e1254bb786cad18
treee042221c91e166162ac5b4168617c3412db57f3a
parentbb32bb3939ffd23d280a072943a962a1efa9a47a
res_pjsip_sdp_rtp: Reject offer of required SRTP without res_srtp.

When optimistic SRTP was on it was possible for us to still
set up a call without an audio stream if an offer was received
with required SRTP.

This change makes it so this scenario will now fail with a 488
response.

ASTERISK-26575

Change-Id: I7d14187037681f48879bd20319ac79d0877318f3
res/res_pjsip_sdp_rtp.c