DTMF click on external calls, internal has proper tones

We had this issue on Elastix (w/Asterisk 1.8), and we still have the issue now that we are on FreePBX Distro (Asterisk 10).

When dialing any DTMF digit on an external call from an extension, the DTMF tones are a muffled thunk noise and not a DTMF tone. However,the called party can press a DTMF and the tones are heard perfectly and correctly.

This is not a specific trunk issue, as they all have the same issue. The issue also exists regardless of the codec used.
However, calls within Asterisk from the same devices play DTMF tones perfectly.

We run in Device and User mode.
Both the devices and trunks are setup as RFC2833.

With both using RFC2833, DTMF is not recognized by any IVR so on some trunks we have DTMFMODE set to INBAND (this still sends the muffled thunk noise, but IVRs work more often).

We have the following in General Settings. I know that having T on the outband is not advised, but we are trying everything (without success).

Asterisk Dial command options: Ttr
Asterisk Outbound Dial command options: Tt

Any assistance is appreciated, our customers are getting very upset with us.

FreePBX (Distro): 2.10.1.2
Asterisk: 10.10.0
PBX Firmware: 1.1010.210.62-1
PBX Service Pack: 1.0.0.0

This is an issue that is getting very serious for us.
Can anyone shed some light or assist?

If Schmooze can resolve our issue, we are more than willing to pay for support.
Oddly though I have seen a couple posts on the net about this, but never any responses.

It can not be a wide spread issue though, as there are not many posts on the issue.

As noted, we have had this same issue on Elastix and now on FreePBX Distro. We moved to FreePBX Distro in hopes of resolving some of these issues. But sadly they remained (even though this was a clean install).

You didn’t tell us what type of phones and how they are configured or the trunking provider.

Since the problem has moved from Asterisk version it has to be something in your configuration.

I feel compelled yo point out that you are doing your customers an injustice (you brought up the customer in an attempt to create a sense of urgency, I can tell you it has the opposite effect) selling an untested integration. It gives the project a bad rap.

Post the information requested and we can get to the bottom of it.

Thanks for the response.

The issue exists on all trunks and all phones (ATA types).
We use multiple trunk providers, including freepbx.org trunks, itel, voip.ms, flowroute, terrasip and more.

It has been tested with several Linksys ATA’s, including PAPT2 and SPA8000… as well as many softphones.

I am sure it is not a device issue, as the issue only exists on outbound calls, not internal.

I agree it must be something in my config, but other than the two below options, I am unaware of any other settings that would prevent DTMF tones from playing on external calls.

Asterisk Dial command options
Asterisk Outbound Dial command options

We used FreePBX to configure everything and have not made .conf file adjustments manually, with the exception of a couple of dialing rules in extensions_custom.

Our Trunk config:

type=peer
insecure=port,invite
host=xxx.xxx.xxx.xxx
context=from-pstn
dtmfmode=rfc2833
sendrpid=yes
trustrpid=yes
qualify=yes
canreinvite=no
directmedia=no
disallow=all
allow=ulaw&alaw&g729

You have all the extensions set to rfc2833 in the extension and on the device?

Is this all ATA’s, no SIP feature phones?

I find no option in extensions to set dtmf.
Both devices and trunks are set to: dtmfmode=rfc2833
(same issue exists is trunkis set to inband)

I found a post related to muted DTMF on http://www.voip-info.org/wiki/view/Asterisk+DTMF
I have also confirmed that rtpkeepalive=0

If you are running in device and user mode then it will be in the device screen.

Have you looked at the RTP debug while you press the DTMF key? You should see the inbound and outbound RFC2833 message.

Wireshark would also make it easy, the RTP debug’s in Asterisk get long but the DTMF messages stick out.

Logged into CLI and set verbose 10 and debug 10, then placed a call.
Upon answer, I presed DTMF tones about 20 times.
Should I not have seen something in the below related to DTMF?

