DTMF detection issues for VOIP calls (e.g. using key presses to acknowledge alarms over voice calls)

DTMF detection issues for VOIP calls (e.g. using key presses to acknowledge alarms over voice calls)

DTMF  (Dual-tone multi-frequency signaling - Wikipedia) is responsible for communication of key presses over the phone call.
TopView can use these key presses to allow calls to proceed, or to acknowledge alarms via voice notifications.

Here are some common issues and solutions if you suspect TopView is not able to detect DTMF during a voice call.

Verify that TopView is not seeing DTMF/key presses

TopView will log all received DTMF/key presses during a phone call.
The easiest method to test DTMF/key press detection is to make a test call from the TopView Configurator. During the test call a log is displayed and updated with information during the call. Any key press events are logged to the screen during the test call.

Common issues

  1. The firewall is blocking audio communication
  2. Poor audio quality prevents DTMF detection
  3. Set DTMF detection in VOIP system to RFC2833

DTMF tones are sent to TopView from the SIP/VOIP Server as part of the VOIP call. This means that the VOIP server/system is responsible for recognizing the DTMF tone from the recipient's phone and sending that back to TopView.

DTMF issues are usually due to one of the following:
  1. Firewalling/traffic blocking issues (this is the usual one)
    1. Check your firewalls and network to ensure ports aren't blocked. SIP transport typically happens on port 5060 and RTP (phone call media) happens on another. DTMF is usually based on call audio so the RTP ports must be open. Test to make sure audio from both sides of the call can be heard. If possible, you can use Wireshark to monitor the call, or The 3CX Firewall Checker Client Application on the TopView computer to try to expose issues.
  2. Phone/VOIP server settings and issues (e.g. the DMTF settings for the phone communicate key presses in a different way that the server expects or understands)
    1. We recommend setting DTMF detection, if possible, to RFC2833.
  3. Poor audio quality that affects the VOIP server's DTMF detection
    1. You may be able to adjust the audio codecs TopView uses to improve the audio quality.
    2. The receiving mobile device may be able to switch to, or away from, VoLTE ("Voice over LTE") to see if audio quality improves.

Grandstream

If you are using the recommended Grandstream UCM62xx/63xx series device, there are some other options available to you:

PBX Settings > SIP Settings > ToS tab:
Entering the key presses slowing may help. Some phones have an option to play a longer tone, this would be in the phone settings.

Cisco system (e.g. CUCM)

We recommend trying to set up for detection using RFC2833 because we've seen other VOIP systems leverage that and work, and it delivers the DTMF key presses through SIP which TopView is set to monitor.

Here are some other resources that may be helpful:

    • Related Articles

    • Troubleshooting voice call issues with the Grandstream UCM 6xxx devices

      TopView can make VOIP calls for notifications through the Grandstream in order to call through an analog line. This article provides a number of methods to verify your system is able to make voice calls through this device. If you have not yet ...
    • VOIP and SIP issues

      If test voice notifications via VOIP are experiencing difficulties, we recommend the following tests and procedures: Verify that the authorization name and password are correct for the SIP server Can a softphone installed on the same computer as ...
    • VOIP Phone call register/unregister issues

      Overview TopView Voice Notification makes VOIP phone calls for alarm notification. The VOIP protocol is SIP. TopView is a "SIP client" that connects to the SIP Server to make phone calls. Each phone call in TopView is made by a separate call process ...
    • What codec should I use for voice calls?

      TopView voice calls over VOIP allow the specification of a codec used for encoding the audio to be used during the call. This article explains what codecs are and why you might want to use a codec that is different from the defaults used by TopView. ...
    • TopView and Twilio migration to single IP address for Elastic SIP Trunking services

      From Twilio's notice - IP Addresses for SIP Services | Twilio: Starting 26 September 2023 Twilio will begin migrating the media IPs and port ranges for Voice SDK calls in all regions to 168.86.128.0/18 and expanding the UDP port range to 10000-60000. ...