svan

Member

Last active 9 years ago

  1. 9 years ago
    Fri Dec 12 07:21:03 2014

    The autoconfig-users runs fine, but the autoconfig-buttons doesn't:

    ./autoconfig-buttons.sh
    # Problem connecting to mysql
    
    ! Cannot connect to Fo2 Manager database

    This is what it looks like now:

    if [ -e /etc/freepbx.conf ]; then
    DBNAME=`cat /etc/freepbx.conf | sed 's/ //g' | grep AMPDBNAME | cut -d= -f2 | tail -n1`
    DBUSER=`cat /etc/freepbx.conf | sed 's/ //g' | grep AMPDBUSER | cut -d= -f2 | tail -n1`
    DBPASSLINE=`cat /etc/freepbx.conf | grep AMPDBPASS | tail -n1`
    DBSTRIP=`echo $DBPASSLINE | cut -d= -f1`
    DBPASS=`echo $DBPASSLINE | sed "s/$DBSTRIP=//g"`
    DBHOST=`cat /etc/freepbx.conf | sed 's/ //g' | grep ^AMPDBHOST | cut -d= -f2 | tail -n1`
  2. Thu Dec 11 10:27:26 2014

    Hi, I'm having the same issue: call transfer and pickup do not work with fop2 2.28 and FreePBX 12. However after upgrading to 2.29 beta (the CentOS version, I get the following error when running "/usr/local/fop2/fop2_server --test":

    Flash Operator Panel 2 - White Label Version.
    unable to initialize libusb: -99
    Flash Operator Panel 2 - Valid License (7)

    ERROR 1102 (42000) at line 1: Incorrect database name ''
    ERROR 1102 (42000) at line 1: Incorrect database name ''
    Connection to manager OK!

    And no buttons display in fop2.
    Any ideas?

  3. 10 years ago
    Wed Oct 15 16:02:39 2014
    svan joined the forum.