Member
Last active 7 years ago
Hi, I'm having a problem with FOP2 Manager. When I go to the login page it creates the tables and the admin user, but when I try to login it returns to the login page, it doesn't show the "invalid credentials" error so I think it's some other misconfiguration. Can you help me?
/var/www/html/fop2/admin/config.php:
<?php
define('USE_BACKEND_AUTH',false);
$ADMINUSER = "admin";
$ADMINPWD = "mypass";
$DBHOST="localhost";
$DBUSER="fop2";
$DBPASS="myotherpass";
$DBNAME="fop2";
$SQLITEDB="/usr/local/fop2/fop2settings.db";
$FORCE_UTF8=false;
$APPNAME = "FOP2 Manager";
$LOGONAME = "<span style='font-weight:bold; color:#000;'>FOP2</span> <span style='color:#4EB855'>Manager</span>";
$LOGO = "images/fop2managerlogo.png";
$DEBUG = 0;
$BUTTONS_PER_PAGE = 150;
foreach(glob('/etc/fop2/config-webadmin-*.conf') as $conf_file) {
include_once($conf_file);
}
/usr/local/fop2/fop2.cfg:
[general]
manager_host=localhost
manager_port=5038
manager_user=fop2
manager_secret=myotherpass
web_dir = /var/www/html/fop2
poll_interval = 86400
poll_voicemail = 1
monitor_ipaddress = 0
blind_transfer = 0
supervised_transfer = 1
spy_options="bq"
whisper_options="w"
monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}_${DEST_EXTENSION}_%h%i%s_${UNIQUEID}_${FOP2CONTEXT}
monitor_format=wav
monitor_mix=true
monitor_exec=/usr/local/fop2/recording_fop2.pl
voicemail_path=/var/spool/asterisk/voicemail
sms_enable_messagesend=1
ssl_certificate_file=/etc/pki/tls/certs/localhost.crt
ssl_certificate_key_file=/etc/pki/tls/private/localhost.key
I have 2 Asterisk servers connected by a IAX trunk and FOP 2.26 in one of them. Call pickup works when the call are between the 2 servers, but when one extension from one server call another from the same server it doesn't work.
fop2.cfg: http://pastebin.com/raw.php?i=Fc5DYEcP
buttons.cfg: http://pastebin.com/raw.php?i=Ndka2udb
Is there a option I can activate to make this work?