On Tue, 16 Jun 2015, Ishfaq Malik wrote:

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

Yes.

1) Rather than relying on the 'side effect' of the noop() application, you should use the application specifically designed for the purpose of outputting to the console, verbose().

2) You could have had your answer in 2 minutes instead of 2 hours if you had just tried it yourself.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to