Unable to use

  1. 12 years ago

    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

  2. admin

    13 Sep 2012 Administrator

    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

  3. It was iptables that block the port...now so far so good :-)

    Thanks so much Nicolas

or Sign Up to reply!