NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 18 forks source link

nethserver-freepbx: use php 5.6 to execute Asterisk AGI #5499

Closed Stell0 closed 6 years ago

Stell0 commented 6 years ago

Asterisk AGI are currently executed with php 5.4, but that is wrong because FreePBX uses 5.6 from SCL. Starting from FreePBX Framework 14.0.3.2, agi stop working with PHP 5.4 and gave this error:

PHP Parse error:  syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/html/freepbx/admin/libraries/Composer/vendor/symfony/translation/Translator.php on line 90
Whoops\Exception\ErrorException: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in file /var/www/html/freepbx/admin/libraries/Composer/vendor/symfony/translation/Translator.php on line 90
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/www/html/freepbx/admin/libraries/Composer/vendor/symfony/translation/Translator.php:90

Steps to reproduce

Expected behavior

Actual behavior

Components

nethserver-freepbx-14.0.7-1.ns7.noarch

See also

https://github.com/nethesis/dev/issues/5406

nethbot commented 6 years ago

in 7.5.1804/testing:

andrea-marchionni commented 6 years ago

Verified.

nethbot commented 6 years ago

in 7.5.1804/updates: