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

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to