Re: [asterisk-users] AEL #include file

2007-03-09 Thread Philipp Kempgen
Philipp Kempgen wrote: Does anyone know how to include a file in AEL using the #include filename syntax in .conf files? Seems like #include test.ael works but #include test.conf does not. Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use

Re: [asterisk-users] AEL #include file

2007-03-09 Thread Tzafrir Cohen
On Fri, Mar 09, 2007 at 07:49:45PM +0100, Philipp Kempgen wrote: Hi, Does anyone know how to include a file in AEL using the #include filename syntax in .conf files? Yes, it is supported. (Technically: It is not part of the ael syntax. #include and #exec are preprocessing done before the

Re: [asterisk-users] AEL #include file

2007-03-09 Thread Philipp Kempgen
Tzafrir Cohen wrote: On Fri, Mar 09, 2007 at 07:49:45PM +0100, Philipp Kempgen wrote: Hi, Does anyone know how to include a file in AEL using the #include filename syntax in .conf files? Yes, it is supported. (Technically: It is not part of the ael syntax. #include and #exec are

Re: [asterisk-users] AEL #include file

2007-03-09 Thread Steve Murphy
On Fri, 2007-03-09 at 20:42 +0100, Philipp Kempgen wrote: Tzafrir Cohen wrote: On Fri, Mar 09, 2007 at 07:49:45PM +0100, Philipp Kempgen wrote: Hi, Does anyone know how to include a file in AEL using the #include filename syntax in .conf files? Yes, it is supported. Correct.

Re: [asterisk-users] AEL #include file

2007-03-09 Thread Philipp Kempgen
Steve Murphy wrote: On Fri, 2007-03-09 at 20:42 +0100, Philipp Kempgen wrote: Tzafrir Cohen wrote: On Fri, Mar 09, 2007 at 07:49:45PM +0100, Philipp Kempgen wrote: Hi, Does anyone know how to include a file in AEL using the #include filename syntax in .conf files? Yes, it is supported.

Re: [asterisk-users] AEL #include file

2007-03-09 Thread Steve Murphy
On Fri, 2007-03-09 at 22:21 +0100, Philipp Kempgen wrote: Steve Murphy wrote: On Fri, 2007-03-09 at 20:42 +0100, Philipp Kempgen wrote: Tzafrir Cohen wrote: On Fri, Mar 09, 2007 at 07:49:45PM +0100, Philipp Kempgen wrote: Hi, Does anyone know how to include a file in AEL using the

Re: [asterisk-users] AEL #include file

2007-03-09 Thread Philipp Kempgen
Thanks for the reply! Steve Murphy wrote: At Digium, for instance, we keep all our config files under SVN, and the config files are just #exec's for svn checkouts. Nice. Just one little mistake I hadn't pointed out earlier; the extensions.conf would probably really be extensions.ael !

Re: [Asterisk-Users] AEL #include

2006-06-01 Thread Jason Bachman
I use the goto to jump across contexts with labels all the time. goto(context,exten,label). works for me. Jason Michael Collins wrote: Oh Crud. So, if I want to jump to another extension or context, I have to specify the full context, extension and priority? I can't specify a

RE: [Asterisk-Users] AEL #include

2006-06-01 Thread Douglas Garstang
-Original Message- From: Jason Bachman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 7:13 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include I use the goto to jump across contexts with labels all the time. goto

RE: [Asterisk-Users] AEL #include

2006-06-01 Thread Michael Collins
I use the goto to jump across contexts with labels all the time. goto(context,exten,label). works for me. Cool. If you have some time, tell the developer to update the docs! Definitely cool. I will test this out and if I can make it work on my test machine then I will be happy to update

RE: [Asterisk-Users] AEL #include

2006-06-01 Thread Douglas Garstang
-Original Message- From: Michael Collins [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 12:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] AEL #include I use the goto to jump across contexts with labels all the time

Re: [Asterisk-Users] AEL #include

2006-06-01 Thread Julian Lyndon-Smith
Subject: RE: [Asterisk-Users] AEL #include I use the goto to jump across contexts with labels all the time. goto(context,exten,label). works for me. Cool. If you have some time, tell the developer to update the docs! Definitely cool. I will test this out and if I can make it work on my test

RE: [Asterisk-Users] AEL #include

2006-06-01 Thread Douglas Garstang
There's no mention of labels. -Original Message- From: Julian Lyndon-Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 12:21 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include http://www.voip-info.org/wiki

