Answer the question
In order to leave comments, you need to log in
Freepbx 13 error when creating chan_sip trunk, is it a bug?
I create a chan_sip trunk when I try to use it, I get an error with the following content:
exit: 1
Whoops\Exception\ErrorException: Invalid argument supplied for foreach() in file /var/www/html/admin/modules/core/functions.inc.php on line 4088
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/core/functions.inc.php:4088
2. Whoops\Run->handleError() /var/www/ html/admin/modules/core/functions.inc.php:4088
3. core_devices_get_user_mappings() /var/www/html/admin/modules/core/functions.inc.php:43
4. core_conf->map_dev_user() /var /www/html/admin/modules/core/functions.inc.php:460
5. core_conf->generate_sip_additional() /var/www/html/admin/modules/core/functions.inc.php:104
6. core_conf->generateConf() /var/www/html/admin/libraries/BMO/FileHooks.class.php:65
7. FreePBX\FileHooks->processOldHooks() /var/www/html/admin/libraries/BMO /FileHooks.class.php:24
8. FreePBX\FileHooks->processFileHooks() /var/lib/asterisk/bin/retrieve_conf:892
Building AsteriskNoW
If the trunk is disabled, then everything is applied, but when enabled and applied, this error pops up.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question