[asterisk-bugs] [Asterisk 0016035]: [patch] Status of dahdi/zap channels incorrectly reported unavailable instead of idle

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 16 13:31:08 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16035 
====================================================================== 
Reported By:                francesco_r
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   16035
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.4.35
Asterisk Version:           SVN 
JIRA:                       SWP-580 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-10-07 05:57 CDT
Last Modified:              2010-07-16 13:31 CDT
====================================================================== 
Summary:                    [patch] Status of dahdi/zap channels incorrectly
reported unavailable instead of idle
Description: 
Using the latest asterisk 1.4 releases, the state of a zaptel/dahdi
extension in idle is incorrecly reported with core show hints. For example
this is the output of a zaptel installation:
271 at ext-local           : ZAP/32                State:Unavailable    
Watchers  0

Or this is with dahdi:
521 at ext-local           : DAHDI/1               State:Unavailable    
Watchers  1

Instead ringing and inuse is correcly reported:
521 at ext-local           : DAHDI/1               State:Ringing        
Watchers  1

With an old 1.2 asterisk the status is always correct:
251                 : ZAP/32                State:Idle            Watchers
 0


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016472 hints : DEVSTATE UNAVAIABLE not interpr...
====================================================================== 

---------------------------------------------------------------------- 
 (0124635) svnbot (reporter) - 2010-07-16 13:31
 https://issues.asterisk.org/view.php?id=16035#c124635 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 277331

_U  trunk/
U   trunk/main/pbx.c

------------------------------------------------------------------------
r277331 | mnicholson | 2010-07-16 13:31:07 -0500 (Fri, 16 Jul 2010) | 15
lines

Merged revisions 277327 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r277327 | mnicholson | 2010-07-16 13:30:22 -0500 (Fri, 16 Jul 2010) | 8
lines
  
  Interpret device state AST_DEVICE_UNKNOWN as extension state
AST_EXTENSION_NOT_INUSE.
  
  (closes issue https://issues.asterisk.org/view.php?id=16035)
  Reported by: francesco_r
  Patches:
        pbx.c.patch uploaded by viniciusfontes (license 978)
  Tested by: francesco_r, agx, lawbar
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-16 13:31 svnbot         Checkin                                      
2010-07-16 13:31 svnbot         Note Added: 0124635                          
======================================================================




More information about the asterisk-bugs mailing list