<html><div style='background-color:'><DIV class=RTE>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">From:&nbsp;&nbsp;<I>Gordon Henderson &lt;gordon+asterisk@drogon.net&gt;</I><BR>&gt;<BR>&gt;Just a general question on dialplan programming... I've implemented <BR>&gt;a fairly full-featured system using dialplan code only. I've not <BR>&gt;used any AGI for it, yet it ticks all the boxes I want it to tick <BR>&gt;(diverts, follow-me, voicemail, dnd, outdialing restrictions, simple <BR>&gt;auto-attendant, and numerous "star codes" to control it all) This is <BR>&gt;all aimed at the small/medium office PBX type application.<BR>&gt;<BR>&gt;But I'm curious as to the approach others use. Is doing dialplan <BR>&gt;coding in an AGI more efficient, or do people just do it that way <BR>&gt;because it's easier than learning dialplan code? Or are there some <BR>&gt;things that people think they can't do any other way?<BR>&gt;<BR>&gt;So 
I'm just after some ideas, really, possibly to work out if it's <BR>&gt;worth my while going down the AGI route for future projects, or <BR>&gt;not!?!<BR></FONT></P>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">Gordon,</P></FONT>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">I haven't done half you have, so this is just based on what I have read (and tested) so far.&nbsp; You are probably asking about EAL rather than AGI.&nbsp; 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.&nbsp; If you are thinking about programming flexibility, EAL could be your friend because it&nbsp;has&nbsp;"programming language like" structures&nbsp;so your project remain manageable.</FONT></P>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">Yuan Liu</P></FONT>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">&gt;Any feedback is most welcome!<BR>&gt;<BR>&gt;Cheers,<BR>&gt;<BR>&gt;Gordon<BR></P></DIV></FONT></div></html>