[asterisk-bugs] [Asterisk 0016468]: Custom devsate set to INUSE but shows as UNAVAILABLE when accessing through the dialplan

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 18 16:02:59 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16468 
====================================================================== 
Reported By:                millsu2
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16468
Category:                   Functions/func_devstate
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.11 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-18 16:02 CST
Last Modified:              2009-12-18 16:02 CST
====================================================================== 
Summary:                    Custom devsate set to INUSE but shows as UNAVAILABLE
when accessing through the dialplan
Description: 
I set a custom device state to "INUSE" using
Set(DEVICE_STATE(Custom:device)=INUSE). Through "database show" or 
"devstate list" the state is listed as "INUSE" as it should, but when
getting the state in the dialplan using ${DEVICE_STATE(Custom:device)} it
returns "UNAVAILABLE". If I do "devstate change Custom:device INUSE" after
this happens then it works properly.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-18 16:02 millsu2        New Issue                                    
2009-12-18 16:02 millsu2        Asterisk Version          => 1.6.1.11        
2009-12-18 16:02 millsu2        Regression                => No              
2009-12-18 16:02 millsu2        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list