[asterisk-bugs] [Asterisk 0015348]: When dialing a feature code, devstate function returns NOT_INUSE
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Aug 31 09:15:52 CDT 2009
The following issue requires your FEEDBACK.
======================================================================
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: major
Priority: normal
Status: feedback
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-08-31 09:15 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?
======================================================================
----------------------------------------------------------------------
(0109847) lmadsen (administrator) - 2009-08-31 09:15
https://issues.asterisk.org/view.php?id=15348#c109847
----------------------------------------------------------------------
You haven't provided enough information to determine if that is the case or
not. What does your sip.conf configuration look like (relevant parts)? What
does your dialplan look like? Do you have hints and call-limit setup
correctly? Does your call status look correct everywhere else?
Please provide the relevant information in order for someone to reproduce
your scenario to determine if this is a bug or a configuration issue.
Thanks!
Issue History
Date Modified Username Field Change
======================================================================
2009-08-31 09:15 lmadsen Note Added: 0109847
2009-08-31 09:15 lmadsen Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list