[asterisk-bugs] [Asterisk 0014577]: FXO channels "hookstate" incorrect on startup

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 4 13:36:39 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14577 
====================================================================== 
Reported By:                jkroon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14577
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-01 16:16 CST
Last Modified:              2009-03-04 13:36 CST
====================================================================== 
Summary:                    FXO channels "hookstate" incorrect on startup
Description: 
Referencing bug 13786 (http://bugs.digium.com/view.php?id=13786) which
attempts to work around an underlying problem in userspace (chan_dahdi). 
The issue seems to be (as described by tzafrir):

It seems to expose a bug(?) in zaptel/dahdi where chan->rxhooksig is set
to RX_HOOKSIG_INITIAL at the end of chanconfig() which leaves the channel's
state there "uninitialized" and even if the channel driver knows better it
cannot override this decision. But I'm not sure what's the intended
behaviour, so I avoid a seperate bug report on that for now.

This is manifested in that I cannot make outbound calls on an FXO card
(Using FXSKS signalling) until I've received an incoming call resetting the
hookstate to offhook (A single ring is good enough), or alternatively,
disconnecting and reconnecting the telephone line.
====================================================================== 

---------------------------------------------------------------------- 
 (0101216) lmadsen (administrator) - 2009-03-04 13:36
 http://bugs.digium.com/view.php?id=14577#c101216 
---------------------------------------------------------------------- 
jkroon: if you sign the license, it is entirely online, and is usually
accepting within 24-48 business hours, so I'd say go ahead and sign the
disclaimer, and submit a patch. It'll help move the issue forward.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-04 13:36 lmadsen        Note Added: 0101216                          
======================================================================




More information about the asterisk-bugs mailing list