# DTMF problem

**URL:** <https://community.asterisk.org/t/dtmf-problem/47667>\
**Category:** Asterisk Support\
**Created:** [December 2, 2014, 8:01am UTC](https://community.asterisk.org/t/dtmf-problem/47667 "2014-12-02T08:01:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbergros](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@kbergros](https://community.asterisk.org/u/kbergros)\
**Post date:** [December 2, 2014, 8:01am UTC](https://community.asterisk.org/t/dtmf-problem/47667/1 "2014-12-02T08:01:30Z")

</div>

Hi…

We are using version 11.6 of Asterisk.  
And I have a problem when one provider send us DTMF as raw inband.  
We dont detect it, we also have calls from other providers and the rfc2833 is used and that works as it should. I tried setting dtmfmode to “Auto” but it doesnt work, still work for rfc2833 dtmf.  
The provider send this in the SDP for the invite (see below), and I see that they are suggesting that they will use rfc2833 but then send it as raw inband, and Asterisk is waiting for the DTMF to come as RFC2833, could this be the correct assumption? and is there any way to solve it?

m=audio 25270 RTP/AVP 8 101  
a=rtpmap:8 PCMA/8000  
a=ptime:20  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-15

---

<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:** [December 2, 2014, 8:09am UTC](https://community.asterisk.org/t/dtmf-problem/47667/2 "2014-12-02T08:09:32Z")

</div>

Use inband, rather than auto.

---

<div class="post-metadata">

**Author:** ![kbergros](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@kbergros](https://community.asterisk.org/u/kbergros)\
**Post date:** [December 2, 2014, 9:58am UTC](https://community.asterisk.org/t/dtmf-problem/47667/3 "2014-12-02T09:58:41Z")

</div>

Hi David…

If I use inband, then the providers which are using RFC2833 wont work, correct?  
When I have tested with Inband it doesnt work when I’m using rfc2833 for dtmf.  
If I understood it correctly from the manual AUTO should allow/detect both rfc2833 and inband.

---

<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:** [December 2, 2014, 11:11am UTC](https://community.asterisk.org/t/dtmf-problem/47667/4 "2014-12-02T11:11:31Z")

</div>

dtmfmode is a per peer setting. The setting for one provider doesn’t affect the others.

---

<div class="post-metadata">

**Author:** ![kbergros](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@kbergros](https://community.asterisk.org/u/kbergros)\
**Post date:** [December 2, 2014, 1:28pm UTC](https://community.asterisk.org/t/dtmf-problem/47667/5 "2014-12-02T13:28:00Z")

</div>

You’re correct i missed out a big thing regarding our environment…

Our Asterisk is behind a CISCO CUCM platform, we have one sip trunk between the asterisk and cisco.  
From the Cisco we the have trunks against different providers, but this particular provider have inband set for DTMF and send it to us (but doesnt the SDP look like he is suggesting rfc2833?), all other providers is sending it as rfc2833 and then it works OK.

---

<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:** [December 3, 2014, 8:18am UTC](https://community.asterisk.org/t/dtmf-problem/47667/6 "2014-12-03T08:18:18Z")

</div>

You need to set the relevant options on CUCM, not on Asterisk.
