[asterisk-bugs] [Asterisk 0015348]: When dialing a feature code, devstate function returns NOT_INUSE

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 22 08:52:26 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15348 
====================================================================== 
Reported By:                arunpereira
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15348
Category:                   Functions/func_devstate
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-17 17:38 CDT
Last Modified:              2009-09-22 08:52 CDT
====================================================================== 
Summary:                    When dialing a feature code, devstate function
returns NOT_INUSE
Description: 
Simple way to reproduce is to create a script such as 

exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Set(THISPEER=SIP/${CALLERID(num)}-${tenant})
exten => s,n,NoOp(${THISPEER} has state ${DEVSTATE(${THISPEER})}) 
exten => s,n,Wait(10)
exten => s,n,Hangup


-- Executing [s at macro-app-callwait-test:13]
NoOp("SIP/2001-Whosits-b7350b08", "SIP/2001-Whosits has state NOT_INUSE")
in new stack

However, the script above is run by calling a test star code like *00.
Would this not count as being on a call? 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-22 08:52 lmadsen        Resolution               open => suspended   
======================================================================




More information about the asterisk-bugs mailing list