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. Connecting to server, attempt number : 1

Connecting to server, attempt number : 1

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 1.2k 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.
  • D
    D
    Davidin
    wrote on last edited by
    #1

    HELP ME PLEASE!!!!! MY CONFIGURATION IS CORRECT BUT IS IMPOSSIBLE LOGIN .
    HERE MY CONFIGURATION AND SOME TESTS.


    centos*CLI> manager show users

    username

    admin

    1 manager users configured.


    centos*CLI> manager show connected
    Username IP Address
    admin 192.168.1.200


    [root@centos fop2]# ./fop2_server --test
    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!


    [root@centos fop2]# ./autoconfig-users-freepbx.sh
    user=2203🔢all
    user=2204🔢all
    user=100🔢all
    user=101🔢all
    user=102🔢all
    user=103🔢all
    user=104🔢all
    user=105🔢all
    user=106🔢all
    buttonfile=autobuttons.cfg


    [root@centos fop2]# pgrep fop2_server
    16520

    [root@centos fop2]# netstat -nta
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 0.0.0.0:868 0.0.0.0:* LISTEN
    tcp 0 0 192.168.1.200:5038 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:1720 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN
    tcp 0 0 192.168.1.200:43885 192.168.1.200:5038 ESTABLISHED
    tcp 0 0 192.168.1.200:49597 200.61.177.8:80 ESTABLISHED
    tcp 0 0 192.168.1.200:5038 192.168.1.200:43885 ESTABLISHED
    tcp 0 0 :::80 :::* LISTEN
    tcp 0 0 :::22 :::* LISTEN
    tcp 0 0 :::443 :::* LISTEN

    [root@centos fop2]# iptables -vnL
    Chain INPUT (policy ACCEPT 28094 packets, 28M bytes)
    pkts bytes target prot opt in out source destination

    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination

    Chain OUTPUT (policy ACCEPT 20406 packets, 2819K bytes)
    pkts bytes target prot opt in out source destination


    fop.cfg

    [general]
    ; AMI definitions
    manager_host=192.168.1.200
    manager_port=5038
    manager_user=admin
    manager_secret=amp111
    ;event_mask=call,agent

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

    ; Global Config
    language = en
    poll_interval = 86400
    poll_voicemail = 1
    monitor_ipaddress = 0

    ;master_key = 1234

    user=105🔢all
    ;buttonfile=autobuttons.cfg
    ;#exec autoconfig-users-freepbx.sh


    manager.conf

    ;
    ; AMI - The Asterisk Manager Interface
    ;
    [general]
    enabled = yes
    port = 5038
    bindaddr = 192.168.1.200

    [admin]
    secret = amp111
    deny = 0.0.0.0/0.0.0.0
    permit = 192.168.1.200/255.255.255.0
    read = system,call,command,agent,user,originate
    write = system,call,command,agent,user,originate


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

      HELP ME PLEASE!!!!! MY CONFIGURATION IS CORRECT BUT IS IMPOSSIBLE LOGIN .
      HERE MY CONFIGURATION AND SOME TESTS.

      fop.cfg

      [general]
      ; AMI definitions
      manager_host=192.168.1.200
      manager_port=5038
      manager_user=admin
      manager_secret=amp111
      ;event_mask=call,agent

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

      ; Global Config
      language = en
      poll_interval = 86400
      poll_voicemail = 1
      monitor_ipaddress = 0

      ;master_key = 1234

      user=105🔢all
      ;buttonfile=autobuttons.cfg
      ;#exec autoconfig-users-freepbx.sh
      [/color:1ha79am0]


      Look at the text in red above.. if you use freepbx, you should uncomment the #exec line and comment the user line, so it should look like:

      ;user=105:1234:all
      ;buttonfile=autobuttons.cfg
      #exec autoconfig-users-freepbx.sh
      

      [/color:1ha79am0]

      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