[asterisk-users] Dialplan programming vs. AGI vs. ???
Just a general question on dialplan programming... I've implemented a fairly full-featured system using dialplan code only. I've not used any AGI for it, yet it ticks all the boxes I want it to tick (diverts, follow-me, voicemail, dnd, outdialing restrictions, simple auto-attendant, and numerous "star codes" to control it all) This is all aimed at the small/medium office PBX type application. But I'm curious as to the approach others use. Is doing dialplan coding in an AGI more efficient, or do people just do it that way because it's easier than learning dialplan code? Or are there some things that people think they can't do any other way? So I'm just after some ideas, really, possibly to work out if it's worth my while going down the AGI route for future projects, or not!?! Any feedback is most welcome! Cheers, Gordon ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Dialplan programming vs. AGI vs. ???
From: Gordon Henderson <[EMAIL PROTECTED]>>>Just a general question on dialplan programming... I've implemented >a fairly full-featured system using dialplan code only. I've not >used any AGI for it, yet it ticks all the boxes I want it to tick >(diverts, follow-me, voicemail, dnd, outdialing restrictions, simple >auto-attendant, and numerous "star codes" to control it all) This is >all aimed at the small/medium office PBX type application.>>But I'm curious as to the approach others use. Is doing dialplan >coding in an AGI more efficient, or do people just do it that way >because it's easier than learning dialplan code? Or are there some >things that people think they can't do any other way?>>So I'm just after some ideas, really, possibly to work out if it's >worth my while going down the AGI route for future projects, or >not!?! Gordon, I haven't done half you have, so this is just based on what I have read (and tested) so far. You are probably asking about EAL rather than AGI. You'll need AGI only if there are functions you can't implement within Asterisk and you don't want to write a full application for Asterisk. If you are thinking about programming flexibility, EAL could be your friend because it has "programming language like" structures so your project remain manageable. Yuan Liu >Any feedback is most welcome!>>Cheers,>>Gordon ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Dialplan programming vs. AGI vs. ???
From: "Yuan LIU" <[EMAIL PROTECTED]> >But I'm curious as to the approach others use. Is doing dialplan >coding in an AGI more efficient, or do people just do it that way >because it's easier than learning dialplan code? Or are there some >things that people think they can't do any other way? > >So I'm just after some ideas, really, possibly to work out if it's >worth my while going down the AGI route for future projects, or >not!?! Gordon, I haven't done half you have, so this is just based on what I have read (and tested) so far. You are probably asking about EAL rather than AGI. You'll need AGI only if there are functions you can't implement within Asterisk and you don't want to write a full application for Asterisk. If you are thinking about programming flexibility, EAL could be your friend because it has "programming language like" structures so your project remain manageable. AEL, for Asterisk Extension Language, not EAL. See ael.txt or README.ael (depending on version) in doc/ directory. Shows how little I have learned about Asterisk. Yuan Liu ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan programming vs. AGI vs. ???
Yuan LIU wrote: From: "Yuan LIU" <[EMAIL PROTECTED]> >But I'm curious as to the approach others use. Is doing dialplan >coding in an AGI more efficient, or do people just do it that way >because it's easier than learning dialplan code? Or are there some >things that people think they can't do any other way? > >So I'm just after some ideas, really, possibly to work out if it's >worth my while going down the AGI route for future projects, or >not!?! Gordon, I haven't done half you have, so this is just based on what I have read (and tested) so far. You are probably asking about EAL rather than AGI. You'll need AGI only if there are functions you can't implement within Asterisk and you don't want to write a full application for Asterisk. If you are thinking about programming flexibility, EAL could be your friend because it has "programming language like" structures so your project remain manageable. AEL, for Asterisk Extension Language, not EAL. See ael.txt or README.ael (depending on version) in doc/ directory. Shows how little I have learned about Asterisk. Yuan Liu We have chosen to do certain funtions in AGI using PHP because we do connections to mysql and some other stuff, and and I think you have much more control with DB-related issues with AGI then with normal dialplan(.conf or AEL). However, where we dont need DB access, we only now use AEL, it really is awesome. -- thanks, Yusuf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan programming vs. AGI vs. ???
Gordon Henderson wrote: Just a general question on dialplan programming... I've implemented a fairly full-featured system using dialplan code only. I've not used any AGI for it, yet it ticks all the boxes I want it to tick (diverts, follow-me, voicemail, dnd, outdialing restrictions, simple auto-attendant, and numerous "star codes" to control it all) This is all aimed at the small/medium office PBX type application. But I'm curious as to the approach others use. Is doing dialplan coding in an AGI more efficient, or do people just do it that way because it's easier than learning dialplan code? Or are there some things that people think they can't do any other way? So I'm just after some ideas, really, possibly to work out if it's worth my while going down the AGI route for future projects, or not!?! Any feedback is most welcome! Cheers, Gordon I've only been using Asterisk for a short while, but have been programming for about 10 years so AEL appeals to me. Steve Murphy has done an outstanding job on AEL2. But IMO it all depends on the job at hand. For instance, I wanted to be able to access FirebirdSQL databases from the dialplan and the only viable way was through AGI. My personal thought (and practice) has been: 1. If it's dialplan specific (Dial(),Playback(), etc) then Asterisk script, preferably AEL2. 2. Even if it's dialplan specific, but prone to require any appreciable resources, off load it to an AGI. 3. If it's not dialplan specific (FirebirdSQL access, SOAP calls, etc) then definitely off load it to AGI. Remember there is also FastAGI which allows us to scale a system by off loading resource intensive stuff to other computers entirely when the situation requires it. Personally, I'm glad that there is so many different ways to interact with Asterisk. Nice having a swiss army knife ;) -- Warm Regards, Lee ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan programming vs. AGI vs. ???
Lee Jenkins wrote: Gordon Henderson wrote: Just a general question on dialplan programming... I've implemented a fairly full-featured system using dialplan code only. I've not used any AGI for it, yet it ticks all the boxes I want it to tick (diverts, follow-me, voicemail, dnd, outdialing restrictions, simple auto-attendant, and numerous "star codes" to control it all) This is all aimed at the small/medium office PBX type application. But I'm curious as to the approach others use. Is doing dialplan coding in an AGI more efficient, or do people just do it that way because it's easier than learning dialplan code? Or are there some things that people think they can't do any other way? So I'm just after some ideas, really, possibly to work out if it's worth my while going down the AGI route for future projects, or not!?! Any feedback is most welcome! Cheers, Gordon I've only been using Asterisk for a short while, but have been programming for about 10 years so AEL appeals to me. Steve Murphy has done an outstanding job on AEL2. But IMO it all depends on the job at hand. For instance, I wanted to be able to access FirebirdSQL databases from the dialplan and the only viable way was through AGI. My personal thought (and practice) has been: 1. If it's dialplan specific (Dial(),Playback(), etc) then Asterisk script, preferably AEL2. 2. Even if it's dialplan specific, but prone to require any appreciable resources, off load it to an AGI. 3. If it's not dialplan specific (FirebirdSQL access, SOAP calls, etc) then definitely off load it to AGI. Remember there is also FastAGI which allows us to scale a system by off loading resource intensive stuff to other computers entirely when the situation requires it. Personally, I'm glad that there is so many different ways to interact with Asterisk. Nice having a swiss army knife ;) Could'nt have said it better! -- thanks, Yusuf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan programming vs. AGI vs. ???
This depends on your application. As you say you are able to do everything you require in dialplan at that is great. I have used AGI fairly extensively becuase the stuff I want to do can't be done in dialplan alone. For instance i have written a auto attendants that can be dynamically controlled by a non-techie user with real time and in call reconfiguration. Also i have written IVR apps that hook into our CRM and Accounting systems for fault reporting and credit card payments etc. What you need is the tool for the job like everything in life :-) Jon Farmer Telford, Shropshire, UK - Original Message From: Gordon Henderson <[EMAIL PROTECTED]> To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Wednesday, 31 January, 2007 12:20:11 AM Subject: [asterisk-users] Dialplan programming vs. AGI vs. ??? Just a general question on dialplan programming... I've implemented a fairly full-featured system using dialplan code only. I've not used any AGI for it, yet it ticks all the boxes I want it to tick (diverts, follow-me, voicemail, dnd, outdialing restrictions, simple auto-attendant, and numerous "star codes" to control it all) This is all aimed at the small/medium office PBX type application. But I'm curious as to the approach others use. Is doing dialplan coding in an AGI more efficient, or do people just do it that way because it's easier than learning dialplan code? Or are there some things that people think they can't do any other way? So I'm just after some ideas, really, possibly to work out if it's worth my while going down the AGI route for future projects, or not!?! Any feedback is most welcome! Cheers, Gordon ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users