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. Need help with initial config on clean Asterisk.

Need help with initial config on clean Asterisk.

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

    Hello.

    Trying to set up the FOP2 at the clean asterisk 1.4 installation.
    I've manually copied files and folders and trying to start the FOP2, but have no luck.

    /usr/local/fop2/fop2_server --test

    Flash Operator Panel 2 - No valid license found. Demo Mode
    Couldn't connect to localhost:5038 (Server 0)

    then I've checked iptables.

    /etc/init.d/iptables status

    Table: filter
    Chain INPUT (policy ACCEPT)
    num target prot opt source destination
    1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

    Chain FORWARD (policy ACCEPT)
    num target prot opt source destination
    1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

    Chain OUTPUT (policy ACCEPT)
    num target prot opt source destination

    Chain RH-Firewall-1-INPUT (2 references)
    num target prot opt source destination
    1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
    2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
    3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
    4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
    5 ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
    6 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
    7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:631
    8 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
    9 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
    10 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
    11 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5060
    12 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:5060
    13 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:4445
    14 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5038
    15 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:5038
    16 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

    Here the fop2.cfg:

    [general]
    ; AMI definitions
    manager_host=localhost
    manager_port=5038
    manager_user=asdasd
    manager_secret=wertyuiop
    event_mask=agent,call,command,system,user,dialplan

    ; Daemon definitios
    listen_port = 4445
    ;restrict_host = http://www.asternic.org
    web_dir = /var/www/html/fop2

    Any suggestions where I lamed up?

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

      Check /etc/asterisk/manager.conf and be sure that you have the manager service enabled. You can check if the service is up by using the command:

      netstat -lnp | grep 5038

      Best regards,

      1 Reply Last reply
      0
      • S
        S
        suncheez
        wrote on last edited by
        #3

        Oh, forgive the newbie!
        Ofcourse it was "enabled = no".
        Thnx a lot.

        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