Close

Verification of the generated DTMF

A project log for Pulse to Tone Converter

Converts pulse dialing of your POTS telephone to DTMF dialing allowing you to use it with your VOIP's FXS-port.

christoph-tackChristoph Tack 01/20/2018 at 14:270 Comments

The SLIC has an audio output.  Let's hook that up to the mic input of the laptop.  As wikipedia shows, there are different pinouts standards  for a TRRS 3.5mm audio jack.  In other words, there's no standard pinout.  Use a DMM to find out what pinout your laptop is using.  My Acer has the following pinout:

In Ubuntu Linux, 5s of audio can easily be recorded by:

arecord -d 5 DTMF_0123456789.wav

To play back the file:

aplay DTMF_0123456789.wav

The microphone level might need some tuning.

Decode the DTMF-audio with:

multimon -a DTMF -t wav DTMF_0123456789.wav 
multimod  (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA
available demodulators: POCSAG512 POCSAG1200 POCSAG2400 EAS AFSK1200 AFSK2400 AFSK2400_2 HAPN4800 FSK9600 DTMF ZVEI CCIR SCOPE
Enabled demodulators: DTMF
sox WARN sox: Option `-s' is deprecated, use `-e signed-integer' instead.
sox WARN sox: Option `-2' is deprecated, use `-b 16' instead.
DTMF: 0
DTMF: 1
DTMF: 2
DTMF: 3
DTMF: 4
DTMF: 5
DTMF: 6
DTMF: 7
DTMF: 8
DTMF: 9

Decoding works perfectly.

Alternative DTMF decoders

Discussions