Re: [asterisk-users] AEL in 1.6 and Gosub

2010-03-17 Thread Klaus Darilion
Am 17.03.2010 00:40, schrieb Steve Murphy: How about: blacklist(${exten}); macro blacklist(the_exten) { switch(the_exten) { pattern +4390[01]: Hangup(); default: return; } } Yes, that would work. I didn't knew the pattern

Re: [asterisk-users] AEL in 1.6 and Gosub

2010-03-17 Thread Elliot Murdock
Hello Klaus, Just for your quick reference, here are some other changes in the AEL from versions 1.4 to 1.6 (source: http://asteriskuptospeed.linuxinnovations.com/core1.4-1.6.2.html and CHANGES file) : Macros are now implemented underneath with the Gosub() application. Heaven Help You if you

Re: [asterisk-users] AEL in 1.6 and Gosub

2010-03-16 Thread Steve Murphy
On Mon, Mar 15, 2010 at 12:47 PM, Klaus Darilion klaus.mailingli...@pernau.at wrote: Am 15.03.2010 13:48, schrieb Kevin P. Fleming: Klaus Darilion wrote: Hi! I just updated from 1.4 to 1.6.2.6 and Asterisk complains about my AEL dialplan: application call to Gosub affects

[asterisk-users] AEL in 1.6 and Gosub

2010-03-15 Thread Klaus Darilion
Hi! I just updated from 1.4 to 1.6.2.6 and Asterisk complains about my AEL dialplan: application call to Gosub affects flow of control, and needs to be re-written using AEL if, while, goto, etc. keywords instead What is the suggested replacement for an explicit Gosub() call? I use it

Re: [asterisk-users] AEL in 1.6 and Gosub

2010-03-15 Thread Kevin P. Fleming
Klaus Darilion wrote: Hi! I just updated from 1.4 to 1.6.2.6 and Asterisk complains about my AEL dialplan: application call to Gosub affects flow of control, and needs to be re-written using AEL if, while, goto, etc. keywords instead What is the suggested replacement for an

Re: [asterisk-users] AEL in 1.6 and Gosub

2010-03-15 Thread Klaus Darilion
Am 15.03.2010 13:48, schrieb Kevin P. Fleming: Klaus Darilion wrote: Hi! I just updated from 1.4 to 1.6.2.6 and Asterisk complains about my AEL dialplan: application call to Gosub affects flow of control, and needs to be re-written using AEL if, while, goto, etc. keywords instead