freepbx 17, just installed and fully updated
sudo fwconsole trunks --convert2pjsip all
Convert the sip trunks to pjsip (Trunk name : Vodafone)
TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in file /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php on line 1588
Stack trace:
- TypeError->() /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:1588
- array_keys() /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:1588
- FreePBX\modules\Core\Drivers\PJSip->addTrunk() /var/www/html/admin/modules/core/Core.class.php:4682
- FreePBX\modules\Core->chansipToPJSIP() /var/www/html/admin/modules/core/Console/Trunks.class.php:39
- FreePBX\Console\Command\Trunks->execute() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:312
- Symfony\Component\Console\Command\Command->run() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:1022
- Symfony\Component\Console\Application->doRunCommand() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:314
- Symfony\Component\Console\Application->doRun() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:168
- Symfony\Component\Console\Application->run() /var/lib/asterisk/bin/fwconsole:163
any ideas?