Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] AEL includes?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jaymoore at accu-com.com
Guest





PostPosted: Thu Jan 17, 2008 9:10 am    Post subject: [asterisk-users] AEL includes? Reply with quote

How do I include a file (not a context) in AEL? #include "filename"
returns an error.

Thanks,
Jay
Back to top
Guest






PostPosted: Thu Jan 17, 2008 9:30 am    Post subject: [asterisk-users] AEL includes? Reply with quote

Quote:
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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
Back to top
rodrigopassos at iaxco...
Guest





PostPosted: Thu Jan 17, 2008 9:33 am    Post subject: [asterisk-users] AEL includes? Reply with quote

Jay,

What error?
Jay Moore wrote:
Quote:
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

Back to top
atis at iq-labs.net
Guest





PostPosted: Thu Jan 17, 2008 9:34 am    Post subject: [asterisk-users] AEL includes? Reply with quote

On 1/17/08, Jay Moore <jaymoore at accu-com.com> wrote:
Quote:
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.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
Back to top
jaymoore at accu-com.com
Guest





PostPosted: Thu Jan 17, 2008 9:57 am    Post subject: [asterisk-users] AEL includes? Reply with quote

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:
Quote:
Jay,

What error?


Jay Moore wrote:
Quote:
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
Back to top
atis at iq-labs.net
Guest





PostPosted: Thu Jan 17, 2008 10:16 am    Post subject: [asterisk-users] AEL includes? Reply with quote

On 1/17/08, Jay Moore <jaymoore at accu-com.com> wrote:
Quote:
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

Quote:

Jay

Rodrigo R Passos wrote:
Quote:
Jay,

What error?


Jay Moore wrote:
Quote:
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.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
Back to top
rodrigopassos at iaxco...
Guest





PostPosted: Thu Jan 17, 2008 11:21 am    Post subject: [asterisk-users] AEL includes? Reply with quote

AEL was an experimental feature in Asterisk 1.2.x and you may not implement all funcionts.
Jay Moore wrote:
Quote:
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:

Quote:
Jay,

What error?


Jay Moore wrote:

Quote:
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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services