How to specify the dtmf_pt value during DTMF transcoding

7 views
Skip to first unread message

Ray Yang

unread,
Nov 7, 2025, 7:22:42 PMNov 7
to rtpe...@googlegroups.com
Hi, team

I am using Kamailio 6.0.4 and RTPEngine Master to transcode INBAND DTMF to RFC2833.

rtpengine_offer("SIP-source-address replace-origin replace-session-connection codec-transcode-telephone-event always-transcode");

Offer SDP:

v=0
o=1000 1762483843 1762484950 IN IP4 192.168.43.68
s=Kapanga [1762483843]
c=IN IP4 192.168.43.68
t=0 0
m=audio 5136 RTP/AVP 8 0
a=rtpmap:8 pcma/8000
a=sendrecv
a=maxptime:20
a=ptime:20
a=rtpmap:0 pcmu/8000

Forwarded SDP:

v=0
o=1000 1762483843 1762484950 IN IP4 192.168.43.62
s=Kapanga [1762483843]
t=0 0
m=audio 39856 RTP/AVP 8 0 96
c=IN IP4 192.168.43.62
a=rtpmap:8 pcma/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=sendrecv
a=rtcp:39857
a=ptime:20
a=maxptime:20

The current dtmf_pt is 96.

How can I specify it as 101?

Thanks!


Richard Fuchs

unread,
Nov 10, 2025, 6:26:46 AMNov 10
to rtpe...@googlegroups.com
On 07/11/2025 20.22, Ray Yang wrote:
> The current dtmf_pt is 96.
>
> How can I specify it as 101?

There is no way of doing that currently. Reason being that any UA that
requires a certain payload number for DTMF or any other codec without a
fixed allocated number is inherently broken. If you encounter such a UA
then you should report it as broken.

Cheers

Reply all
Reply to author
Forward
0 new messages