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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 16:48:18 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13327 
====================================================================== 
Reported By:                pj
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13327
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
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-12-10 16:48 CST
====================================================================== 
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
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0007767 [patch] Allow a simple lookup for hint ...
====================================================================== 

---------------------------------------------------------------------- 
 (0096153) svnbot (reporter) - 2008-12-10 16:48
 http://bugs.digium.com/view.php?id=13327#c96153 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 162922

U   trunk/main/pbx.c

------------------------------------------------------------------------
r162922 | tilghman | 2008-12-10 16:48:18 -0600 (Wed, 10 Dec 2008) | 7
lines

Checking global variables here actually overwrote the previous
substitution by
channel variables, and in any case, was redundant;
pbx_substitute_variables_helper ALREADY does substitution for global
variables.
(closes issue http://bugs.digium.com/view.php?id=13327)
 Reported by: pj

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 16:48 svnbot         Checkin                                      
2008-12-10 16:48 svnbot         Note Added: 0096153                          
======================================================================




More information about the asterisk-bugs mailing list