[asterisk-bugs] [Asterisk 0015348]: When dialing a feature code, devstate function returns NOT_INUSE
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 15 18:16:06 CDT 2009
The following issue has been ASSIGNED.
======================================================================
https://issues.asterisk.org/view.php?id=15348
======================================================================
Reported By: arunpereira
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 15348
Category: Functions/func_devstate
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: 1.4.24
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-17 17:38 CDT
Last Modified: 2009-07-15 18:16 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-07-15 18:16 dvossel Status new => assigned
2009-07-15 18:16 dvossel Assigned To => dvossel
======================================================================
More information about the asterisk-bugs
mailing list