[asterisk-bugs] [Asterisk 0014434]: [patch] 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
Mon Jul 20 18:23:20 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14434 
====================================================================== 
Reported By:                araasch
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   14434
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
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-07-20 18:23 CDT
====================================================================== 
Summary:                    [patch] 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0108001) svnbot (reporter) - 2009-07-20 18:23
 https://issues.asterisk.org/view.php?id=14434#c108001 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 207573

U   branches/1.4/channels/chan_dahdi.c

------------------------------------------------------------------------
r207573 | jpeeler | 2009-07-20 18:23:20 -0500 (Mon, 20 Jul 2009) | 10
lines

Wait for wink before dialing when using E&M wink signaling

This patch adds a new dahdi_wait function to specifically wait for the
wink
event. If the wink is not eventually received the channel is hung up. 

(closes issue https://issues.asterisk.org/view.php?id=14434)
Reported by: araasch
Patches:
      emwinkmod uploaded by araasch (license 693)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=207573 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-20 18:23 svnbot         Checkin                                      
2009-07-20 18:23 svnbot         Note Added: 0108001                          
======================================================================




More information about the asterisk-bugs mailing list