[asterisk-bugs] [JIRA] (ASTERISK-29468) Asterisk PHPAGI

Edrick Faubert (JIRA) noreply at issues.asterisk.org
Tue Jun 8 08:49:08 CDT 2021


Edrick Faubert created ASTERISK-29468:
-----------------------------------------

             Summary: Asterisk PHPAGI
                 Key: ASTERISK-29468
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29468
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: . I did not set the category correctly.
    Affects Versions: 16.11.1
         Environment: PHP 5.6
            Reporter: Edrick Faubert
            Severity: Critical


Hello,
I created a script that uses PHPAGI, it was functional until I upgraded asterisk to version 16.
now I have an error "Fatal error: Maximum execution time of 30 seconds exceeded in /var/lib/asterisk/agi-bin/phpagi-2.20/phpagi.php on line 191."

Here is the code:
$ str = fgets ($ this-> in);
         while ($ str! = "\ n") {
             $ this-> request [substr ($ str, 0, strpos ($ str, ':'))] = trim (substr ($ str, strpos ($ str, ':') + 1));
             $ str = fgets ($ this-> in);
         }

I think there is no more connection to PHPAGI.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list