[asterisk-bugs] [Asterisk 0018173]: DEVICE_STATE not returning accurate result

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 20 08:38:50 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18173 
====================================================================== 
Reported By:                russell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18173
Category:                   Functions/func_devstate
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0-rc5 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-20 08:38 CDT
Last Modified:              2010-10-20 08:38 CDT
====================================================================== 
Summary:                    DEVICE_STATE not returning accurate result
Description: 
Dialplan:

exten => 7012,1,Answer()
    same => n,Wait(1)
    same => n,NoOp(The state of SIP/0004F2060EB4 is
${DEVICE_STATE(SIP/0004F2060EB4)})


Console output:

    -- Executing [7012 at phones:1] Answer("SIP/0004F2060EB4-0000000a", "")
in new stack
    -- Executing [7012 at phones:2] Wait("SIP/0004F2060EB4-0000000a", "1") in
new stack
    -- Executing [7012 at phones:3] NoOp("SIP/0004F2060EB4-0000000a", "The
state of SIP/0004F2060EB4 is NOT_INUSE") in new stack


The calling device is reported as NOT_INUSE.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-20 08:38 russell        New Issue                                    
2010-10-20 08:38 russell        Asterisk Version          => 1.8.0-rc5       
2010-10-20 08:38 russell        Regression                => No              
2010-10-20 08:38 russell        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list