DTMF hanhup problem

I have encounter a problem using Asterisk and a TE110P card.

Once a telephone communication is established, if I send several DTMF
tones at an interval less than a second the communication terminates.
This can happen as well when the interval between DTMF is more than a second but in that case it happens less frequently and in a random fashion.

Does anybody have any idea of how to solve that problem?

you will need to post the debug info…

first what happens on the CLI when this occurs
second if one leg of the call is sip or iax, do sip debug or iax2 debug and post the entire sequence of the call
third do pri debug for the span this is happening on…

then post the results of these if you don’t immediately see a problem.

Thank you for your reply.

I am calling from an analog phone connected on the Asterisk PBX another analog phone connected to another PBX. The two PBX are connected using PRI (EuroIsdn protocol). I have noticed that when Asterisk receives a burst of DTMFs the communication hangs up.

Here is the log you requested. I do not know if you find it usefull. Thanking you in advance for your help.

-- Starting simple switch on 'Zap/2-1'
-- Executing Macro("Zap/2-1", "Dial|Zap/g1/120") in new stack
-- Executing AbsoluteTimeout("Zap/2-1", "72000") in new stack
-- Set Absolute Timeout to 72000
-- Executing Dial("Zap/2-1", "Zap/g1/120|60|tr") in new stack

– Making new call for cr 32778

Protocol Discriminator: Q.931 (8) len=29
Call Ref: len= 2 (reference 10/0xA) (Originator)
Message type: SETUP (5)
[04 03 80 90 a3]
Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
Ext: 1 User information layer 1: A-Law (35)
[18 03 a9 83 81]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
ChanSel: Reserved
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 1 ]
[6c 05 49 80 36 30 32]
Calling Number (len= 7) [ Ext: 0 TON: Subscriber Number (4) NPI: Private Numbering Plan (9)
Presentation: Presentation permitted, user number not screened (0) ‘602’ ]
[70 04 c9 31 32 30]
Called Number (len= 6) [ Ext: 1 TON: Subscriber Number (4) NPI: Private Numbering Plan (9) ‘120’ ]
[a1]
Sending Complete (len= 1)
– Called g1/120
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 32778/0x800A) (Terminator)
< Message type: ALERTING (1)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
– Processing IE 24 (cs0, Channel Identification)
– Zap/9-1 is ringing
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 32778/0x800A) (Terminator)
< Message type: CONNECT (7)
Protocol Discriminator: Q.931 (8) len=5
Call Ref: len= 2 (reference 10/0xA) (Originator)
Message type: CONNECT ACKNOWLEDGE (15)
– Zap/9-1 answered Zap/2-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
– Attempting native bridge of Zap/2-1 and Zap/9-1
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 10/0xA) (Originator)
Message type: DISCONNECT (69)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Hungup ‘Zap/9-1’
== Spawn extension (macro-Dial, s, 2) exited non-zero on ‘Zap/2-1’ in macro ‘Dial’
== Spawn extension (calls_from_private_phone, 0120, 1) exited non-zero on ‘Zap/2-1’
– Hungup 'Zap/2-1’
asterisk*CLI>

hmmm, no idea. I’ll give this a bump tho.

Thank you IronHelix,

I think that I found the cause of the problem.
Even though it looks wierd to me it is due to the fact
that the “busy detection” feature that was activated.