[asterisk-bugs] [DAHDI-linux 0014577]: [patch] FXO channels "hookstate" incorrect on startup

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 8 13:00:01 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14577 
====================================================================== 
Reported By:                jkroon
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14577
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     confirmed
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2009-03-01 16:16 CST
Last Modified:              2010-03-08 13:00 CST
====================================================================== 
Summary:                    [patch] 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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0015429 After the system reboot calls do not go...
====================================================================== 

---------------------------------------------------------------------- 
 (0119141) frawd (reporter) - 2010-03-08 13:00
 https://issues.asterisk.org/view.php?id=14577#c119141 
---------------------------------------------------------------------- 
That patch alone helps to have a correct Offhook-Onhook status on FXO
ports, but there are still no red alarms when no battery is on the line.

I have no idea what you are talking about in your last question. Tell me
how to check if that driver "sets the rxsig after chanconfig" and I'll do
it. :-)

The drivers are freely available at the following URL in case it can help
(I use the stable 3.4.9 version):
http://wiki.sangoma.com/wanpipe-linux-drivers 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-08 13:00 frawd          Note Added: 0119141                          
======================================================================




More information about the asterisk-bugs mailing list