[asterisk-bugs] [Asterisk 0013327]: pattern match for a hints always gives state:idle for all extensions

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 5 20:46:59 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13327 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13327
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 138442 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-16 15:43 CDT
Last Modified:              2008-09-05 20:46 CDT
====================================================================== 
Summary:                    pattern match for a hints always gives state:idle
for all extensions
Description: 
I'm using this ael syntax for pattern match for hints
        hint(SIP/${EXTEN}) _ZXX => NoOP;
when subscribe to extensions using this pattern match, it gives always
"idle" state for all subscribed extensions, regardless of actual state of
line, it shows always "idle" for unregistered, or even not existent peers!

pattern match for hints feature was added into trunk in rev. 109970
====================================================================== 

---------------------------------------------------------------------- 
 (0092129) pj (reporter) - 2008-09-05 20:46
 http://bugs.digium.com/view.php?id=13327#c92129 
---------------------------------------------------------------------- 
Corydon76, I don't understand you, do you disagree, that this is bug? One
thing, that I expecting from feature "pattern match as a hint" is, that I
will use single line in dialplan like "hint(SIP/${EXTEN}) _ZXX => NoOP;" to
be able to subscribe to and monitor all extensions that I specify. And this
is also mentioned in CHANGES...
"It is now possible to specify a pattern match as a hint. Once a phone
subscribes to something that matches the pattern a hint will be created
using the contents and variables evaluated."

Until this feature was added, I must explicitly specify hints for every
line, that I would like to subscribe and monitor, like this....
        hint(SIP/108) 108 => NoOP;
        hint(SIP/164) 164 => NoOP;
        hint(SIP/239) 239 => NoOP;
        hint(SIP/255) 255 => NoOP;
I hoped, that "pattern match as a hint" feature, solved this anoying
requirement. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-05 20:46 pj             Note Added: 0092129                          
======================================================================




More information about the asterisk-bugs mailing list