[Asterisk-Users] PHPAGI daemon/background task?

Moises Silva moises.silva at gmail.com
Fri Jan 13 19:13:48 MST 2006


im not familiar with phpagi-asmanager.php, but i guess thats because
asterisk has nothing to send you and you are using blocking mode
sockets, hence socket_read() is blocking.
phpagi-asmanager.php

give us more pointings about what you want to do and we will be able
to help you. Currently im developing a php daemon to listen events and
work as proxy for other clients that do "real" work depending on the
events, something like that you want to do?

On 1/13/06, Dan Austin <Dan_Austin at phoenix.com> wrote:
> I have a script that I want to leave running in the background to handle
> specific manager events.
>
> I'm running into a problem where it gets stuck in the wait_response
> function in phpagi-asmanager.php and the PHP maximum execute
> timeout kills the script.
>
> The script doesn't interact with the dialplan, so I cannot launch it
> from within
> Asterisk.  Any pointers would be appreciated.
>
> I did look through the wiki and gave google a chance, but the results
> found
> didn't really suggest a solution.
>
> Dan
> _______________________________________________
> --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
>


--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"



More information about the asterisk-users mailing list