]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp.c: Fix DTMF Handling in Re-INVITE with dtmf_mode set to auto
authorTinet-mucw <mucw@ti-net.com.cn>
Fri, 2 Aug 2024 08:49:58 +0000 (16:49 +0800)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:45:46 +0000 (18:45 +0000)
commit047913265bef1667a0952bad6703261872ae9a64
tree70b6108d30b55dca242b6a99723748f03131f49f
parent1e925509fe56d843c6052cd4f403676609bb9e67
res_pjsip_sdp_rtp.c: Fix DTMF Handling in Re-INVITE with dtmf_mode set to auto

When the endpoint dtmf_mode is set to auto, a SIP request is sent to the UAC, and the SIP SDP from the UAC does not include the telephone-event. Later, the UAC sends an INVITE, and the SIP SDP includes the telephone-event. In this case, DTMF should be sent by RFC2833 rather than using inband signaling.

Resolves: asterisk#826
(cherry picked from commit 7f8391e9ff28895be619a3a20b87aefc9c409d8c)
res/res_pjsip_sdp_rtp.c