Kashif Naeem
2009-May-05 06:52 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
Hello, We are going to start development for a product based over Asterisk. According to you, which is the preferred language for AGIs / IVRs development in Asterisk. I got opinions that Perl is going to be replaced by PHP for all future developments. -- Kashif Naeem Business Development Manager Hadi Telecom www.haditelecom.com Cell: +92 (0)345 4226006 Office: +92 (0)42 5692766 Email: kashif at haditelecom.com MSN: kashif__naeem at hotmail.com Gmail: meet.kashif at gmail.com Skype: kashif.naeem 302 Y Commercial Area, 2nd Floor DHA Lahore, Pakistan. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090505/93975df0/attachment.htm
Kenneth Shaw
2009-May-05 07:34 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
Drop Asterisk, move to Freeswitch. Much easier to interact with external code bases, and it has more than one language interpreter built in (javascript, lua, etc.). If you're intent on staying on Asterisk, I would suggest skipping AGI, and write a client that monitors the state of asterisk via the manager interface. AGIs are messy in my opinion. There isn't really any "best" language for AGIs, as AGIs just communicate with Asterisk via a pipe. So really, the best language for AGIs are the language you like the best and/or best fits the application domain/requirements for your project. On Tue, 2009-05-05 at 11:52 +0500, Kashif Naeem wrote:> Hello, > > We are going to start development for a product based over Asterisk. > According to you, which is the preferred language for AGIs / IVRs > development in Asterisk. I got opinions that Perl is going to > be replaced by PHP for all future developments. > > > > -- > Kashif Naeem > Business Development Manager > Hadi Telecom > www.haditelecom.com > > Cell: +92 (0)345 4226006 > Office: +92 (0)42 5692766 > > Email: kashif at haditelecom.com > MSN: kashif__naeem at hotmail.com > Gmail: meet.kashif at gmail.com > Skype: kashif.naeem > > 302 Y Commercial Area, 2nd Floor DHA Lahore, Pakistan. > _______________________________________________ > -- 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-- Kenneth Shaw ExpiTrans, Inc. 129 W. Wilson St., Suite 204 Costa Mesa, CA 92627 tel: 949.650.4600 fax: 949.642.6044 ken at expitrans.com
Atis Lezdins
2009-May-05 11:40 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
On Tue, May 5, 2009 at 9:52 AM, Kashif Naeem <kashif at haditelecom.com> wrote:> Hello, > > We are going to start development for a product based over Asterisk. > According to you, which is the preferred language for AGIs / IVRs > development in Asterisk. I got opinions that Perl is going to be?replaced by > PHP for all future developments.Just use the language You write the rest of system. If it's web application, and You use PHP, You can use existing codebase of Your project :) Just be careful with this: asterisk and web server are usually run in separate processes, so having common cache is troublesome unless You check internally for effective uid and call sudo internally. Regards, Atis -- Atis Lezdins, VoIP Project Manager / Developer, IQ Labs Inc, atis at iq-labs.net Skype: atis.lezdins Cell Phone: +371 28806004 Cell Phone: +1 800 7300689 Work phone: +1 800 7502835
Jeff LaCoursiere
2009-May-05 12:00 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
On Tue, 5 May 2009, Kashif Naeem wrote:> Hello, > > We are going to start development for a product based over Asterisk. > According to you, which is the preferred language for AGIs / IVRs > development in Asterisk. I got opinions that Perl is going to be replaced by > PHP for all future developments. >C. j
Steve Edwards
2009-May-05 19:31 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
On Tue, 5 May 2009, Kashif Naeem wrote:> We are going to start development for a product based over Asterisk. > According to you, which is the preferred language for AGIs / IVRs > development in Asterisk. I got opinions that Perl is going to be > replaced by PHP for all future developments.My personal bias is C. I know it best and it performs best. I can execute xx to xxx AGIs written in C before you can load your interpreter (PHP or Perl) and parse. You should go with the language you know best. If it isn't C, learn it :) I doubt any language is going to replace any other language "for all future developments." Languages are like tools. If all you know is "hammer" then every problem looks like "nail." If you learn about "screwdriver" then you may discover a better way to open a sticking window. Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Abdul Basit
2009-May-05 20:13 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
On Wed, May 6, 2009 at 1:51 AM, Steve Edwards <asterisk.org at sedwards.com>wrote:> On Tue, 5 May 2009, Abdul Basit wrote: > > > I wrote the php code for asterisk that was two page long and wasim baig > sb > > wrote the same stuff in 1/2 page line of code using python with > > implementation of python libraries. > > > > yeeeeeee!!!!! > > If I wrote it in a single very long line of C would you be even happier? > > I guess it depends on the metrics you use to judge a solution :)yap!> > Thanks in advance, > ------------------------------------------------------------------------ > Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > _______________________________________________ > -- 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 >-- Regards, Abdul Basit | Manager Support | +92-321-416-4196 | +92-42-588-7833 | www.convergence.pk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090506/d8535867/attachment.htm
randulo
2009-May-06 14:41 UTC
[asterisk-users] Preferred language for Asterisk AGIs development ?
On Tue, May 5, 2009 at 9:31 PM, Steve Edwards <asterisk.org at sedwards.com> wrote:> I doubt any language is going to replace any other language "for all > future developments."The day one religion replaces all other religions, it may happen because languages = religions = distros = platforms = your subjective belief structures.