Was attempting to configure PJSIP Trunks from Bandwidth and couldnt get them working so I deleted the trunk and ended up getting the error in the title.
I have since deleted all trunks on the system, have rebooted and nothing seems to clear the issue.
[root@pbx ~]# fwconsole reload --verbose
Reload Started
In PJSip.class.php line 507:
[Exception]
Asterisk will crash if sip_server is blank!
Exception trace:
at /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:507
FreePBX\modules\Core\Drivers\PJSip->genConfig() at /var/www/html/admin/modules/core/Core.class.php:300
FreePBX\modules\Core->genConfig() at /var/www/html/admin/libraries/BMO/FileHooks.class.php:97
FreePBX\FileHooks->processNewHooks() at /var/www/html/admin/libraries/BMO/FileHooks.class.php:26
FreePBX\FileHooks->processFileHooks() at /var/www/html/admin/libraries/Console/Reload.class.php:335
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
reload [--json] [--dry-run] [--skip-registry-checks] [--dont-reload-asterisk]
I have submitted an Issues Ticket, but thought maybe I’d pop on here to see if anyone else has encountered this.
I am also curious what problem you had with the trunk, which may be related.
I would expect a Bandwidth trunk to be very simple, with no registration or authentication.
What went wrong on incoming calls? On outgoing?
There is no such thing as ‘Bandwidth PJSIP’, only Bandwidth requirements for SIP trunks… If you have chan_sip settings (that are working), post them here (mask phone numbers, account numbers, passwords and anything else you consider personal, but make it clear what each masked item represents) and we’ll try to give you the equivalents for pjsip.