StoreDTMF to test DTMF while on call

I have been experiencing a problem with DTMF at a customer where they receive a call from an Intercom system and then need to press a key exp “9” to open the gate.
It however isn’t working and all the pcap traces show the DTMF is passing from the device to the Asterisk server and from Asterisk to the voice providers via the trunk.

I was then looking for a way to try and capture the DTMF while the call is busy and found the StoreDTMF application.
I have been doing some testing between endpoints:

  1. Endpoint A calls Endpoint B
  2. Endpoint B press DTMF value of 9
  3. Endpoint A press DTMF value of 1

I have 2 StoreDTMF applications in the dial plan to capture the RX anxd TX on the Endpoint A call:

exten => s,n,StoreDTMF(RX,testvarRX,24)
exten => s,n,StoreDTMF(TX,testvarTX,24)

But it only returns the DTMF received from Endpoint A and not Endpoint B. I have NoOp to display the 2 testvarTX and testvarRX values on call hangup.

The PCAP however shows that Endpoint A receives the DTMF:
1589 22.357747 192.168.10.1 192.168.10.100 RTP EVENT 58 EF PHB Payload type=RTP Event, DTMF Nine 9

I might be missing or not fully understanding of how it works.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.