Dial out permission denied? -SOLVED
-
This is a test setup. When logged in as extension 4001, then selecting extension 4032900001 (highlights red) and then selecting Dial button nothing happens. Looks like a permission problem but not sure where to look - see following:
Using PBX in a Flash, FreePBX, and just installed FOP2 (nice package), login using extension 4001, password 1234 with
Exten 4032900001 both are internal extensions. Both extensions show up in FOP2 and display proper activity when calling to each other. Voicemail icon shows up also.FreePBX 2.5.2.2
Asterisk 1.6.0.6I installed using tar method and "make install"
I used autoconfig-users-freepbx.sh to create users.
Manager is admin/Delta4 for /etc/amportal.conf, /etc/asterisk/manager.conf, and fop2.cfg
Output of "./fop2_server -X 15" shows "permission denied" - nothing shows up in asterisk CLI>
192.168.202.14 <= <msg data="1|originate|2|b3146824407174b59932d6fd93c32e30" />
127.0.0.1 -> Action: Originate
127.0.0.1 -> Channel: SIP/4001
127.0.0.1 -> Exten: 4032900001
127.0.0.1 -> Context: from-internal
127.0.0.1 -> Priority: 1
127.0.0.1 -> CallerID: <4001>
127.0.0.1 -> Async: True127.0.0.1 <- Response: Error
127.0.0.1 <- Message: Permission denied <== Here's the error message
127.0.0.1 <- Server: 0Response: Error
Message: Permission denied
Server: 0These are the permissions from "make install"
/usr/local/fop2 has root/root for owner/group
/var/www/html/fop2 has apache/apache -
In /etc/asterisk/manager.conf must add originate option to admin user:
[admin]
secret = Delta4
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,originate <== add originate here!
write = system,call,log,verbose,command,agent,user,originate <== add originate here!Now things work the way they should - Wahoo!

-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login