# How to change the DTMF payload type in asterisk?

**URL:** <https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971>\
**Category:** Asterisk Support\
**Created:** [April 22, 2014, 3:52pm UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971 "2014-04-22T15:52:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamedk](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mohamedk](https://community.asterisk.org/u/mohamedk)\
**Post date:** [April 22, 2014, 3:52pm UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971/1 "2014-04-22T15:52:21Z")

</div>

How to change the DTMF payload type in asterisk

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [April 22, 2014, 9:21pm UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971/2 "2014-04-22T21:21:47Z")

</div>

Please explain.

dtmfmode controls whether it is sent as RTP telephony events packets, as SIP INFO requests, or as encoded audio using the main audio codec.

---

<div class="post-metadata">

**Author:** ![mohamedk](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mohamedk](https://community.asterisk.org/u/mohamedk)\
**Post date:** [April 23, 2014, 7:32am UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971/3 "2014-04-23T07:32:20Z")

</div>

[quote=“david55”]Please explain.

dtmfmode controls whether it is sent as RTP telephony events packets, as SIP INFO requests, or as encoded audio using the main audio codec.[/quote]  
Payload type to be used for RTP telephone events

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [April 23, 2014, 9:57am UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971/4 "2014-04-23T09:57:29Z")

</div>

Fixed at “telephone-event” as required by the RFC.

Did you mean the codec number? There was a recent bug about its being too fixed (at 101), but there is no standards requirement for any particular value, so no need to make it configurable.

---

<div class="post-metadata">

**Author:** ![mohamedk](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mohamedk](https://community.asterisk.org/u/mohamedk)\
**Post date:** [April 23, 2014, 11:16am UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971/5 "2014-04-23T11:16:54Z")

</div>

[quote=“david55”]Fixed at “telephone-event” as required by the RFC.

Did you mean the codec number? There was a recent bug about its being too fixed (at 101), but there is no standards requirement for any particular value, so no need to make it configurable.[/quote]

Yes I mean the codec number  
If it’s not configurable, Are there at least a command which display the codec number?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [April 23, 2014, 11:20am UTC](https://community.asterisk.org/t/how-to-change-the-dtmf-payload-type-in-asterisk/45971/6 "2014-04-23T11:20:54Z")

</div>

The mapping is included ni the SDP, and therefore visible if SIP debugging is enabled. I can’t think of any reason why it would be important to expose it at the user interface. Tools, like wireshark, will identify it using the SDP.
