In php-asmanager.php line 248: [Exception] Asterisk is not connected

I randomly had this error when trying to do a reload. The bug check guys say it’s not a bug. I can’t reload my system. I have verified that the passwords match. I have removed UN-licensed commercial modules. I did a Distro re-install and restore my backup. Nothing worked. Does anyone have any experience with this that could assist with a cure?

In php-asmanager.php line 248:

[Exception]
Asterisk is not connected

Exception trace:
at /var/www/html/admin/libraries/php-asmanager.php:248
AGI_AsteriskManager->send_request() at /var/www/html/admin/modules/sangomartapi/Sangomartapi.class.php:459
FreePBX\modules\Sangomartapi->postReloadFreepbx() at n/a:n/a
call_user_func_array() at /var/www/html/admin/libraries/BMO/Hooks.class.php:212
FreePBX\Hooks->processHooksByClassMethod() at /var/www/html/admin/libraries/Console/Reload.class.php:486
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:91
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:992
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

Jack from Sangoma NA support solved this issue. These were the basic fixes:

fwconsole ma downloadinstall sangomartapi --force
fwconsole ma downloadinstall pm2 --force

This has come back on another installation where I was trying install/setup Sangoma Desktop:

In php-asmanager.php line 248:

[Exception]
Asterisk is not connected

Exception trace:
at /var/www/html/admin/libraries/php-asmanager.php:248
AGI_AsteriskManager->send_request() at /var/www/html/admin/modules/sangomartapi/Sangomartapi.class.php:459
FreePBX\modules\Sangomartapi->postReloadFreepbx() at n/a:n/a
call_user_func_array() at /var/www/html/admin/libraries/BMO/Hooks.class.php:212
FreePBX\Hooks->processHooksByClassMethod() at /var/www/html/admin/libraries/Console/Reload.class.php:486
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:91
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:992
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

Anyone have any ideas on it? Removing sangomartapi allows it to reload…but that is needed for the samgoma talk/desktop

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.