[asterisk-bugs] [Asterisk 0019257]: [patch] Unable to pickup ringing DAHDI call, as when ringing state is reported as DIALLING

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 10 18:41:11 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19257 
====================================================================== 
Reported By:                alecdavis
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   19257
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-3439 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 315673 
Request Review:              
====================================================================== 
Date Submitted:             2011-05-10 00:12 CDT
Last Modified:              2011-05-10 18:41 CDT
====================================================================== 
Summary:                    [patch] Unable to pickup ringing DAHDI call, as when
ringing state is reported as DIALLING
Description: 
As pickup_by_exten and it's helper can_pickup() only check for
AST_STATE_RING || AST_STATE_RINGING || AST_STATE_DOWN it cannot pickup
DAHDI call, which when ringing are in the AST_STATE_DIALLING

Hardware: TE220: PCI-Express dual-port T1/E1/J1

The issue for us is an outbound call from asterisk to our legacy Fujitsu
PBX's night bell. Someone on either PABX should be able to pick it up.

====================================================================== 

---------------------------------------------------------------------- 
 (0134772) svnbot (reporter) - 2011-05-10 18:41
 https://issues.asterisk.org/view.php?id=19257#c134772 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318499

U   branches/1.8/channels/sig_pri.c
U   branches/1.8/channels/sig_ss7.c

------------------------------------------------------------------------
r318499 | rmudgett | 2011-05-10 18:41:10 -0500 (Tue, 10 May 2011) | 15
lines

Unable to pickup DAHDI/PRI call because call state is reported as DIALING.

The channel state is not updated to RINGING when an ALERTING message is
received.  Regression caused when sig_pri.c (also sig_ss7.c) extracted
from chan_dahdi.c.

* Added missing channel state update to RINGING when the
AST_CONTROL_RINGING frame is queued for ISDN and SS7.

(closes issue https://issues.asterisk.org/view.php?id=19257)
Reported by: alecdavis
Patches:
      issue19257_v1.8_v2.patch uploaded by rmudgett (license 664)
Tested by: alecdavis, rmudgett

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-10 18:41 svnbot         Checkin                                      
2011-05-10 18:41 svnbot         Note Added: 0134772                          
======================================================================




More information about the asterisk-bugs mailing list