[asterisk-users] Variable variables

Ishfaq Malik ish at pack-net.co.uk
Tue Jun 16 08:12:30 CDT 2015


Hi

Can asterisk handle asterisk variable variables?

For example:

If I were to set

FOO300=BAR111

and I had something in a dialplan like:

_3XX,1,NoOp(${FOO${EXTEN}})

And the user had entered 300, it would output BAR111

We are using asterisk 1.8

Thanks in advance

Ish

-- 

Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)161 660 2350
f: +44 (0)161 660 9825
e: ish at pack-net.co.uk
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150616/aa8226b5/attachment.html>


More information about the asterisk-users mailing list