]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Tue, 3 Sep 2024 15:29:32 +0000 (15:29 +0000)
commita8567b92f09e775f010b61a08f1cc58d8daaa302
tree496fa11ee9be705546c3576a366079faf1451cc2
parent6e47295800def96419ba12c7b3e9517835ef38ac
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