]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Use negotiated DTMF Payload types on bitrate mismatch
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 21 Aug 2024 16:11:31 +0000 (10:11 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:44:38 +0000 (18:44 +0000)
commit8fdcbf61ceb764cca6d7d35e99602ff405dff6b5
treeafc65f63223119da6761a493f32498fc9aab33ca
parent463178f0d5c5ef5026f9c59a442b0b7f4a44d631
res_pjsip_sdp_rtp: Use negotiated DTMF Payload types on bitrate mismatch

When Asterisk sends an offer to Bob that includes 48K and 8K codecs with
matching 4733 offers, Bob may want to use the 48K audio codec but can not
accept 48K digits and so negotiates for a mixed set.

Asterisk will now check Bob's offer to make sure Bob has indicated this is
acceptible and if not, will use Bob's preference.

Fixes: #847
(cherry picked from commit cf5a6435c2b135dd38413ded04cbd9ed9ff6fb53)
include/asterisk/rtp_engine.h
main/rtp_engine.c
res/res_pjsip_sdp_rtp.c
res/res_rtp_asterisk.c