[asterisk-bugs] [Asterisk 0014434]: Dahdi does not wait for wink on outbound calls before dialing DTMF with Signalling type = em_w

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 10 13:41:19 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14434 
====================================================================== 
Reported By:                araasch
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14434
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.5 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-08 15:18 CST
Last Modified:              2009-02-10 13:41 CST
====================================================================== 
Summary:                    Dahdi does not wait for wink on outbound calls
before dialing DTMF with Signalling type = em_w
Description: 
No provision for proper handling of the E&M wink start protocol exists in
chan_dahdi.c for outbound dialing from Asterisk.  The switch statement in
chan_dahdi.c lines 1950 and 1951 treat signalling types SIG_EMWINK and
SIG_EM exactly the same.

Asterisk should first take the channel offhook, wait for a wink from the
far end, then dial.

As it is, it takes the channel offhook, and immediately dials.

This is correct for E&M Immediate Start, but not for E&M Wink Start.

This was first reported 2005-03-15 with tracker id of 3772 which described
the problem in chan_zap.c

It appears no further action was taken.

This behavior has been verified with T1 test equipment.

I checked the code on the online Doxygen system to determine if any
further updates had addressed this issue, and it appears that none has.

Thanks.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0003772 chan_zap does not wait for wink on E&am...
====================================================================== 

---------------------------------------------------------------------- 
 (0099833) araasch (reporter) - 2009-02-10 13:41
 http://bugs.digium.com/view.php?id=14434#c99833 
---------------------------------------------------------------------- 
I wrote a code fix that corrects the problem which works o.k. for
normal call flows, but lacks the proper error condition handling that
should be used in a production environment.

I will continue to improve the fix and submit a patch if and when I
get it to a satisfactory level.

-Arlen 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-10 13:41 araasch        Note Added: 0099833                          
======================================================================




More information about the asterisk-bugs mailing list