View previous topic :: View next topic |
Author |
Message |
jaymoore at accu-com.com Guest
|
Posted: Thu Jan 17, 2008 9:10 am Post subject: [asterisk-users] AEL includes? |
|
|
How do I include a file (not a context) in AEL? #include "filename"
returns an error.
Thanks,
Jay |
|
Back to top |
|
|
Guest
|
Posted: Thu Jan 17, 2008 9:30 am Post subject: [asterisk-users] AEL includes? |
|
|
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
|
Posted: Thu Jan 17, 2008 9:33 am Post subject: [asterisk-users] AEL includes? |
|
|
Jay,
What error?
Jay Moore wrote:
|
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Thu Jan 17, 2008 9:34 am Post subject: [asterisk-users] AEL includes? |
|
|
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
|
Posted: Thu Jan 17, 2008 9:57 am Post subject: [asterisk-users] AEL includes? |
|
|
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:
|
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Thu Jan 17, 2008 10:16 am Post subject: [asterisk-users] AEL includes? |
|
|
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
--
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
|
Posted: Thu Jan 17, 2008 11:21 am Post subject: [asterisk-users] AEL includes? |
|
|
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:
_______________________________________________
-- 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 |
|
|
|