RTP DTMF receive/send is hardcoded to payload type 101 even when SDP negotiates telephone-event on a different dynamic payload type. Parse the accepted audio media mapping and install the negotiated RFC 4733 payload type on inbound and outbound RTP sessions.
Regression coverage must negotiate a non-101 payload type and prove the receiver emits the detected DTMF frame only for that negotiated type.
RFC 4733: https://www.rfc-editor.org/rfc/rfc4733
RTP DTMF receive/send is hardcoded to payload type 101 even when SDP negotiates telephone-event on a different dynamic payload type. Parse the accepted audio media mapping and install the negotiated RFC 4733 payload type on inbound and outbound RTP sessions.
Regression coverage must negotiate a non-101 payload type and prove the receiver emits the detected DTMF frame only for that negotiated type.
RFC 4733: https://www.rfc-editor.org/rfc/rfc4733