Re: [asterisk-users] AEL includes?

2008-01-17 Thread Rodrigo R Passos
AEL was an experimental feature in Asterisk 1.2.x and you may not implement all 
funcionts.


Jay Moore wrote:
> voip*CLI> ael reload
> Jan 17 08:53:30 NOTICE[20600]: pbx_ael.c:1146 handle_root_token: Unknown 
> root token '#include'
>
> Asterisk 1.2.14. Old, I know but my boss won't spring for a spare box, 
> and I don't want to upgrade our only production computer.
>
> Jay
>
> Rodrigo R Passos wrote:
>   
>> Jay,
>>
>> What error?
>>
>>
>> Jay Moore wrote:
>> 
>>> How do I include a file (not a context) in AEL?  #include "filename" 
>>> returns an error.
>>>
>>> Thanks,
>>> Jay
>>>
>>> ___
>>> -- 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
>>>
>>>   
>>>   
>> ___
>> -- 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
>>
>> 
>
>
> ___
> -- 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
>
>   


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


Re: [asterisk-users] AEL includes?

2008-01-17 Thread Atis Lezdins
On 1/17/08, Jay Moore <[EMAIL PROTECTED]> wrote:
> voip*CLI> ael reload
> Jan 17 08:53:30 NOTICE[20600]: pbx_ael.c:1146 handle_root_token: Unknown
> root token '#include'
>
> Asterisk 1.2.14. Old, I know but my boss won't spring for a spare box,
> and I don't want to upgrade our only production computer.

I suppose, that it doesn't support AEL2. You can dump ael to conf file
with command i posted before. Oh, and you will need to grab 1.4, and
compile aelparse from it.

Regards,
Atis

>
> Jay
>
> Rodrigo R Passos wrote:
> > Jay,
> >
> > What error?
> >
> >
> > Jay Moore wrote:
> >> How do I include a file (not a context) in AEL?  #include "filename"
> >> returns an error.
> >>
> >> Thanks,
> >> Jay
> >>
> >> ___
> >> -- 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
> >>
> >>
> >
> >
> > ___
> > -- 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
> >
>
>
> ___
> -- 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
>


-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

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


Re: [asterisk-users] AEL includes?

2008-01-17 Thread Jay Moore
voip*CLI> ael reload
Jan 17 08:53:30 NOTICE[20600]: pbx_ael.c:1146 handle_root_token: Unknown 
root token '#include'

Asterisk 1.2.14. Old, I know but my boss won't spring for a spare box, 
and I don't want to upgrade our only production computer.

Jay

Rodrigo R Passos wrote:
> Jay,
> 
> What error?
> 
> 
> Jay Moore wrote:
>> How do I include a file (not a context) in AEL?  #include "filename" 
>> returns an error.
>>
>> Thanks,
>> Jay
>>
>> ___
>> -- 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
>>
>>   
> 
> 
> ___
> -- 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
> 


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


Re: [asterisk-users] AEL includes?

2008-01-17 Thread Atis Lezdins
On 1/17/08, Jay Moore <[EMAIL PROTECTED]> wrote:
> How do I include a file (not a context) in AEL?  #include "filename"
> returns an error.

What's the error?

For me this works:
#include "extensions_db.ael";
#include "extensions_utils.ael";
#include "extensions_ivr.ael";
#include "extensions_globals.ael";

However i'm using
#aelparse -d -n -w -q extensions.ael

to dump ael into .conf format

Regards,
Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

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


Re: [asterisk-users] AEL includes?

2008-01-17 Thread Rodrigo R Passos
Jay,

What error?


Jay Moore wrote:
> How do I include a file (not a context) in AEL?  #include "filename" 
> returns an error.
>
> Thanks,
> Jay
>
> ___
> -- 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
>
>   


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


Re: [asterisk-users] AEL includes?

2008-01-17 Thread Watkins, Bradley
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Jay Moore
> Sent: Thursday, January 17, 2008 9:11 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] AEL includes?
> 
> How do I include a file (not a context) in AEL?  #include "filename" 
> returns an error.
> 
> Thanks,
> Jay
> 


That is exactly the syntax that you should be (and I am) using.

I don't know why that wouldn't work, unless you're using an older
version of Asterisk and are using fully-qualified paths.

- Brad

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


[asterisk-users] AEL includes?

2008-01-17 Thread Jay Moore
How do I include a file (not a context) in AEL?  #include "filename" 
returns an error.

Thanks,
Jay

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