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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 9 09:06:50 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:              08-09-2007 09:06 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.
====================================================================== 

---------------------------------------------------------------------- 
 bluefox - 08-09-07 09:06  
---------------------------------------------------------------------- 
Would this functionality allow me to use variables based on which device is
looking for status?  Example: I have 3 phones with SIP registrations that
have 3 different ${ACCOUNTCODE}.  Will I be able to do this:
exten => _XXX,hint,SIP/${ACCOUNTCODE}-${EXTEN}

So that phone1 checks SIP/account1-705 and phone2 checks SIP/account2-705
even though both are pointed to exten 705?

I ask because if so, I will be keeping a close eye on this issue and will
be glad to help test it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-09-07 09:06  bluefox        Note Added: 0068656                          
======================================================================




More information about the asterisk-bugs mailing list