D
D
dmitrii5072017-05-30 12:27:34
Asterisk
dmitrii507, 2017-05-30 12:27:34

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.

Trunk config

[email protected]
type=friend
transport=udp
secret=password
qualify=yes
port=5060
nat=force_rport,comedia
insecure=port,invite
host=93.85.255.188
fromuser=+37524XXXXXXX
fromdomain=ims.beltel.by
disallow=all
context=from-trunk
callerid=24XXXXXXX
allow=alaw
allow=ulaw
Строка регистрации
[email protected]:password:[email protected]@93.85.255.188/+37524XXXXXXX

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question