[asterisk-users] how to copy a variable without interpretation of the content
Philipp Kempgen
philipp.kempgen at amooma.de
Wed Apr 23 09:06:49 CDT 2008
Eric Dantie schrieb:
> Sorry, bad expressed, what I want to know is how can I do this in AEL:
>
> I've already got a variable X-CALLID with the content ctprueba-123456789.12
>
> How can I copy the content X-CALLID to the new variable TEST?
>
> something like TEST=${X-CALLID};
>
> (The problem comes because of the operator minus).
I'm not sure if "-" is a valid character in the name of a variable
in AEL. It's not allowed in just about any other language. So first
of all I'd rename X-CALLID to X_CALLID.
Regards,
Philipp Kempgen
--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de
Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
More information about the asterisk-users
mailing list