[asterisk-bugs] [Asterisk 0014413]: state of non existent extensions should not be "Idle"

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 26 14:31:15 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14413 
====================================================================== 
Reported By:                pj
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14413
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Target Version:             1.4.28
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 173311 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-05 10:26 CST
Last Modified:              2009-06-26 14:31 CDT
====================================================================== 
Summary:                    state of non existent extensions should not be
"Idle"
Description: 
If user subscribes to extension, that doesn't exist at all in sip.conf, 
asterisk should not report state of this extension as 'idle' as it
currently does, but instead, 'unknown' state we be more apropriate.
I'm using pattern match feature for hints definition in dialplan:

context linestates {
        hint(SIP/${EXTEN}) _ZXX! => NoOP;
}


====================================================================== 

---------------------------------------------------------------------- 
 (0107036) svnbot (reporter) - 2009-06-26 14:31
 https://issues.asterisk.org/view.php?id=14413#c107036 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 203702

U   trunk/include/asterisk/devicestate.h
U   trunk/main/devicestate.c
U   trunk/main/pbx.c

------------------------------------------------------------------------
r203702 | russell | 2009-06-26 14:31:14 -0500 (Fri, 26 Jun 2009) | 5 lines

Make invalid hints report Unavailable instead of Idle.

(closes issue https://issues.asterisk.org/view.php?id=14413)
Reported by: pj

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=203702 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-26 14:31 svnbot         Note Added: 0107036                          
======================================================================




More information about the asterisk-bugs mailing list