Conversion to PJSIP Failed

Trying to convert an extension from Chan_sip to PJSIP fails from both the guin and command line.

[root@neurocog ~]# fwconsole convert2pjsip 202

Too many arguments, expected arguments “command”.

convert2pjsip [-a|–all] [-r|–range RANGE]

[root@neurocog ~]# fwconsole convert2pjsip -r 202
rm: cannot remove ‘/var/spool/asterisk/voicemail/device/202’: Is a directory
Converted extension 202 to PJSIP
Extensions converted successfully!
Run ‘fwconsole reload’ to reload config
[root@neurocog ~]# fwconsole reload
Reload Started

In Reload.class.php line 462:

Successful reload, but could not clear reload flag due to a database error: Error while sending QUERY packet. PID=17677

reload [–json] [–dry-run] [–skip-registry-checks] [–dont-reload-asterisk]

PHP Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000]: General error: 2006 MySQL server has gone away’ in /var/www/html/admin/libraries/modulefunctions.class.php:706
Stack trace:
#0 /var/www/html/admin/libraries/modulefunctions.class.php(706): PDOStatement->execute(Array)
#1 /var/www/html/admin/libraries/BMO/Modules.class.php(347): module_functions->getinfo(‘oembranding’, false, false)
#2 /var/www/html/admin/libraries/BMO/Modules.class.php(359): FreePBX\Modules->getInfo(‘oembranding’)
#3 /var/www/html/admin/libraries/BMO/Notifications.class.php(596): FreePBX\Modules->checkStatus(‘oembranding’)
#4 /var/www/html/admin/libraries/BMO/Notifications.class.php(68): FreePBX\Notifications->canAddNotification(‘freepbx’, ‘RCONFFAIL’, ‘critical’)
#5 /var/www/html/admin/libraries/Console/Reload.class.php(59): FreePBX\Notifications->add_critical(‘freepbx’, ‘RCONFFAIL’, '‘fwconsole relo…’, ‘Successful relo…’)
#6 [internal function]: FreePBX\Console\Command\Reload->__destruct()
#7 {main}
thrown in /var/www/html/admin/libraries/modulefunctions.class.php on line 706
You have new mail in /var/spool/mail/root

It looks like it did convert it using the command line but the reload flag won’t clear.

after clicking the apply button again in the gui it seems to have cleared the reload flag. weird.

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