-- Called SIP/Tieus/976134165551212
-- SIP/Tieus-0002036b is making progress passing it to SIP/EXT7771313-0002036a
-- SIP/Tieus-0002036b answered SIP/EXT7771313-0002036a
-- Executing [[email protected]:1] Macro("SIP/EXT7771313-0002036a", "hangupcall,") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/EXT7771313-0002036a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [[email protected]:3] ExecIf("SIP/EXT7771313-0002036a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [[email protected]:4] Hangup("SIP/EXT7771313-0002036a", "") in new stack

== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/EXT7771313-0002036a’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/EXT7771313-0002036a’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/EXT7771313-0002036a’ in macro ‘dialout-trunk’
== Spawn extension (outbound-1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-2, 14165551212, 6) exited non-zero on ‘SIP/EXT7771313-0002036a’

I have included part of a trace, all lines related to one of the dtmf digits.
If you need the full trace or more details from the trace, let me know (maybe I can email it to you).

No. Time Source Destination Protocol Length Info 70 22.141793 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12370, Time=1973413552

Frame 70: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
71 22.162183 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12371, Time=1973413712

Frame 71: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
72 22.163443 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 72: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 480

No. Time Source Destination Protocol Length Info
73 22.165508 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 73: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 480

No. Time Source Destination Protocol Length Info
74 22.166692 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 74: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 480

No. Time Source Destination Protocol Length Info
75 22.167264 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 75: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 640

No. Time Source Destination Protocol Length Info
76 22.173706 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 76: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 800

No. Time Source Destination Protocol Length Info
77 22.182146 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12372, Time=1973413872, Mark

Frame 77: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
78 22.192596 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 78: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 960

No. Time Source Destination Protocol Length Info
79 22.202223 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12373, Time=1973414032

Frame 79: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
80 22.213955 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 80: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1120

No. Time Source Destination Protocol Length Info
81 22.221673 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12374, Time=1973414192

Frame 81: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
82 22.233541 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 82: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1280

No. Time Source Destination Protocol Length Info
83 22.242055 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12375, Time=1973414352

Frame 83: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
84 22.252346 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 84: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1440

No. Time Source Destination Protocol Length Info
85 22.262076 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12376, Time=1973414512

Frame 85: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
86 22.275826 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 86: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1600

No. Time Source Destination Protocol Length Info
87 22.281668 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12377, Time=1973414672

Frame 87: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
88 22.292441 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 88: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1760

No. Time Source Destination Protocol Length Info
89 22.302043 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12378, Time=1973414832

Frame 89: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
90 22.315469 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1

Frame 90: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
0… … = End of Event: False
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1920

No. Time Source Destination Protocol Length Info
91 22.316087 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1 (end)

Frame 91: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
1… … = End of Event: True
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1924

No. Time Source Destination Protocol Length Info
92 22.317301 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1 (end)

Frame 92: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
1… … = End of Event: True
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1924

No. Time Source Destination Protocol Length Info
93 22.318465 192.168.1.1 10.1.1.1 RTP EVENT 60 Payload type=RTP Event, DTMF One 1 (end)

Frame 93: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol
RFC 2833 RTP Event
Event ID: DTMF One 1 (1)
1… … = End of Event: True
.0… … = Reserved: False
…00 0000 = Volume: 0
Event Duration: 1924

No. Time Source Destination Protocol Length Info
94 22.321631 10.1.1.1 192.168.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0xF00E97, Seq=12379, Time=1973414992, Mark

Frame 94: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:78:e4 (00:50:56:82:78:e4), Dst: Vmware_82:25:59 (00:50:56:82:25:59)
Internet Protocol Version 4, Src: 10.1.1.1 (10.1.1.1), Dst: 192.168.1.1 (192.168.1.1)
User Datagram Protocol, Src Port: 15966 (15966), Dst Port: 32993 (32993)
Real-Time Transport Protocol

No. Time Source Destination Protocol Length Info
95 22.334737 192.168.1.1 10.1.1.1 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x11493BD, Seq=1135, Time=34702973

Frame 95: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Vmware_82:25:59 (00:50:56:82:25:59), Dst: Vmware_82:78:e4 (00:50:56:82:78:e4)
Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 10.1.1.1 (10.1.1.1)
User Datagram Protocol, Src Port: 32993 (32993), Dst Port: 15966 (15966)
Real-Time Transport Protocol

I may be wrong, but this seems to be the same issue:
https://issues.asterisk.org/jira/browse/ASTERISK-12493

I looked at their trace, and it seems similar to mine (for the DTMF portion).

Please read my instructions I didn’t say dial plan debug or debug, in fact they should be set to zero to unclutter the display. I said rtp debug. The dtmf info sis sent in the rtp stream and reconstructed at the other end.

Sorry about that…
Below is the start of the RTP debug trace.
(My real IP was replaced with 192.168.1.1 for display on the web)

[2012-12-06 03:28:53] VERBOSE[18672] app_dial.c: -- Called SIP/Tieus/4165551212 [2012-12-06 03:28:59] DEBUG[18672] res_rtp_asterisk.c: RTCP NAT: Got RTCP from other end. Now sending to address 207.112.37.25:34433 [2012-12-06 03:29:01] VERBOSE[18672] app_dial.c: -- SIP/Tieus-000203c4 is making progress passing it to SIP/EXT7771212-000203c3 207.112.37.25:34432 (type 18, seq 008182, ts 2057857392, len 000020) [2012-12-06 03:29:03] VERBOSE[18672] app_dial.c: -- SIP/Tieus-000203c4 answered SIP/EXT7771212-000203c3 [2012-12-06 03:29:03] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 207.112.37.25:34432 (type 18, seq 008183, ts 2057857552, len 000020) [2012-12-06 03:29:03] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.1:34185 (type 00, seq 029432, ts 2057865552, len 000160) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 192.168.1.1:34185 (type 101, seq 008511, ts 341036224, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP RFC2833 from 192.168.1.1:34185 (type 101, seq 008511, ts 341036224, len 000004, mark 1, event 00000001, end 0, duration 00480) [2012-12-06 03:29:04] DEBUG[18672] res_rtp_asterisk.c: - RTP 2833 Event: 00000001 (len = 4) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP DTMF packet to 207.112.37.25:34432 (type 101, seq 000555, ts 341036144, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP DTMF packet to 207.112.37.25:34432 (type 101, seq 000556, ts 341036144, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 192.168.1.1:34185 (type 101, seq 008511, ts 341036224, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP RFC2833 from 192.168.1.1:34185 (type 101, seq 008511, ts 341036224, len 000004, mark 1, event 00000001, end 0, duration 00480) [2012-12-06 03:29:04] DEBUG[18672] res_rtp_asterisk.c: - RTP 2833 Event: 00000001 (len = 4) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 192.168.1.1:34185 (type 101, seq 008511, ts 341036224, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP RFC2833 from 192.168.1.1:34185 (type 101, seq 008511, ts 341036224, len 000004, mark 1, event 00000001, end 0, duration 00480) [2012-12-06 03:29:04] DEBUG[18672] res_rtp_asterisk.c: - RTP 2833 Event: 00000001 (len = 4) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP DTMF packet to 207.112.37.25:34432 (type 101, seq 000557, ts 341036144, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 207.112.37.25:34432 (type 18, seq 008234, ts 2057865712, len 000020) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.1:34185 (type 00, seq 029433, ts 2057865712, len 000160) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 192.168.1.1:34185 (type 101, seq 008512, ts 341036224, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP RFC2833 from 192.168.1.1:34185 (type 101, seq 008512, ts 341036224, len 000004, mark 1, event 00000001, end 0, duration 00640) [2012-12-06 03:29:04] DEBUG[18672] res_rtp_asterisk.c: - RTP 2833 Event: 00000001 (len = 4) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP DTMF packet to 207.112.37.25:34432 (type 101, seq 000558, ts 341036144, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 207.112.37.25:34432 (type 18, seq 008235, ts 2057865872, len 000020) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.1:34185 (type 00, seq 029434, ts 2057865872, len 000160) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP packet from 192.168.1.1:34185 (type 101, seq 008513, ts 341036224, len 000004) [2012-12-06 03:29:04] VERBOSE[18672] res_rtp_asterisk.c: Got RTP RFC2833 from 192.168.1.1:34185 (type 101, seq 008513, ts 341036224, len 000004, mark 1, event 00000001, end 0, duration 00800)

It looks like you are sending properly framed RFC2833 events on wire. Those are private IP’s so I don’t know what I am looking at.

You need to make sure that Asterisk regenerates that message on the trunk and a correlated event goes to your carrier.

Then you can point fingers.

Also, I trimmed down you other log, you need to sanitize these things when posting.

I also suggest that you use pastebin.ca for long logs that clog up the forum (anything longer than a page).

Sorry, meant to mention that I changed the IPs for security.

10.1.1.1 is the server
192.168.1.1 is the user/device.

Sorry for the delay in replying, the posts here are out of sequence, so I did not notice it.