welltime / phpagi

PHPAGI is a PHP class for the Asterisk Gateway Interface. The package is available for use and distribution under the terms of the GNU Public License.
GNU Lesser General Public License v2.1
58 stars 93 forks source link

Script wont die #14

Open dovi5988 opened 7 years ago

dovi5988 commented 7 years ago

Not sure if this is because of initd or phpagi but if you are using fastagi via xinetd and php is doing something for instance if you are playing a sound file, you have a sleep(10) etc. then even after hangup the php script will still be running. It seems that even after the tcp socket between xinted and asterisk is torn down xinetd keeps the php file running.