[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:37:45 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-02-05 10:26 CST
Last Modified:              2009-06-26 14:37 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;
}


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

---------------------------------------------------------------------- 
 (0107037) svnbot (reporter) - 2009-06-26 14:37
 https://issues.asterisk.org/view.php?id=14413#c107037 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 203704

_U  branches/1.6.1/
U   branches/1.6.1/include/asterisk/devicestate.h
U   branches/1.6.1/main/devicestate.c
U   branches/1.6.1/main/pbx.c

------------------------------------------------------------------------
r203704 | russell | 2009-06-26 14:37:44 -0500 (Fri, 26 Jun 2009) | 12
lines

Merged revisions 203702 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  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=203704 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-26 14:37 svnbot         Checkin                                      
2009-06-26 14:37 svnbot         Note Added: 0107037                          
======================================================================




More information about the asterisk-bugs mailing list