RE: [Asterisk-Users] AEL #include (Labels and Goto app)

2006-06-01 Thread Michael Collins
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Goto show application goto -= Info about application 'Goto' =- [Synopsis] Jump to a particular priority, extension, or context [Description] Goto([[context|]extension|]priority): This application will cause the calling

Re: [Asterisk-Users] AEL #include (Labels and Goto app)

2006-06-01 Thread Julian Lyndon-Smith
Mea culpa. Did not read properly :) Julian Michael Collins wrote: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Goto show application goto -= Info about application 'Goto' =- [Synopsis] Jump to a particular priority, extension, or context [Description]

RE: [Asterisk-Users] AEL #include

2006-05-31 Thread Douglas Garstang
-Original Message- From: Michael Collins [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 10:28 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] AEL #include How would goto work if all the priorities where n? ... Example

RE: [Asterisk-Users] AEL #include

2006-05-31 Thread Michael Collins
Thanks Michael. I was not aware that labels where available. In converting though, I've already hit a limitation. There's a single name space for all labels I assume? Doug, According to TFOT's Goto() application reference entry (page 254) the namespace is actually the current extension: Named

RE: [Asterisk-Users] AEL #include

2006-05-31 Thread Douglas Garstang
... -Original Message- From: Michael Collins [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 9:22 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] AEL #include Thanks Michael. I was not aware that labels where available

Re: [Asterisk-Users] AEL #include

2006-05-31 Thread Kevin P. Fleming
Douglas Garstang wrote: Oh Crud. So, if I want to jump to another extension or context, I have to specify the full context, extension and priority? I can't specify a label? It's a bit tricky trying to jump to a specific priority in an extension when they're all called 'n' ! No. Labels are

Re: [Asterisk-Users] AEL #include

2006-05-31 Thread Mojo with Horan Company, LLC
: [Asterisk-Users] AEL #include Thanks Michael. I was not aware that labels where available. In converting though, I've already hit a limitation. There's a single name space for all labels I assume? Doug, According to TFOT's Goto() application reference entry (page 254) the namespace is actually

Re: [Asterisk-Users] AEL #include

2006-05-31 Thread Mojo with Horan Company, LLC
-Users] AEL #include Thanks Michael. I was not aware that labels where available. In converting though, I've already hit a limitation. There's a single name space for all labels I assume? Doug, According to TFOT's Goto() application reference entry (page 254) the namespace is actually

RE: [Asterisk-Users] AEL #include

2006-05-31 Thread Michael Collins
Oh Crud. So, if I want to jump to another extension or context, I have to specify the full context, extension and priority? I can't specify a label? It's a bit tricky trying to jump to a specific priority in an extension when they're all called 'n' ! Why is something so simple such a

RE: [Asterisk-Users] AEL #include ( Now Labels Goto() )

2006-05-31 Thread Michael Collins
I apologize for my silly prior response, I didn't read the thread enough :( Your humility is much appreciated!! ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit:

Re: [Asterisk-Users] AEL #include

