Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Dial out permission denied? -SOLVED

Dial out permission denied? -SOLVED

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 240 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    B
    blanchae
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • B
      B
      blanchae
      wrote on last edited by
      #2

      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! 😄

      1 Reply Last reply
      0
      • N
        N
        nicolas
        wrote on last edited by
        #3

        Glad it worked, and thanks for posting your experience and solution. Best regards,

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups