Re: [asterisk-users] AEL and };

2009-01-08 Thread Klaus Darilion
Watkins, Bradley schrieb: > > >> -Original Message- >> From: asterisk-users-boun...@lists.digium.com >> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of >> Klaus Darilion >> Sent: Thursday, January 08, 2009 8:28 AM >> To: Asterisk Users Mailing List - Non-Commercial Disc

Re: [asterisk-users] AEL and };

2009-01-08 Thread Watkins, Bradley
> -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of > Klaus Darilion > Sent: Thursday, January 08, 2009 8:28 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] AEL

Re: [asterisk-users] AEL and };

2009-01-08 Thread Olivier
2009/1/8 Klaus Darilion > Hi! > > All the AEL examples have a semicolon after the closing curly bracket, e.g: > > context test { > 1 => Hangup(); > }; > > but without ; it works fine too, e.g: > > > context test { > 1 => Hangup(); > } > > > So - what is the reason for the ; after the closing

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-07 Thread Atis Lezdins
On Tue, Oct 7, 2008 at 2:20 PM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > > > Atis Lezdins wrote: >> On Tue, Oct 7, 2008 at 8:45 AM, Pavel Jezek <[EMAIL PROTECTED]> wrote: >> >>> Steve Murphy wrote: >>> On Mon, 2008-10-06 at 18:25 +0200, Pavel Jezek wrote: > Atis Lezdins wrote: >>

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-07 Thread Pavel Jezek
Atis Lezdins wrote: > On Tue, Oct 7, 2008 at 8:45 AM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > >> Steve Murphy wrote: >> >>> On Mon, 2008-10-06 at 18:25 +0200, Pavel Jezek wrote: >>> >>> Atis Lezdins wrote: > On Mon, Oct 6, 2008 at 5:21 PM, Pavel Jezek <

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-07 Thread Atis Lezdins
On Tue, Oct 7, 2008 at 8:45 AM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > > > Steve Murphy wrote: >> On Mon, 2008-10-06 at 18:25 +0200, Pavel Jezek wrote: >> >>> Atis Lezdins wrote: >>> On Mon, Oct 6, 2008 at 5:21 PM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > Hi, according to discu

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-06 Thread Pavel Jezek
Steve Murphy wrote: > On Mon, 2008-10-06 at 18:25 +0200, Pavel Jezek wrote: > >> Atis Lezdins wrote: >> >>> On Mon, Oct 6, 2008 at 5:21 PM, Pavel Jezek <[EMAIL PROTECTED]> wrote: >>> >>> Hi, according to discussion on asterisk IRC, where people said, that macros will b

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-06 Thread Steve Murphy
On Mon, 2008-10-06 at 18:25 +0200, Pavel Jezek wrote: > > Atis Lezdins wrote: > > On Mon, Oct 6, 2008 at 5:21 PM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > > > >> Hi, according to discussion on asterisk IRC, where people said, that > >> macros will be depracated, I tried to migrate from macros t

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-06 Thread Kevin P. Fleming
Pavel Jezek wrote: > yes, I know, but I hear on IRC, that macros will be deprecated and > suggestion was to move to contexts, > personaly I would like also move away from macros, because macros have > some limitations, eg. variable number of arguments isn't possible with > classic macros, > mac

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-06 Thread Pavel Jezek
Atis Lezdins wrote: > On Mon, Oct 6, 2008 at 5:21 PM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > >> Hi, according to discussion on asterisk IRC, where people said, that >> macros will be depracated, I tried to migrate from macros to contexts >> and Gosub >> but if I try to use gosub in extension

Re: [asterisk-users] AEL and swap from macros to contexts

2008-10-06 Thread Atis Lezdins
On Mon, Oct 6, 2008 at 5:21 PM, Pavel Jezek <[EMAIL PROTECTED]> wrote: > Hi, according to discussion on asterisk IRC, where people said, that > macros will be depracated, I tried to migrate from macros to contexts > and Gosub > but if I try to use gosub in extensions.ael, ael compiler complains, >