This is a new install of FreePBX 2.10 with Asterisk 1.8.10. I set up 2 extensions (101 and 111). They are unable to call each other, or make use of an outbound route. Every attempt shows a message in the log like this one.
chan_sip.c:22622 handle_request_invite: Call from ‘111’ (IP:PORT) to extension ‘101’ rejected because extension not found in context ‘from-internal’.
Both extensions have the context set to “from-internal”.
The extensions register fine. I tried calling 111 and sip/111, same result.
The extensions are mostly using default settings. I set the number and a password.
I got this working by doing a dialplan reload… I expected the red bar in the UI to handle it…
Have you found a different solution for this? I have just installed FreePBX 2.10 and Asterisk 1.8.11. I’ve already had to reinstall FreePBX once and reapply the updates because sip.conf was not being written correctly and the peers were not being read by Asterisk.
Now that my phones have registered, I cannot use them because I receive the same error, “rejected because extension not found in context ‘from-internal’.” Unfortunately, there is no other information that I can find in the logs.
My guess is the problem revolves around the fact that there is no include statement in extensions.conf for extensions_additional.conf. When I added this manually, I received additional warnings and errors upon reload and still could not place a call.
Make symlinks from /var/www/html/admin/modules/core/etc
extensions.conf features.conf iax.conf logger.conf sip.conf sip_notify.conf
to files on /etc/asterisk
Steps 1 & 2 are covered in the installation instructions.
Step 3 (first one) is not needed this is taken care of by FreePBX install script
Step 3 (second one) is nonsense, these are warning/notices, those custom hooks are supplied so programmers can extend FreePBX functionality.
It could be that file permissions are not set right.
If
ls -l /etc/asterisk/
doesn’t display the same “asterisk” user on all files - especially links - then you probably haven’t set up your apache to run as user asterisk. Look up the manual install docs on how to fix it.