Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


DTMF problem with  Cisco 7300 VOIP gateway

Posted on 2010-09-01
Medium Priority
Last Modified: 2012-05-10
I am taking in a call from a VOIP customer through a Cisco 7300 and terminating this out to a Tier 1 carrier.  It appears the the DTMF tones are being distorted or not recognized and the problem is arising in my Cisco.  I have heard that it is recommended that I use g711, unfortunately this is not possible.  I have also ensured that the command:  dtmf-relay h245-alphanumeric is being used in the corresponding dial-peer.  Can anyone help me with this problem?  Any input is gladly appreciated.

Question by:shadeytrees
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Expert Comment

by:Alex Bahar
ID: 33585355
Hi Chris,
With the limited information provided, it is not possible to provide a solution.
Can you provide details about your network topology end-to-end? Please describe the voip endpoints between the caller and called parties, and the the type of signalling types used along the path. Then provide your router's voip configuration, including transcoders etc.

Author Comment

ID: 33598319
Thanks for your attention Abahar,

This is an Internet VOIP connection using SIPv2 the customer has a Sonus and is sending DTMF tones to my cisco 7300 (C7301-ADVENTERPRISEK9-M), Version 12.4(11)T4 we then pass the call onto a Sansay VSX-S2-2U integrated session switch which then is connected to the local PTT though a cisco 5300.  The calls seem to work fine when I test from a Cisco 2600>Cisco 7300>Sansay>Cisco 5300>PTT.  However calls from the Sonus to my network do not pass DTMF, but they do through the second providers network.  Any thoughts?

Assisted Solution

by:Alex Bahar
Alex Bahar earned 400 total points
ID: 33601664
Apparently there are some RTP timestamp issues communicating with Sonus gateways.
On Cisco I have found The following explanantion. But this bug CSCtd68173 seems to be for the opposite direction. Cisco DTMF is not recognized by Sonus.
Timestamp not accurate in the DTMF sent by CME Symptoms: Outbound DTMF may fail intermittently over a SIP Trunk from Cisco
UC 500.

Conditions: This symptom is observed when the following conditions are
- Using Cisco IOS Release 12.4.22YB4 or Release 15.0.1XA on Cisco UC 500
- SIP trunk uses RFC2833 for DTMF
- Call is outbound from Cisco IP Phone to PSTN over SIP Trunk
- SIP Trunk provider gateway is Sonus GXS (v6.4).

- Use Cisco IOS Release 12.4(11)XW10 on the Cisco UC 500 if possible; or,
- SIP trunk provider Sonus GXS gateway should be upgraded to v6.5.5 or higher.
I had found this explanation on http://wiki.freeswitch.org/wiki/RTP_Issues there is an Asterisk patch for Sonus as well.
Sonus wrongly expects that, when sending a multi-packet 2833 DTMF event, the sender should
increment the RTP timestamp in each packet when, in reality, the sender should send the
same exact timestamp and increment the duration field in the 2833 payload. This allows a
reconstruction of the duration if any of the packets are lost.

final_duration - initial_timestamp = total_samples

However, if the duration value exceeds the space allocated (16 bits), the sender should
increment the timestamp one unit and reset the duration to 0.

Always sending a duration of 0 with a new timestamp should be tolerated but is rarely
intentional and is mistakenly done by many devices. The issue is that the Sonus expects
everyone to do it this way instead of tolerating either way. Sonus will actually ignore
every packet with the same timestamp before concluding if it's DTMF.
Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.


Author Comment

ID: 33612242

  I appreciate your insight into this.  My customer with the Sonus gateway is investigating this now.  I will advise upon our correspondence.  Thank you again for you assistance this is very helpful.


Expert Comment

by:Alex Bahar
ID: 33612347
Hi Chris,
I hope it is caused by a software issue and upgrading the software will get it working. Fingers crossed.

Accepted Solution

shadeytrees earned 0 total points
ID: 33612471
I found the answer.  I just added  "rtp-nte sip-notify" to my "dtmf-relay  h245-signal  h245-alphanumeric"  string in the customers dial-peer and DTMF passed without fault.  teh command looks as follows:

dial-peer voice 1 voip
dtmf-relay rtp-nte h245-signal sip-notify h245-alphanumeric

Router(config-dial-peer)# dtmf-relay rtp-nte
Allows DTMF relay using NTE RTP packets. DTMF tones are encoded in the NTE format and transported in the same RTP channel as the voice.

  Thanks all for your tips.


Expert Comment

by:Alex Bahar
ID: 33614302
Hi Chris,
Thanks for sharing the solution. I am sure other people will find that useful as well.

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When replacing some switches recently I started playing with the idea of having admins authenticate with their domain accounts instead of having local users on all switches all over the place. Since I allready had an w2k8R2 NPS running for my acc…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question