[asterisk-bugs] [Asterisk 0007767]: [patch] Allow a simple lookup for hint extensions

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 16 16:20:22 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7767 
====================================================================== 
Reported By:                Corydon76
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   7767
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 55435 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             08-19-2006 23:44 CDT
Last Modified:              10-16-2007 16:20 CDT
====================================================================== 
Summary:                    [patch] Allow a simple lookup for hint extensions
Description: 
Currently, all hints must contain only expressions which do not depend upon
a channel definition, since hints may be called without a channel. 
However, since hints are always context- and extension-specific, there
should be a way to reference those indicated values when evaluating a hint.
====================================================================== 

---------------------------------------------------------------------- 
 pj - 10-16-07 16:20  
---------------------------------------------------------------------- 
I'm trying your patch with this ael syntax:

context linestates {
        hint(SIP/322) 322 => NoOP;
        hint(SIP/324) 324 => NoOP;
        hint(SIP/408) 408 => NoOP;
        hint(SIP/743) 743 => NoOP;
        hint(SIP/${EXTEN}) _ZXX => NoOP;
}

but seems, that is not working, 'core show hints' shows:

                   _ZXX at linestates          : SIP/${EXTEN}         
State:Unavailable     Watchers  0
                    743 at linestates          : SIP/743              
State:Unavailable     Watchers  0
                    408 at linestates          : SIP/408              
State:Idle            Watchers  0
                    324 at linestates          : SIP/324              
State:Idle            Watchers  0
                    322 at linestates          : SIP/322              
State:Unavailable     Watchers  0


and when I tried subscribe to monitor extension eg. 777, it often crashes
asterisk and on eyebeam this extension is offline all the time...
monitoring others extension, from example above, is working fine...

eyebeam 1.5.16
SVN-trunk-r85944M 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-16-07 16:20  pj             Note Added: 0072117                          
======================================================================




More information about the asterisk-bugs mailing list