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. Unable to use

Unable to use

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 54 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.
  • G
    G
    gianluca
    wrote on last edited by
    #1

    Goodmorning to all,
    I have installed FOP2 on my Asterisk server but I have some problem. The hardware configuration is this one:

    Asterisk 1.8.14.1
    S.O.= Ubuntu Server 12.04 LTS
    WebServer = Apache2
    DB= MySQL

    Well, here there are my configuration files (I omit the lines that begins with ; 😞

    fop2.cfg

    [general]
    ; AMI definitions
    manager_host=127.0.0.1
    manager_port=5038
    manager_user=admin
    manager_secret=amp111
    ;event_mask=agent,call,command,system,user,dialplan
    
    poll_interval      = 86400
    poll_voicemail     = 1
    monitor_ipaddress  = 0
    
    blind_transfer     = 1
    
    spy_options="bq"
    
    whisper_options = "w"
    
    monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}_${DEST_EXTENSION}_%h%i%s_${UNIQUEID}
    monitor_format=wav
    monitor_mix=true
    
    voicemail_path=/var/spool/asterisk/voicemail
    
    user=210:1234:all:queues
    user=211:1234:all:queues
    buttonfile=buttons.cfg
    
    

    buttons.cfg

    [SIP/210]
    type=extension
    extension=210
    context=internal
    label=User 1
    mailbox=210@default
    extenvoicemail=*210@default
    email=user1@domain.com
    
    [SIP/201]
    type=extension
    extension=201
    context=internal
    label=User 2
    mailbox=201@default
    extenvoicemail=*201@default
    email=user2@domain.com
    

    manager.conf

    [general]
    enabled = yes
    webenabled = yes
    port = 5038
    bindaddr = 127.0.0.1
    
    [admin]
    secret = amp111
    deny = 0.0.0.0/0.0.0.0
    permit = 127.0.0.1/255.255.255.0
    read = system,call,command,agent,user,originate,dialplan
    write = system,call,command,agent,user,originate
    

    Now, I try to execute this command:

    sudo /usr/local/fop2/fop2_server --test
    

    And the system answer me in that way:

    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!
    

    So I suppose that everything is configured well. When I try to login by web (I open in the iptables the port 80) I enter the right username and password and from that moment the system "try to connect" to the server but after a while it respond me that the server is down.
    Where is wrong?
    Thanks for any help

    Gianluca

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

      Hi,

      Maybe fop2 server is not running

      Maybe fop2 server is running, but you did not open port tcp 4445

      Please check the troubleshooter here:

      http://support.asternic.biz/index.php?/ ... tep/View/4

      1 Reply Last reply
      0
      • G
        G
        gianluca
        wrote on last edited by
        #3

        It was iptables that block the port...now so far so good 🙂

        Thanks so much Nicolas

        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