2006-05-31 Thread Wilson Pickett
On 5/31/06, Kevin P. Fleming [EMAIL PROTECTED] wrote: Douglas Garstang wrote: Oh Crud. So, if I want to jump to another extension or context, I have to specify the full context, extension and priority? I can't specify a label? It's a bit tricky trying to jump to a specific priority in an

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Aaron Daniel
No, only works in the old language, or in AEL2 which is released in trunk. On Tue, 30 May 2006, Douglas Garstang wrote: Anyone know if #include works in ael yet? extensions.ael: #include inc/pbx/global.conf context test_context { }; *CLI ael reload May 30 13:56:45 NOTICE[8516]:

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Douglas Garstang
In non-developer-speak, that means, 'not in current release', correct? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 2:00 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Joshua Colp
Douglas Garstang wrote: In non-developer-speak, that means, 'not in current release', correct? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 2:00 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Kevin P. Fleming
Douglas Garstang wrote: In non-developer-speak, that means, 'not in current release', correct? That is correct. AEL was an experimental feature in Asterisk 1.2.x, and was never fully implemented in that release. ___ --Bandwidth and Colocation provided

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Sean Cook
, 'not in current release', correct? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 2:00 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include No, only works in the old language

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Douglas Garstang
-Original Message- From: Joshua Colp [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 2:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include ...[stuff removed] Not in the 1.2 release series, no. It only receives bug fixes

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Douglas Garstang
-Original Message- From: Kevin P. Fleming [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 2:25 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include Douglas Garstang wrote: In non-developer-speak, that means

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Douglas Garstang
: Re: [Asterisk-Users] AEL #include Actually... it means not in the production release. the subversion trunk is a release but it is not for the faint at heart. While generally everything works pretty well, it is expected that you will find bugs and have issues :) Sean Douglas Garstang

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Aaron Daniel
] Sent: Tuesday, May 30, 2006 2:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include ...[stuff removed] Not in the 1.2 release series, no. It only receives bug fixes and this would not be a bug fix. Well, it looks like not in the svn trunk

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Kevin P. Fleming
Douglas Garstang wrote: So... bottom line appears to be that AEL2 is not usable. Interesting logic.. you need asterisk-addons, so that means AEL2 is not usable. I'm sure all the people who worked hard on the code and its testing would disagree with you, since it works fine :-) The fact that

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Kevin P. Fleming
Sean Cook wrote: Actually... it means not in the production release. the subversion trunk is a release but it is not for the faint at heart. While generally everything works pretty well, it is expected that you will find bugs and have issues :) No, SVN trunk is not a 'release'. It's a

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Watkins, Bradley
. Regards, - Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Garstang Sent: Tuesday, May 30, 2006 5:16 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] AEL #include -Original Message- From: Kevin

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Aaron Daniel
- From: Sean Cook [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 2:40 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AEL #include Actually... it means not in the production release. the subversion trunk is a release but it is not for the faint

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Peter Bowyer
On 30/05/06, Douglas Garstang [EMAIL PROTECTED] wrote: Yes, like asterisk-addons not compiling, which for anyome that wants to use cdr-mysql, or realtime, makes it useless. It's a development snapshot, you can't expect it not to have issues. -- Peter Bowyer Email: [EMAIL PROTECTED]

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Kevin P. Fleming
Douglas Garstang wrote: Yes, like asterisk-addons not compiling, which for anyome that wants to use cdr-mysql, or realtime, makes it useless. Again, not true. Realtime works just fine in SVN trunk, except for the direct MySQL driver. There is the ODBC driver and the PostgreSQL driver available

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Michael Collins
Is it going to be sticking around? I sure hope so, because the extensions.conf language is a management nightmare. Every time you add logic, you have to renumber everything, and hope you don't make mistakes in re-setting all the dependant goto's. It ain't exactly easy to read later on either.

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Kevin P. Fleming
Aaron Daniel wrote: AEL2 is included in SVN trunk, it replaced AEL completely, so theoretically pbx_ael should compile just like it did before. No, it has a number of sub-components and some Makefile rules now, so I don't think it could be backported to 1.2.x.

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Julian Lyndon-Smith
Uh, yup. I'm using it now. Well, learning it now :) Julian Kevin P. Fleming wrote: Douglas Garstang wrote: So... bottom line appears to be that AEL2 is not usable. Interesting logic.. you need asterisk-addons, so that means AEL2 is not usable. I'm sure all the people who worked hard on the

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Aaron Daniel
On Tue, 30 May 2006, Kevin P. Fleming wrote: Aaron Daniel wrote: AEL2 is included in SVN trunk, it replaced AEL completely, so theoretically pbx_ael should compile just like it did before. No, it has a number of sub-components and some Makefile rules now, so I don't think it could be

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Sean Cook
No, SVN trunk is not a 'release'. It's a development area. A 'release' involves packaging it, documenting the changes, and handling bug reports against it in a different way. I guess I see release as a verb and not a noun. Probably is a good idea to use the appropriate terminology... my

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Douglas Garstang
[mailto:[EMAIL PROTECTED] Sent: Tue 5/30/2006 4:01 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: RE: [Asterisk-Users] AEL #include Is it going to be sticking around? I sure hope so, because

Re: [Asterisk-Users] AEL #include

2006-05-30 Thread Kevin P. Fleming
Douglas Garstang wrote: Well I don't know if I am missing something or not, but we have various loops and other things in there. So, we need to use the good old ugly goto(). How would goto work if all the priorities where n? That is what labels are for. Goto can use labels as targets,

RE: [Asterisk-Users] AEL #include

2006-05-30 Thread Michael Collins
How would goto work if all the priorities where n? ... Example from one of my dial plans: exten = talk,1,ForkCDR exten = talk,n,Set(NUMTRIES=1) exten = talk,n,GotoIf($[${NUMTRIES} = 1]?first) exten = talk,n(repeat),Background(Initial-greeting) exten =