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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 6 02:32:15 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14413 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14413
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
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-02-06 02:32 CST
====================================================================== 
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;
}


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

---------------------------------------------------------------------- 
 (0099588) pj (reporter) - 2009-02-06 02:32
 http://bugs.digium.com/view.php?id=14413#c99588 
---------------------------------------------------------------------- 
patched successfully, but nothing changed, non existent devices are still
considered as idle, like 'SIP/888phone' from my example...

    -= Registered Asterisk Dial Plan Hints =-
               888phone at linestates          : SIP/888phone         
State:Idle            Watchers  1
                    743 at linestates          : SIP/743              
State:Unavailable     Watchers  1
                    726 at linestates          : SIP/726              
State:Idle            Watchers  1
                    455 at linestates          : SIP/455              
State:Unavailable     Watchers  1
                    408 at linestates          : SIP/408              
State:Idle            Watchers  1
                   324p at linestates          : SIP/324p             
State:Idle            Watchers  1
                    324 at linestates          : SIP/324              
State:Idle            Watchers  1
                    322 at linestates          : SIP/322              
State:Unavailable     Watchers  1
                  _ZXX!@linestates          : SIP/${EXTEN}         
State:Idle            Watchers  0
---------------- 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-06 02:32 pj             Note Added: 0099588                          
======================================================================




More information about the asterisk-bugs mailing list