[Asterisk-Users] PHP/AGI Problem

Jay Milk jay at skimmilk.net
Wed May 25 07:34:02 MST 2005


Why are you using DeadAGI?  Use AGI or EAGI instead, unless you actually
want to run on a dead-channel.

> -----Original Message-----
> From: Jon Farmer [mailto:viperdude_uk at yahoo.co.uk] 
> Sent: Wednesday, May 25, 2005 8:09 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] PHP/AGI Problem
> 
> 
> 
> --- Alex Barnes <abarnes at ubiquitysoftware.com> wrote:
> 
> > Although this isnt a substitute for a correctly
> > terminating script,
> > I would have thought that the PHP 'maximum script
> > execution time'
> > variable would kick-in
> > and kill the script eventually.
> 
> Well I have already tried that I have the first line
> of the script saying set_time_limit(30); but it
> doesn't terminate the script. 
> 
> I have also tested detecting the channel_status and
> that doesn't seem to work either. 
> 
> This leads me to believe that the script is not
> running anymore but just held in limbo doing nothing
> except taking up resource. I would imagine that the
> scenario where the caller hangs up before the end of a
> AGI script is common so am I missing something or is
> the behaviour of my script normal?
> 
> Regards
> 
> Jon
> 
> 
> 
> 		
> ___________________________________________________________ 
> How much free photo storage do you get? Store your holiday 
> snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list