gianluca

Member

Last active 12 years ago

  1. 12 years ago
    Fri Sep 14 08:22:11 2012
    gianluca posted in [FOP2][Problems]VisualPhonebook.

    Well,
    I have the same problem. I don't use freepbx so I suppose that is normal that I have to create the DB and the tables and say to FOP2 where to find these information.
    If so where I have to set up these information? In which way? Which is the format of the DB? Is there a documentation for people, like me, that don't use freepbx?

    Thanks so much!

    Gianluca

  2. Fri Sep 14 08:18:55 2012
    gianluca posted in Unable to use.

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

    Thanks so much Nicolas

  3. Thu Sep 13 14:09:03 2012
    gianluca started the conversation Unable to use.

    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 protected]
    
    [SIP/201]
    type=extension
    extension=201
    context=internal
    label=User 2
    mailbox=201@default
    extenvoicemail=*201@default
    [email protected]

    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