-
The File phpagi.php needs an error-handling for init the Class.
Cause i wan't to use the AGI-Class, and nothing happend.
After searching in my syslog i found, that in Line 1642 an error oure... phpagi.php[1642]: mkdir(): Permission denied
I look into the function and see, that this mkdir not work, cause permission in filesystem isn't set right.
I think here should me an error-handling...
2009-11-01 18:07:34 UTC by rethus
-
Is this Project still alive? I found some Bugs was fixed by users, but nothing in the core-code was changed nor the Tracker-Entrys was be commented or set to "work, done " or something else.
Maybe some new Developers should get involved - like u say it. Feel free to add me to the Developers. I will support the project as my time let me do this.
2009-11-01 17:02:11 UTC by rethus
-
Hi,
i tried
<code>
exten => test,1,Set(GLOBAL(astagidir)=/var/www/system/application/libraries/phpagi)
exten => test,2,NoOp(${astagidir})
exten => test,n,AGI(ping.php)
</code>
and get a log
<code>
-- Executing [test@sip-in:1] Set("SIP/XXX084b9738", "GLOBAL(astagidir)=/var/www/system/application/libraries/phpagi") in new stack
==...
2009-10-21 15:08:00 UTC by huzzel
-
php 5.3.0 has a function called goto http://php.net/manual/en/control-structures.goto.php which gives parse errors. the easiest way around this is to comment out the goto function (line 1184) or to rename it.
2009-10-18 14:58:39 UTC by nobody
-
Currently if you create a AGI_AsteriskManager and call connect with bad credentials, it will try to disconnect. the problem is that when disconnecting, it also tries to logoff. It can't logoff since it never logged in. So, it hangs infinitely.
Attached is a simple patch to fix this.
2009-08-29 03:10:26 UTC by jthomerson
-
Hi all
phpagi.php (v2.14) seems to cause a PHP parse error when run with 5.3.0.
Error is:
PHP Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in /var/lib/asterisk/agi-bin/phpagi.php on line 1184
The same script works fine with php 5.2.9.
I think the problem is that php 5.3.0 introduced a "goto" operator which is clashing with the user defined goto...
2009-08-06 09:30:56 UTC by gpuk
-
please help me, i don't know how i can install....
2009-08-03 13:29:39 UTC by robigo
-
A few weeks ago the project's code was moved over to SVN so as to introduce a PHP 5 OO branch of phpagi. saghul has been working on the new version.
Although I haven't had a need to personally work on phpAGI I certainly think a modular approach to adding plugin support is a good idea(tm). I think it's safe to say all of the phpagi developers would be happy to have you on the team. Send...
2009-07-05 00:58:42 UTC by masham
-
further more as I am doing some IVRs and trying to get decent sounding speech synthesis (havent commited to purchasing cepstral.. yet) I would like to see phpagi have a plugin (object oriented) architecture for alternate speech modules, instead of having separate method calls for each.
I'd like to go to town on the code, and I may just post my changes to github or something..
2009-07-01 20:34:00 UTC by greywire
-
Seems like not a lot as been done with phpagi over the years, or with PHP + asterisk in general. Not sure why that is.
I wanted to implement a real fastagi server with PHP and it seems like nobody's really done it?
At any rate, I'd like to see this code brought up to modern PHP standards (it looks like well written code as it is, of course, just not using the most recent PHP features)...
2009-06-29 19:26:20 UTC by greywire