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.6

I 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: True

127.0.0.1 <- Response: Error
127.0.0.1 <- Message: Permission denied <== Here's the error message
127.0.0.1 <- Server: 0

Response: Error
Message: Permission denied
Server: 0

These are the permissions from "make install"
/usr/local/fop2 has root/root for owner/group
/var/www/html/fop2 has apache/apache

Comments

  • 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! :D
  • Glad it worked, and thanks for posting your experience and solution. Best regards,
Sign In or Register to comment.