Re: [asterisk-users] AEL Variable Warning Messages

2009-01-05 Thread Brent Davidson
Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AEL Variable Warning Messages Well, before I file a bug I have another question... In AEL, what is the correct syntax? Do all variable references still need to be wrapped

Re: [asterisk-users] AEL Variable Warning Messages

2009-01-05 Thread Benoit
Brent Davidson a écrit : Watkins, Bradley wrote: ... Well, before I file a bug I have another question... In AEL, what is the correct syntax? Do all variable references still need to be wrapped in ${} or not? If they do, then the documentation on voip-info.org needs to be

Re: [asterisk-users] AEL Variable Warning Messages

2009-01-05 Thread Brent Davidson
Benoit wrote: Brent Davidson a écrit : Another question along these lines... If I set a Global called TRUNK in the globals section and later assign do a TRUNK=whatever it appears that a local variable called TRUNK is created instead of using the global. You must explicitly use the

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-31 Thread Brent Davidson
Steve Murphy wrote: On Tue, 2008-12-23 at 12:14 -0600, Brent Davidson wrote: I have two offices sharing a phone system. They also share a common internal context because all of the employees of the second office also work for the first office. Each office has 4 outside lines and I have

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-31 Thread Watkins, Bradley
Subject: Re: [asterisk-users] AEL Variable Warning Messages Well, before I file a bug I have another question... In AEL, what is the correct syntax? Do all variable references still need to be wrapped in ${} or not? If they do, then the documentation on voip-info.org needs

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-29 Thread Steve Murphy
On Tue, 2008-12-23 at 12:14 -0600, Brent Davidson wrote: I have two offices sharing a phone system. They also share a common internal context because all of the employees of the second office also work for the first office. Each office has 4 outside lines and I have defined 2 channel

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Philipp Kempgen
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

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Brent Davidson
Philipp Kempgen wrote: 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:

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Dave Fullerton
Brent Davidson wrote: Philipp Kempgen wrote: 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]:

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Brent Davidson
Dave Fullerton wrote: I had gotten similar messages when I forgot to put quotes around channels like that (took me forever to realize that one). Since you have them I would say this is a bug. What version of asterisk are you running? -Dave I'm running 1.4.21.2 and I can't upgrade until

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Jeff LaCoursiere
On Tue, 23 Dec 2008, Brent Davidson wrote: Dave Fullerton wrote: I had gotten similar messages when I forgot to put quotes around channels like that (took me forever to realize that one). Since you have them I would say this is a bug. What version of asterisk are you running? -Dave I'm

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Tzafrir Cohen
On Tue, Dec 23, 2008 at 03:09:51PM -0600, Brent Davidson wrote: Unfortunately 1.4.22 no longer has Zaptel. :( Asterisk 1.4.22 builds with both Zaptel and DAHDI. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Brent Davidson
Tzafrir Cohen wrote: On Tue, Dec 23, 2008 at 03:09:51PM -0600, Brent Davidson wrote: Unfortunately 1.4.22 no longer has Zaptel. :( Asterisk 1.4.22 builds with both Zaptel and DAHDI. I spent several hours trying to make it work yesterday and it just wouldn't. I kept getting an

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Brent Davidson
Jeff LaCoursiere wrote: On Tue, 23 Dec 2008, Brent Davidson wrote: Dave Fullerton wrote: I had gotten similar messages when I forgot to put quotes around channels like that (took me forever to realize that one). Since you have them I would say this is a bug. What version of asterisk

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Tzafrir Cohen
On Tue, Dec 23, 2008 at 04:01:24PM -0600, Brent Davidson wrote: Tzafrir Cohen wrote: On Tue, Dec 23, 2008 at 03:09:51PM -0600, Brent Davidson wrote: Unfortunately 1.4.22 no longer has Zaptel. :( Asterisk 1.4.22 builds with both Zaptel and DAHDI. I spent several hours

Re: [asterisk-users] AEL Variable Warning Messages

2008-12-23 Thread Brent Davidson
Tzafrir Cohen wrote: What error message from where? With Zaptel the echo canceller settings are global (that is: one hard-coded echo canceller). With DAHDI there are echo canceller modules and you can (and actually need to) set them per-channel. It might have something to do with the