[asterisk-users] AEL: how to copy a variable without interpretation of the content

Philipp Kempgen philipp.kempgen at amooma.de
Wed Apr 23 08:10:38 CDT 2008


Eric Dantie schrieb:
> I've got the next AEL:
> 
>        TEST=${X-CALLID};
>        NoOp(${TEST});
> 
> where X-CALLID=ctprueba-1208953210.12 (passed by a custom sip header)  
> 
> Executing I've got the error:
> 
> [2008-04-23 13:24:01] WARNING[15638]: ast_expr2.y:742 op_minus: non-numeric argument

X_CALLID=SIP_HEADER(X-CALLID);
NoOp(${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