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

N

newnet82

@newnet82
Unfollow Follow
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Call Pickup
    N newnet82
    Support

    OK.
    I understand ...

    Thx


  • Call Pickup
    N newnet82
    Support

    With the fop2.tgz found on http://www.fop2.com/downloads.

    In /var/www/html/panel/op_server.cfg I have

    listen_port=4446

    When I do a netstat -an | grep 444 I only see :

    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:4446 0.0.0.0:* LISTEN

    So fop1 is really listening on the port 4446 and fop2 on the port 4445.

    I only do a /usr/local/fop2/fop2_server restart after modification of the file buttons.cfg.
    My fop2.cfg is :

    [general]
    ; AMI definitions
    manager_host=localhost
    manager_port=5038
    manager_user=fop2
    manager_secret=fop2
    ;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
    
    ; Force blind transfer on asterisk 1.6
    blind_transfer     = 1
    
    ; Master Password that overrides any individual one
    master_key = 5678
    
    ; --- SAMPLE USER LIST ---
    user=701:1234:all
    user=704:1234:all
    ;user=620:1234:all
    ;user=621:1234:all
    ;user=622:1234:all
    ;user=623:1234:meetme
    buttonfile=buttons.cfg
    ; ------ END SAMPLE ------
    
    ; This line is NOT commented, it executes 
    ; the autoconfig configuration for FreePBX
    ;#exec autoconfig-users-freepbx.sh
    

    I just try the command fop2_server restart on a new installation and it's the same.
    So, when I need to restart fop2 I do

    ps ax | grep fop2
    kill fop2_pid
    fop2_server --start &
    

    My installations are registered.

    Strange ...
    BR


  • Call Pickup
    N newnet82
    Support

    Fine. It is running 😄

    I find a problem I think. When I do a restart, or a start, or a stop it says : Can't listen to port 4445.
    So I kill the process and do a "restart". Now, it never achieves the restart.

    I suppose it is an error of manipulation. Isn't it ?

    BR


  • Call Pickup
    N newnet82
    Support

    Hi,

    I'm using a CentOS release 5.3 (32 bits version) and I have the same problem.
    So, I download the 2 files. but the fop2_server is for x86-64 and not x86_32.

    Can you help me ?

  • 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