报错排查

来自最权威最新完整开源SIP,语音通信,融合通信中文技术文档资料,提供详细的Asterisk Freepbx, FreeSBC, 免费会话边界控制器,网关,语音板卡,IPPBX,SBC配置资料-asterisk,freepbx,freesbc 用户手册 界面配置,呼叫路由,IVR, 网关对接,拨号规则,SIP 分机呼叫,pjsip, IVR, 录音, CDR, 队列呼叫,振铃组,CLI 命令中文资料手册
跳转至: 导航搜索

FreePBX Asterisk 报错排查

1)系统升级后出现 retrieve_conf encountered an error 错误sng_mcu,解决办法

Reload failed because retrieve_conf encountered an error: 255
When I click on More Info I get:
exit: 255
Unable to continue. Invalid argument supplied for foreach() in /var/www/html/admin/modules/sng_mcu/functions.inc/dialplan.php on line 57
如果不使用MCU模块,直接删除此模块。解决办法:rm -Rf /var/www/html/admin/modules/sng_mcu

2) Reload failed because retrieve_conf encountered an error: 255, 报错日志:

配置环境:
FreePBX 13.0.15
Asterisk 11.14.2
SHMZ release 6.5 (Final)
exit: 255
PHP Fatal error: Class 'DomDocument' not found in 
/var/www/html/admin/libraries/Composer/vendor/fguillot/picofeed/lib/PicoFeed/Parser/
XmlParser.php on line 143
Whoops\Exception\ErrorException: Class 'DomDocument' not found in file 
/var/www/html/admin/libraries/Composer/vendor/fguillot/picofeed/lib/PicoFeed/Parser/
XmlParser.php on line 143
Stack trace:
1. () 
/var/www/html/admin/libraries/Composer/vendor/fguillot/picofeed/lib/PicoFeed/Parser/
XmlParser.php:143

解决办法,运行 yum install php-xml 安装支持包。