[2013-10-01 08:09:17] NOTICE[2840] chan_sip.c: Call from '23680957' (172.20.11.40:53647) to extension '1000' rejected because extension not found in context 'from-internal'.
I get this error when trying to call between the two phones on my test install of freepbx. I searched around and poked around but haven’t been able to fix this.
I have a soft phone and a hard phone to test with. I am trying to call between them.
Both phones are registered. The accounts on the phones are registered.
I found the [from-internal] context in extensions.conf. It says I’m not supposed to edit that, but I did anyways:
[from-internal]
exten => 1000,1,Answer()
exten => 1001,2,Answer()
include => from-internal-noxfer
include => from-internal-xfer
include => bad-number ; auto-generated
Same error.
Well do not do that, whatever changes you make will be overwritten anyways.
Try running “sip show peer 1000” at the asterisk CLI followed by “dialplan show 1001@from-internal” and provide the output for both.
My guess is that extensions.conf is not being read/loaded by asterisk…permission ok?
run ‘dialplan reload’ followed by ‘dialplan show’. There will likely not be much there at all if its a permissions issue.
permissions on /etc/asterisk/extensions.conf:
lrwxrwxrwx 1 asterisk asterisk 52 Sep 25 14:41 extensions.conf -> /var/www/html/admin/modules/core/etc/extensions.conf
and on /var/www/html/admin/modules/core/etc/extensions.conf:
-rw-rw-r-- 1 asterisk asterisk 23615 Sep 30 09:58 extensions.conf
permissions on /etc/asterisk
permissions on /etc/asterisk/extensions.conf:
lrwxrwxrwx 1 asterisk asterisk 52 Sep 25 14:41 extensions.conf -> /var/www/html/admin/modules/core/etc/extensions.conf
and on /var/www/html/admin/modules/core/etc/extensions.conf:
-rw-rw-r-- 1 asterisk asterisk 23615 Sep 30 09:58 extensions.conf
lamo mac boy
What version Asterisk and FreePBX? Tell us about how it was installed. If a distro which one? If installed by hand what OS?
FreePBX 3.211.63
Asterisk 10.12.3-digiumphones
I did reinstall asterisk after installing freepbx. I had to get the version of asterisk that works with digium phones. But then I ended up not using a digium phone. So I could actually reinstall the whole system so I am “stock” again. Should I?
Yes, I’d suggest installing the freepbx distro, Asterisk 11. That will support the Dphones.
Just reinstalled FreePBX vanilla. It works now. I recreated my extensions and my two phones (which were already setup with those extensions) could immediately call each other.
Thanks.