[asterisk-users] AEL Variable Warning Messages

Philipp Kempgen philipp.kempgen at amooma.de
Tue Dec 23 13:38:44 CST 2008


Brent Davidson schrieb:

> macro outside-dial ( num ) {
>   if (${DB_EXISTS(Office/${CALLERID(num)})}) {
>     TRUNK="Zap/r2";
>   } else {
>     TRUNK="Zap/r1";
>   }
>   Dial(${TRUNK}/${num},,Ttok);
> }

> [Dec 23 12:16:22] WARNING[2994]: pbx_ael.c:2500 check_pval_item: 
> Warning: file /etc/asterisk/extensions.ael, line 93-93: expression 
> "Zap/r2" has operators, but no variables. Interesting...
> [Dec 23 12:16:22] WARNING[2994]: pbx_ael.c:2500 check_pval_item: 
> Warning: file /etc/asterisk/extensions.ael, line 95-95: expression 
> "Zap/r1" has operators, but no variables. Interesting...

I'd suggest
	Set(TRUNK=Zap/r2);
resp.
	Set(TRUNK=Zap/r1);


   Philipp Kempgen

-- 
http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list