]> 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)
committerTinet-mucw <mucw@ti-net.com.cn>
Tue, 6 Aug 2024 18:02:26 +0000 (18:02 +0000)
commit6cf685608000a3b08e4e8b8a62995e233cc536bf
tree4962256f9ab6b5ccaa64c7d99979968a6e417b8d
parentd189b5a4d71cf3f4a88b67471101d98bec12a06e
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
res/res_pjsip_sdp_rtp.c