]> 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:22 +0000 (18:02 +0000)
commit4aae8194b4389c4570368ea42152d2f1eff1e1b2
tree0ce97894174437cccc963527573401699965a68e
parenta393a7812e0d3c7d37e88ddcccb1306ff779ae5d
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