I am developing a few AGI programs using PHPAGI. This is the first time developing for Asterisk 1.6 and I am having a lot of problems reading variables with the $agi->get_variable construct. While an AGI debug shows me that I am asking for the variable and Asterisk is giving me the correct value, most of the time the PHP variable is empty or contains the wrong information.
I never saw this problem with prior versions of Asterisk so I am wondering what the problem with the phpagi class could be? These scripts are short and for low usage systems so I do not bother writing them in C or other compiled language. Is anyone having the same problem? So far my workaround is to do a loop of $agi->get_variable until my php variable is not empty but that is ugly and wastes time. Since PHPAGI has not been updated in several years is there another PHP library for AGI development or is it better to try and build my own? -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001
signature.asc
Description: This is a digitally signed message part
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users