[asterisk-bugs] [Asterisk 0010530]: DTMFs passing only in part between two asterisk machines with an IAX2 connection

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 23 13:35:04 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10530 
====================================================================== 
Reported By:                xmarksthespot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10530
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 79747 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-22-2007 11:30 CDT
Last Modified:              08-23-2007 13:35 CDT
====================================================================== 
Summary:                    DTMFs passing only in part between two asterisk
machines with an IAX2 connection
Description: 
Note: I am unable to pinpoint the exact location of the problem, be it SIP,
IAX or something else. To the best of my knowledge the fault lies with IAX,
but I may be incorrect.

Here are the network setups:
Setup 1: PSTN <-- PRI --> Asterisk1 <-- IAX2 --> MyPBX <-- SIP -->
MyPolycomPhone
Setup 2: PSTN <-- Analog Lines --> OtherPBX <-- SIP --> MyPolycomPhone

The network setup between all these setups is always the same, only a
single switch separates these machines.

When a call is initiated (I usually test with the call being initiated
from MyPolycomPhone out to the PSTN), the passing of the DTMFs becomes very
incomplete, even if seems to depend on the length of the keypresses.

For example, I use MyPolycomPhone and call out to one of my Dialogic
machines. The Dialogic machine answers me and awaits that I enter
something. If I dial very fast, usually a sequence like 1234567890, only a
very small part of the dtmfs actually make it through. The others seem to
be simply missing. It's as if they never made it, or were never pressed, at
least it seems that way to the Asterisk1 machine.

However, the local dtmf detection on MyPBX is flawless, which leads me to
believe it might be some issue with IAX2 instead of SIP. I made an
extensions that uses the Read() command and waits for the user to enter 10
digits. Everytime I tried it, as fast as I could, it worked flawlessly.

On the PSTN, it is totally the opposite. The majority of the DTMFs do not
pass. It usually seems to depend on the length of the keypresses. If the
keypresses are done in a slow, controlled manner they pass. If I use "setup
2", knowing that the OtherPBX is an Asterisk 1.2 machine with analog lines,
the same test, the DTMFs on the PSTN work flawlessly, just like locally on
"setup 1". 

Then I decided to hook up OtherPBX in the same way as MyPBX is hooked,
that is to create setup 3, which would be like so:

Setup 3: PSTN <-- PRI --> Asterisk1 <-- IAX2 --> OtherPBX <-- SIP -->
MyPolycomPhone

This Setup 3 works flawlessly. I haven't submitted any debug of it,
because everything is dandy.

So there's something weird going on when MyPBX (SVN Branch 1.4 rev 79747)
talks DTMFs to Asterisk1 (1.4.6).
====================================================================== 

---------------------------------------------------------------------- 
 jsmith - 08-23-07 13:35  
---------------------------------------------------------------------- 
I've seen a similar issue, and Josh Colp was looking into it for me.  I
just got back from vacation, so I'll ping him and we'll try a few things
out and see if we can't get this problem solved once and for all. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-23-07 13:35  jsmith         Note Added: 0069326                          
======================================================================




More information about the asterisk-bugs mailing list