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 -- _______________________________________________ -- 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