[Asterisk-Dev] context variables
Eric Wieling aka ManxPower
eric at fnords.org
Sun Jul 10 20:33:37 MST 2005
Goldenear wrote:
> I found the solution for that:
> simply use ${VARIABLENAME-${CONTEXT}}=something
> this way we can have context dependent variables :)
> it may be a little tricky, but it doesn't need any patch or more coding...
You can also do things like ${VARIABLE[${SUBSCRIPT}]} to fake
subscripted variables.
--
Eric Wieling * BTEL Consulting * 504-210-3699 x2120
More information about the asterisk-dev
mailing list