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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jun 21 13:31:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/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:                     new
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-21 13: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;
}


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

---------------------------------------------------------------------- 
 (0106763) kowalma (reporter) - 2009-06-21 13:31
 https://issues.asterisk.org/view.php?id=14413#c106763 
---------------------------------------------------------------------- 
Hi,

 I've found same bug in 1.6.1.1


Asterisk-node1*CLI> core show hints
Asterisk-node1*CLI>
    -= Registered Asterisk Dial Plan Hints =-
                   1063 at hints               : SIP/1063             
State:Idle            Watchers  0
                   1064 at hints               : SIP/1064             
State:Idle            Watchers  0
----------------
- 2 hints registered
Asterisk-node1*CLI>

but 1063 does not exist at all

Asterisk-node1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status    
Realtime
1064/1064                  94.209.100.75    D   N      5064     OK (91 ms)
Cached RT
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0
offline]
Asterisk-node1*CLI> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-21 13:31 kowalma        Note Added: 0106763                          
======================================================================




More information about the asterisk-bugs mailing list