[asterisk-dev] [svn-commits] mnick: branch 1.6.0 r233236 - in /branches/1.6.0: ./ pbx/pbx_config.c

Richard Mudgett rmudgett at digium.com
Mon Dec 7 09:45:34 CST 2009


This patch was to fix a parsing problem.  Not to add new functionality.

I think you are limited to substitutions for the hints only at dialplan load time.

Richard
----- "Olle E. Johansson" <oej at edvina.net> wrote:

> 4 dec 2009 kl. 21.29 skrev SVN commits to the Digium repositories:
> 
> >  Parse global variables or expressions in hint extensions. Like:
> exten => 400,hint,DAHDI/i2/${GLOBAL(var)}
> 
> I must have missed the review of this patch...
> 
> What is this supposed to mean?
> 
> Can we use any function? The patch is not limited to GLOBAL as a
> function.
> 
> This makes the extension state system very powerful, but also
> extremely hard to debug. We will surely get interesting locking issues
> with circular references here. 
> 
> 400,hint,${REALTIME(family, var)}
> 
> 400,hint,DAHDI/${RANDOM ...
> 
> How much testing has this patch gone through? 
> 
> /O
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list