]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 3 Sep 2024 15:29:40 +0000 (15:29 +0000)
commit055031dfcb669cb84684565db7a1fdc7073d6d79
tree3f1974d3c3715600f82e0c96c091b22655627ce4
parentf02f9f52806b011e2e3fb474d415a3a19c6732fb
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
include/asterisk/rtp_engine.h
main/rtp_engine.c
res/res_pjsip_sdp_rtp.c
res/res_rtp_asterisk.c