Problem whith "modules/endpointman"

Hi all!

Today I would like to see settings of some my “Extension” device and when I clicked on one of them, I saw this:

“FATAL SQL ERROR! ::::: SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,EXPLICIT) for operation ‘like’]SQL -
array(4) {
[0]=>
array(7) {
[“file”]=>
string(72) “/var/www/html/admin/modules/endpointman/includes/abstraction/freepbx.inc”
[“line”]=>
int(31)
[“function”]=>
string(9) “sql_error”
[“class”]=>
string(20) “epm_data_abstraction”
[“object”]=>
object(epm_data_abstraction)#9 (3) {
[“db”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “XXXXXXX”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
[”_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“amp_conf”]=>
NULL
[“global_cfg”]=>
array(23) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(0) “”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(1) {
[0]=>
object(DB_Error)#10 (8) {
[“error_message_prefix”]=>
string(0) “”
[“mode”]=>
int(1)
[“level”]=>
int(1024)
[“code”]=>
int(-1)
[“message”]=>
string(23) “DB Error: unknown error”
[“userinfo”]=>
string(239) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,EXPLICIT) for operation ‘like’]”
[“backtrace”]=>
array(11) {
[0]=>
array(6) {
[“file”]=>
string(22) “/usr/share/pear/DB.php”
[“line”]=>
int(966)
[“function”]=>
string(10) “PEAR_Error”
[“class”]=>
string(10) “PEAR_Error”
[“type”]=>
string(2) “->”
[“args”]=>
array(5) {
[0]=>
string(23) “DB Error: unknown error”
[1]=>
int(-1)
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
string(239) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,EXPLICIT) for operation ‘like’]”
}
}
[1]=>
array(7) {
[“file”]=>
string(24) “/usr/share/pear/PEAR.php”
[“line”]=>
int(531)
[“function”]=>
string(8) “DB_Error”
[“class”]=>
string(8) “DB_Error”
[“object”]=>
RECURSION
[“type”]=>
string(2) “->”
[“args”]=>
array(4) {
[0]=>
int(-1)
[1]=>
int(1)
[2]=>
int(1024)
[3]=>
string(239) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,EXPLICIT) for operation ‘like’]”
}
}
[2]=>
array(7) {
[“file”]=>
string(29) “/usr/share/pear/DB/common.php”
[“line”]=>
int(1908)
[“function”]=>
string(10) “raiseError”
[“class”]=>
string(4) “PEAR”
[“object”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(7) {
[0]=>
NULL
[1]=>
int(-1)
[2]=>
NULL
[3]=>
NULL
[4]=>
string(239) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci [nativecode=1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,EXPLICIT) for operation ‘like’]”
[5]=>
string(8) “DB_Error”
[6]=>
bool(true)
}
}
[3]=>
array(7) {
[“file”]=>
string(28) “/usr/share/pear/DB/mysql.php”
[“line”]=>
int(898)
[“function”]=>
string(10) “raiseError”
[“class”]=>
string(9) “DB_common”
[“object”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(5) {
[0]=>
int(-1)
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
[4]=>
string(114) “1267 ** Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,EXPLICIT) for operation ‘like’”
}
}
[4]=>
array(7) {
[“file”]=>
string(28) “/usr/share/pear/DB/mysql.php”
[“line”]=>
int(327)
[“function”]=>
string(15) “mysqlRaiseError”
[“class”]=>
string(8) “DB_mysql”
[“object”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(0) {
}
}
[5]=>
array(7) {
[“file”]=>
string(29) “/usr/share/pear/DB/common.php”
[“line”]=>
int(1216)
[“function”]=>
string(11) “simpleQuery”
[“class”]=>
string(8) “DB_mysql”
[“object”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(1) {
[0]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
}
}
[6]=>
array(7) {
[“file”]=>
string(29) “/usr/share/pear/DB/common.php”
[“line”]=>
int(1289)
[“function”]=>
string(5) “query”
[“class”]=>
string(9) “DB_common”
[“object”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(1) {
[0]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
}
}
[7]=>
array(7) {
[“file”]=>
string(72) “/var/www/html/admin/modules/endpointman/includes/abstraction/freepbx.inc”
[“line”]=>
int(29)
[“function”]=>
string(6) “getOne”
[“class”]=>
string(9) “DB_common”
[“object”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(2) {
[0]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[1]=>
NULL
}
}
[8]=>
array(7) {
[“file”]=>
string(62) “/var/www/html/admin/modules/endpointman/includes/functions.inc”
[“line”]=>
int(120)
[“function”]=>
string(3) “sql”
[“class”]=>
string(20) “epm_data_abstraction”
[“object”]=>
object(epm_data_abstraction)#9 (3) {
[“db”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“amp_conf”]=>
NULL
[“global_cfg”]=>
array(23) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(0) “”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(2) {
[0]=>
&string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[1]=>
&string(6) “getone”
}
}
[9]=>
array(7) {
[“file”]=>
string(57) “/var/www/html/admin/modules/endpointman/functions.inc.php”
[“line”]=>
int(87)
[“function”]=>
string(11) “__construct”
[“class”]=>
string(15) “endpointmanager”
[“object”]=>
object(endpointmanager)#8 (7) {
[“db”]=>
NULL
[“amp_conf”]=>
array(211) {
[“AS_DISPLAY_FRIENDLY_NAME”]=>
&int(1)
[“AS_DISPLAY_HIDDEN_SETTINGS”]=>
&int(1)
[“AS_DISPLAY_READONLY_SETTINGS”]=>
&int(0)
[“AS_OVERRIDE_READONLY”]=>
&int(0)
[“ASTMANAGERHOST”]=>
&string(9) “localhost”
[“AMPMGRPASS”]=>
&string(6) “amp111”
[“ASTMANAGERPORT”]=>
&string(4) “5038”
[“ASTMANAGERPROXYPORT”]=>
&string(0) “”
[“AMPMGRUSER”]=>
&string(5) “admin”
[“AMPBACKUPEMAILFROM”]=>
&string(0) “”
[“DAYNIGHTTCHOOK”]=>
&bool(false)
[“FORCE_JS_CSS_IMG_DOWNLOAD”]=>
&int(0)
[“AMPLOCALBIN”]=>
&string(0) “”
[“FPBXDBUGFILE”]=>
&string(30) “/var/log/asterisk/freepbx_dbug”
[“DEVEL”]=>
&bool(false)
[“FPBXDBUGDISABLE”]=>
&int(0)
[“DISABLE_CSS_AUTOGEN”]=>
&int(0)
[“MODULEADMIN_SKIP_CACHE”]=>
&int(0)
[“DEVELRELOAD”]=>
&bool(false)
[“POST_RELOAD_DEBUG”]=>
&int(0)
[“POST_RELOAD”]=>
&string(0) “”
[“PRE_RELOAD”]=>
&string(0) “”
[“DIE_FREEPBX_VERBOSE”]=>
&int(0)
[“USE_PACKAGED_JS”]=>
&int(1)
[“MIXMON_POST”]=>
&string(0) “”
[“ALWAYS_SHOW_DEVICE_DETAILS”]=>
&int(1)
[“DEVICE_STRONG_SECRETS”]=>
&int(1)
[“DEVICE_REMOVE_MAILBOX”]=>
&int(0)
[“DEVICE_SIP_CANREINVITE”]=>
&string(2) “no”
[“DEVICE_SIP_TRUSTRPID”]=>
&string(3) “yes”
[“DEVICE_SIP_SENDRPID”]=>
&string(2) “no”
[“DEVICE_SIP_NAT”]=>
&string(2) “no”
[“DEVICE_SIP_ENCRYPTION”]=>
&string(2) “no”
[“DEVICE_SIP_QUALIFYFREQ”]=>
&int(60)
[“DEVICE_QUALIFY”]=>
&string(3) “yes”
[“DEVICE_ALLOW”]=>
&string(0) “”
[“DEVICE_DISALLOW”]=>
&string(0) “”
[“DEVICE_CALLGROUP”]=>
&string(0) “”
[“DEVICE_PICKUPGROUP”]=>
&string(0) “”
[“BLOCK_OUTBOUND_TRUNK_CNAM”]=>
&int(0)
[“CFRINGTIMERDEFAULT”]=>
&string(1) “0”
[“ZAP2DAHDICOMPAT”]=>
&bool(true)
[“ENABLECW”]=>
&bool(true)
[“DISABLECUSTOMCONTEXTS”]=>
&bool(false)
[“DITECH_VQA_INBOUND”]=>
&string(1) “7”
[“DITECH_VQA_OUTBOUND”]=>
&string(1) “7”
[“DYNAMICHINTS”]=>
&bool(false)
[“USEDEVSTATE”]=>
&bool(false)
[“CONCURRENCYLIMITDEFAULT”]=>
&string(1) “0”
[“FCBEEPONLY”]=>
&int(0)
[“FORCE_INTERNAL_AUTO_ANSWER_ALL”]=>
&int(0)
[“DIVERSIONHEADER”]=>
&bool(false)
[“DEFAULT_INTERNAL_AUTO_ANSWER”]=>
&string(8) “disabled”
[“NOOPTRACE”]=>
&string(1) “0”
[“CWINUSEBUSY”]=>
&bool(true)
[“CID_PREPEND_REPLACE”]=>
&int(1)
[“ASTSTOPPOLLINT”]=>
&string(1) “2”
[“AMPBADNUMBER”]=>
&bool(true)
[“USEGOOGLEDNSFORENUM”]=>
&int(0)
[“ASTSTOPTIMEOUT”]=>
&string(3) “120”
[“OUTBOUND_CID_UPDATE”]=>
&int(1)
[“OUTBOUND_DIAL_UPDATE”]=>
&int(1)
[“AUTOMIXMON”]=>
&int(0)
[“mainstyle_css_generated”]=>
&string(40) “assets/css/mstyle_autogen_1337160234.css”
[“ASTCONFAPP”]=>
&string(10) “app_meetme”
[“ASTAGIDIR”]=>
&string(25) “/var/lib/asterisk/agi-bin”
[“ASTVARLIBDIR”]=>
&string(17) “/var/lib/asterisk”
[“ASTETCDIR”]=>
&string(13) “/etc/asterisk”
[“ASTLOGDIR”]=>
&string(17) “/var/log/asterisk”
[“ASTMODDIR”]=>
&string(25) “/usr/lib/asterisk/modules”
[“ASTRUNDIR”]=>
&string(17) “/var/run/asterisk”
[“ASTSPOOLDIR”]=>
&string(19) “/var/spool/asterisk”
[“AMPCGIBIN”]=>
&string(17) “/var/www/cgi-bin “
[“AMPBIN”]=>
&string(21) “/var/lib/asterisk/bin”
[“AMPSBIN”]=>
&string(9) “/usr/sbin”
[“AMPWEBROOT”]=>
&string(13) “/var/www/html”
[“MOHDIR”]=>
&string(3) “moh”
[“MIXMON_DIR”]=>
&string(0) “”
[“FOPPASSWORD”]=>
&string(8) “passw0rd”
[“FOPSORT”]=>
&string(9) “extension”
[“FOPWEBROOT”]=>
&string(34) “/var/www/html/admin/modules/fw_fop”
[“FOLLOWME_AUTO_CREATE”]=>
&int(0)
[“FOLLOWME_DISABLED”]=>
&int(1)
[“FOLLOWME_TIME”]=>
&string(2) “20”
[“FOLLOWME_PRERING”]=>
&string(1) “7”
[“FOLLOWME_RG_STRATEGY”]=>
&string(14) “ringallv2-prim”
[“BADDESTABORT”]=>
&bool(false)
[“XTNCONFLICTABORT”]=>
&bool(false)
[“CHECKREFERER”]=>
&bool(true)
[“SERVERINTITLE”]=>
&bool(false)
[“CUSTOMASERROR”]=>
&bool(true)
[“RELOADCONFIRM”]=>
&bool(true)
[“USECATEGORIES”]=>
&bool(true)
[“USE_FREEPBX_MENU_CONF”]=>
&int(0)
[“MODULEADMINWGET”]=>
&bool(true)
[“DASHBOARD_INFO_UPDATE_TIME”]=>
&string(2) “30”
[“MAXCALLS”]=>
&string(0) “”
[“DASHBOARD_STATS_UPDATE_TIME”]=>
&string(1) “6”
[“AST_APP_VQA”]=>
&string(0) “”
[“AST_FUNC_CONNECTEDLINE”]=>
&string(13) “CONNECTEDLINE”
[“AST_FUNC_DEVICE_STATE”]=>
&string(12) “DEVICE_STATE”
[“AST_FUNC_EXTENSION_STATE”]=>
&string(15) “EXTENSION_STATE”
[“AST_FUNC_MASTER_CHANNEL”]=>
&string(14) “MASTER_CHANNEL”
[“AST_FUNC_SHARED”]=>
&string(6) “SHARED”
[“ASTVERSION”]=>
&string(7) “1.8.9.2”
[“mainstyle_css_mtime”]=>
&string(10) “1329147756”
[“NOTICE_BROWSER_STATS”]=>
&int(1)
[“MODULE_REPO”]=>
&string(53) “http://mirror1.freepbx.org,http://mirror2.freepbx.org
[“QUEUES_PESISTENTMEMBERS”]=>
&int(1)
[“QUEUES_SHARED_LASTCALL”]=>
&int(1)
[“QUEUES_UPDATECDR”]=>
&int(0)
[“QUEUES_MIX_MONITOR”]=>
&int(1)
[“QUEUES_HIDE_NOANSWER”]=>
&int(1)
[“USEQUEUESTATE”]=>
&bool(false)
[“GENERATE_LEGACY_QUEUE_CODES”]=>
&int(1)
[“CDRDBHOST”]=>
&string(0) “”
[“CDRDBNAME”]=>
&string(0) “”
[“CDRDBPASS”]=>
&string(0) “”
[“CDRDBPORT”]=>
&string(0) “”
[“CDRDBTABLENAME”]=>
&string(0) “”
[“CDRDBTYPE”]=>
&string(0) “”
[“CDRDBUSER”]=>
&string(0) “”
[“EXTENSION_LIST_RINGGROUPS”]=>
&int(0)
[“AMPADMINLOGO”]=>
&string(0) “”
[“BRAND_IMAGE_HIDE_NAV_BACKGROUND”]=>
&int(0)
[“BRAND_IMAGE_SHADOW_SIDE_BACKGROUND”]=>
&string(33) “images/shadow-side-background.png”
[“BRAND_IMAGE_FREEPBX_RIGHT”]=>
&string(15) “images/logo.png”
[“BRAND_IMAGE_TANGO_LEFT”]=>
&string(16) “images/tango.png”
[“BRAND_IMAGE_FREEPBX_FOOT”]=>
&string(24) “images/freepbx_small.png”
[“BRAND_IMAGE_RELOAD_LOADING”]=>
&string(18) “images/loading.gif”
[“BRAND_FREEPBX_ALT_LEFT”]=>
&string(0) “”
[“BRAND_FREEPBX_ALT_RIGHT”]=>
&string(0) “”
[“BRAND_FREEPBX_ALT_FOOT”]=>
&string(0) “”
[“BRAND_IMAGE_FREEPBX_LINK_LEFT”]=>
&string(0) “”
[“BRAND_IMAGE_FREEPBX_LINK_RIGHT”]=>
&string(0) “”
[“BRAND_IMAGE_FREEPBX_LINK_FOOT”]=>
&string(0) “”
[“BRAND_HIDE_LOGO_RIGHT”]=>
&int(0)
[“BRAND_HIDE_HEADER_VERSION”]=>
&int(0)
[“BRAND_HIDE_HEADER_MENUS”]=>
&int(0)
[“BRAND_CSS_ALT_MAINSTYLE”]=>
&string(0) “”
[“BRAND_CSS_CUSTOM”]=>
&string(0) “”
[“VIEW_FREEPBX_ADMIN”]=>
&string(23) “views/freepbx_admin.php”
[“VIEW_FREEPBX”]=>
&string(17) “views/freepbx.php”
[“VIEW_FREEPBX_RELOAD”]=>
&string(24) “views/freepbx_reload.php”
[“VIEW_FREEPBX_RELOADBAR”]=>
&string(27) “views/freepbx_reloadbar.php”
[“VIEW_WELCOME”]=>
&string(17) “views/welcome.php”
[“VIEW_WELCOME_NONMANAGER”]=>
&string(27) “views/welcome_nomanager.php”
[“VIEW_MENUITEM_DISABLED”]=>
&string(27) “views/menuitem_disabled.php”
[“VIEW_NOACCESS”]=>
&string(18) “views/noaccess.php”
[“VIEW_UNAUTHORIZED”]=>
&string(22) “views/unauthorized.php”
[“VIEW_BAD_REFFERER”]=>
&string(22) “views/bad_refferer.php”
[“VIEW_LOGGEDOUT”]=>
&string(19) “views/loggedout.php”
[“VIEW_PANEL”]=>
&string(15) “views/panel.php”
[“VIEW_REPORTS”]=>
&string(17) “views/reports.php”
[“VIEW_MENU”]=>
&string(14) “views/menu.php”
[“JQUERY_CSS”]=>
&string(24) “assets/css/jquery-ui.css”
[“VIEW_LOGIN”]=>
&string(15) “views/login.php”
[“VIEW_HEADER”]=>
&string(16) “views/header.php”
[“VIEW_FOOTER”]=>
&string(16) “views/footer.php”
[“BRAND_ALT_JS”]=>
&string(0) “”
[“VIEW_FOOTER_CONTENT”]=>
&string(24) “views/footer_content.php”
[“WHICH_grep”]=>
&string(9) “/bin/grep”
[“WHICH_mysqldump”]=>
&string(18) “/usr/bin/mysqldump”
[“WHICH_rm”]=>
&string(7) “/bin/rm”
[“WHICH_tar”]=>
&string(8) “/bin/tar”
[“AMPSYSLOGLEVEL”]=>
&string(4) “FILE”
[“AMPDISABLELOG”]=>
&bool(false)
[“LOG_OUT_MESSAGES”]=>
&int(1)
[“LOG_NOTIFICATIONS”]=>
&int(1)
[“FPBX_LOG_FILE”]=>
&string(29) “/var/log/asterisk/freepbx.log”
[“PHP_ERROR_HANDLER_OUTPUT”]=>
&string(4) “dbug”
[“AMPEXTENSIONS”]=>
&string(10) “extensions”
[“AUTHTYPE”]=>
&string(8) “database”
[“AMP_ACCESS_DB_CREDS”]=>
&int(0)
[“ARI_ADMIN_USERNAME”]=>
&string(0) “”
[“ARI_ADMIN_PASSWORD”]=>
&string(12) “ari_password”
[“AMPVMUMASK”]=>
&string(3) “007”
[“BROWSER_STATS”]=>
&int(1)
[“FORCED_ASTVERSION”]=>
&string(0) “”
[“AMPWEBADDRESS”]=>
&string(0) “”
[“AMPASTERISKGROUP”]=>
&string(8) “asterisk”
[“AMPASTERISKUSER”]=>
&string(8) “asterisk”
[“AMPDEVGROUP”]=>
&string(8) “asterisk”
[“AMPDEVUSER”]=>
&string(8) “asterisk”
[“AMPASTERISKWEBGROUP”]=>
&string(8) “asterisk”
[“AMPASTERISKWEBUSER”]=>
&string(8) “asterisk”
[“AMPENGINE”]=>
&string(8) “asterisk”
[“USE_GOOGLE_CDN_JS”]=>
&int(0)
[“AMPMPG123”]=>
&bool(true)
[“SSHPORT”]=>
&string(0) “”
[“AMPPLAYKEY”]=>
&string(0) “”
[“JQUERYUI_VER”]=>
&string(5) “1.8.9”
[“JQUERY_VER”]=>
&string(5) “1.7.1”
[“TCMAINT”]=>
&bool(true)
[“TCINTERVAL”]=>
&string(2) “60”
[“VMX_CONTEXT”]=>
&string(13) “from-internal”
[“VMX_LOOPDEST_CONTEXT”]=>
&string(0) “”
[“VMX_LOOPDEST_EXT”]=>
&string(4) “dovm”
[“VMX_LOOPDEST_PRI”]=>
&int(1)
[“VMX_PRI”]=>
&int(1)
[“VMX_TIMEDEST_CONTEXT”]=>
&string(0) “”
[“VMX_TIMEDEST_EXT”]=>
&string(4) “dovm”
[“VMX_TIMEDEST_PRI”]=>
&int(1)
[“VM_SHOW_IMAP”]=>
&int(0)
[“AMPDBUSER”]=>
string(12) “asteriskuser”
[“AMPDBPASS”]=>
string(9) “juGvfub78”
[“AMPDBHOST”]=>
string(9) “localhost”
[“AMPDBNAME”]=>
string(8) “asterisk”
[“AMPDBENGINE”]=>
string(5) “mysql”
[“datasource”]=>
string(0) “”
[“AMPENABLEDEVELDEBUG”]=>
bool(false)
}
[“global_cfg”]=>
array(25) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(19) “America/Los_Angeles”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
[“disable_epm”]=>
bool(false)
[“diable_epm”]=>
bool(true)
}
[“error”]=>
array(1) {
[“config_location”]=>
string(155) “Configuration Directory is not a directory or does not exist! Please change the location here: Here”
}
[“message”]=>
array(0) {
}
[“eda”]=>
object(epm_data_abstraction)#9 (3) {
[“db”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
[”_db”]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“amp_conf”]=>
NULL
[“global_cfg”]=>
array(23) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(0) “”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
}
}
[“tpl”]=>
NULL
}
[“type”]=>
string(2) “->”
[“args”]=>
array(0) {
}
}
[10]=>
array(4) {
[“file”]=>
string(30) “/var/www/html/admin/config.php”
[“line”]=>
int(248)
[“function”]=>
string(26) “endpointman_configpageinit”
[“args”]=>
array(1) {
[0]=>
&string(10) “extensions”
}
}
}
[“callback”]=>
NULL
}
}
}
[1]=>
array(7) {
[“file”]=>
string(62) “/var/www/html/admin/modules/endpointman/includes/functions.inc”
[“line”]=>
int(120)
[“function”]=>
string(3) “sql”
[“class”]=>
string(20) “epm_data_abstraction”
[“object”]=>
object(epm_data_abstraction)#9 (3) {
[“db”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
["_db"]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“amp_conf”]=>
NULL
[“global_cfg”]=>
array(23) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(0) “”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
}
}
[“type”]=>
string(2) “->”
[“args”]=>
array(2) {
[0]=>
&string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[1]=>
&string(6) “getone”
}
}
[2]=>
array(7) {
[“file”]=>
string(57) “/var/www/html/admin/modules/endpointman/functions.inc.php”
[“line”]=>
int(87)
[“function”]=>
string(11) “__construct”
[“class”]=>
string(15) “endpointmanager”
[“object”]=>
object(endpointmanager)#8 (7) {
[“db”]=>
NULL
[“amp_conf”]=>
array(211) {
[“AS_DISPLAY_FRIENDLY_NAME”]=>
&int(1)
[“AS_DISPLAY_HIDDEN_SETTINGS”]=>
&int(1)
[“AS_DISPLAY_READONLY_SETTINGS”]=>
&int(0)
[“AS_OVERRIDE_READONLY”]=>
&int(0)
[“ASTMANAGERHOST”]=>
&string(9) “localhost”
[“AMPMGRPASS”]=>
&string(6) “amp111”
[“ASTMANAGERPORT”]=>
&string(4) “5038”
[“ASTMANAGERPROXYPORT”]=>
&string(0) “”
[“AMPMGRUSER”]=>
&string(5) “admin”
[“AMPBACKUPEMAILFROM”]=>
&string(0) “”
[“DAYNIGHTTCHOOK”]=>
&bool(false)
[“FORCE_JS_CSS_IMG_DOWNLOAD”]=>
&int(0)
[“AMPLOCALBIN”]=>
&string(0) “”
[“FPBXDBUGFILE”]=>
&string(30) “/var/log/asterisk/freepbx_dbug”
[“DEVEL”]=>
&bool(false)
[“FPBXDBUGDISABLE”]=>
&int(0)
[“DISABLE_CSS_AUTOGEN”]=>
&int(0)
[“MODULEADMIN_SKIP_CACHE”]=>
&int(0)
[“DEVELRELOAD”]=>
&bool(false)
[“POST_RELOAD_DEBUG”]=>
&int(0)
[“POST_RELOAD”]=>
&string(0) “”
[“PRE_RELOAD”]=>
&string(0) “”
[“DIE_FREEPBX_VERBOSE”]=>
&int(0)
[“USE_PACKAGED_JS”]=>
&int(1)
[“MIXMON_POST”]=>
&string(0) “”
[“ALWAYS_SHOW_DEVICE_DETAILS”]=>
&int(1)
[“DEVICE_STRONG_SECRETS”]=>
&int(1)
[“DEVICE_REMOVE_MAILBOX”]=>
&int(0)
[“DEVICE_SIP_CANREINVITE”]=>
&string(2) “no”
[“DEVICE_SIP_TRUSTRPID”]=>
&string(3) “yes”
[“DEVICE_SIP_SENDRPID”]=>
&string(2) “no”
[“DEVICE_SIP_NAT”]=>
&string(2) “no”
[“DEVICE_SIP_ENCRYPTION”]=>
&string(2) “no”
[“DEVICE_SIP_QUALIFYFREQ”]=>
&int(60)
[“DEVICE_QUALIFY”]=>
&string(3) “yes”
[“DEVICE_ALLOW”]=>
&string(0) “”
[“DEVICE_DISALLOW”]=>
&string(0) “”
[“DEVICE_CALLGROUP”]=>
&string(0) “”
[“DEVICE_PICKUPGROUP”]=>
&string(0) “”
[“BLOCK_OUTBOUND_TRUNK_CNAM”]=>
&int(0)
[“CFRINGTIMERDEFAULT”]=>
&string(1) “0”
[“ZAP2DAHDICOMPAT”]=>
&bool(true)
[“ENABLECW”]=>
&bool(true)
[“DISABLECUSTOMCONTEXTS”]=>
&bool(false)
[“DITECH_VQA_INBOUND”]=>
&string(1) “7”
[“DITECH_VQA_OUTBOUND”]=>
&string(1) “7”
[“DYNAMICHINTS”]=>
&bool(false)
[“USEDEVSTATE”]=>
&bool(false)
[“CONCURRENCYLIMITDEFAULT”]=>
&string(1) “0”
[“FCBEEPONLY”]=>
&int(0)
[“FORCE_INTERNAL_AUTO_ANSWER_ALL”]=>
&int(0)
[“DIVERSIONHEADER”]=>
&bool(false)
[“DEFAULT_INTERNAL_AUTO_ANSWER”]=>
&string(8) “disabled”
[“NOOPTRACE”]=>
&string(1) “0”
[“CWINUSEBUSY”]=>
&bool(true)
[“CID_PREPEND_REPLACE”]=>
&int(1)
[“ASTSTOPPOLLINT”]=>
&string(1) “2”
[“AMPBADNUMBER”]=>
&bool(true)
[“USEGOOGLEDNSFORENUM”]=>
&int(0)
[“ASTSTOPTIMEOUT”]=>
&string(3) “120”
[“OUTBOUND_CID_UPDATE”]=>
&int(1)
[“OUTBOUND_DIAL_UPDATE”]=>
&int(1)
[“AUTOMIXMON”]=>
&int(0)
[“mainstyle_css_generated”]=>
&string(40) “assets/css/mstyle_autogen_1337160234.css”
[“ASTCONFAPP”]=>
&string(10) “app_meetme”
[“ASTAGIDIR”]=>
&string(25) “/var/lib/asterisk/agi-bin”
[“ASTVARLIBDIR”]=>
&string(17) “/var/lib/asterisk”
[“ASTETCDIR”]=>
&string(13) “/etc/asterisk”
[“ASTLOGDIR”]=>
&string(17) “/var/log/asterisk”
[“ASTMODDIR”]=>
&string(25) “/usr/lib/asterisk/modules”
[“ASTRUNDIR”]=>
&string(17) “/var/run/asterisk”
[“ASTSPOOLDIR”]=>
&string(19) “/var/spool/asterisk”
[“AMPCGIBIN”]=>
&string(17) “/var/www/cgi-bin “
[“AMPBIN”]=>
&string(21) “/var/lib/asterisk/bin”
[“AMPSBIN”]=>
&string(9) “/usr/sbin”
[“AMPWEBROOT”]=>
&string(13) “/var/www/html”
[“MOHDIR”]=>
&string(3) “moh”
[“MIXMON_DIR”]=>
&string(0) “”
[“FOPPASSWORD”]=>
&string(8) “passw0rd”
[“FOPSORT”]=>
&string(9) “extension”
[“FOPWEBROOT”]=>
&string(34) “/var/www/html/admin/modules/fw_fop”
[“FOLLOWME_AUTO_CREATE”]=>
&int(0)
[“FOLLOWME_DISABLED”]=>
&int(1)
[“FOLLOWME_TIME”]=>
&string(2) “20”
[“FOLLOWME_PRERING”]=>
&string(1) “7”
[“FOLLOWME_RG_STRATEGY”]=>
&string(14) “ringallv2-prim”
[“BADDESTABORT”]=>
&bool(false)
[“XTNCONFLICTABORT”]=>
&bool(false)
[“CHECKREFERER”]=>
&bool(true)
[“SERVERINTITLE”]=>
&bool(false)
[“CUSTOMASERROR”]=>
&bool(true)
[“RELOADCONFIRM”]=>
&bool(true)
[“USECATEGORIES”]=>
&bool(true)
[“USE_FREEPBX_MENU_CONF”]=>
&int(0)
[“MODULEADMINWGET”]=>
&bool(true)
[“DASHBOARD_INFO_UPDATE_TIME”]=>
&string(2) “30”
[“MAXCALLS”]=>
&string(0) “”
[“DASHBOARD_STATS_UPDATE_TIME”]=>
&string(1) “6”
[“AST_APP_VQA”]=>
&string(0) “”
[“AST_FUNC_CONNECTEDLINE”]=>
&string(13) “CONNECTEDLINE”
[“AST_FUNC_DEVICE_STATE”]=>
&string(12) “DEVICE_STATE”
[“AST_FUNC_EXTENSION_STATE”]=>
&string(15) “EXTENSION_STATE”
[“AST_FUNC_MASTER_CHANNEL”]=>
&string(14) “MASTER_CHANNEL”
[“AST_FUNC_SHARED”]=>
&string(6) “SHARED”
[“ASTVERSION”]=>
&string(7) “1.8.9.2”
[“mainstyle_css_mtime”]=>
&string(10) “1329147756”
[“NOTICE_BROWSER_STATS”]=>
&int(1)
[“MODULE_REPO”]=>
&string(53) “http://mirror1.freepbx.org,http://mirror2.freepbx.org
[“QUEUES_PESISTENTMEMBERS”]=>
&int(1)
[“QUEUES_SHARED_LASTCALL”]=>
&int(1)
[“QUEUES_UPDATECDR”]=>
&int(0)
[“QUEUES_MIX_MONITOR”]=>
&int(1)
[“QUEUES_HIDE_NOANSWER”]=>
&int(1)
[“USEQUEUESTATE”]=>
&bool(false)
[“GENERATE_LEGACY_QUEUE_CODES”]=>
&int(1)
[“CDRDBHOST”]=>
&string(0) “”
[“CDRDBNAME”]=>
&string(0) “”
[“CDRDBPASS”]=>
&string(0) “”
[“CDRDBPORT”]=>
&string(0) “”
[“CDRDBTABLENAME”]=>
&string(0) “”
[“CDRDBTYPE”]=>
&string(0) “”
[“CDRDBUSER”]=>
&string(0) “”
[“EXTENSION_LIST_RINGGROUPS”]=>
&int(0)
[“AMPADMINLOGO”]=>
&string(0) “”
[“BRAND_IMAGE_HIDE_NAV_BACKGROUND”]=>
&int(0)
[“BRAND_IMAGE_SHADOW_SIDE_BACKGROUND”]=>
&string(33) “images/shadow-side-background.png”
[“BRAND_IMAGE_FREEPBX_RIGHT”]=>
&string(15) “images/logo.png”
[“BRAND_IMAGE_TANGO_LEFT”]=>
&string(16) “images/tango.png”
[“BRAND_IMAGE_FREEPBX_FOOT”]=>
&string(24) “images/freepbx_small.png”
[“BRAND_IMAGE_RELOAD_LOADING”]=>
&string(18) “images/loading.gif”
[“BRAND_FREEPBX_ALT_LEFT”]=>
&string(0) “”
[“BRAND_FREEPBX_ALT_RIGHT”]=>
&string(0) “”
[“BRAND_FREEPBX_ALT_FOOT”]=>
&string(0) “”
[“BRAND_IMAGE_FREEPBX_LINK_LEFT”]=>
&string(0) “”
[“BRAND_IMAGE_FREEPBX_LINK_RIGHT”]=>
&string(0) “”
[“BRAND_IMAGE_FREEPBX_LINK_FOOT”]=>
&string(0) “”
[“BRAND_HIDE_LOGO_RIGHT”]=>
&int(0)
[“BRAND_HIDE_HEADER_VERSION”]=>
&int(0)
[“BRAND_HIDE_HEADER_MENUS”]=>
&int(0)
[“BRAND_CSS_ALT_MAINSTYLE”]=>
&string(0) “”
[“BRAND_CSS_CUSTOM”]=>
&string(0) “”
[“VIEW_FREEPBX_ADMIN”]=>
&string(23) “views/freepbx_admin.php”
[“VIEW_FREEPBX”]=>
&string(17) “views/freepbx.php”
[“VIEW_FREEPBX_RELOAD”]=>
&string(24) “views/freepbx_reload.php”
[“VIEW_FREEPBX_RELOADBAR”]=>
&string(27) “views/freepbx_reloadbar.php”
[“VIEW_WELCOME”]=>
&string(17) “views/welcome.php”
[“VIEW_WELCOME_NONMANAGER”]=>
&string(27) “views/welcome_nomanager.php”
[“VIEW_MENUITEM_DISABLED”]=>
&string(27) “views/menuitem_disabled.php”
[“VIEW_NOACCESS”]=>
&string(18) “views/noaccess.php”
[“VIEW_UNAUTHORIZED”]=>
&string(22) “views/unauthorized.php”
[“VIEW_BAD_REFFERER”]=>
&string(22) “views/bad_refferer.php”
[“VIEW_LOGGEDOUT”]=>
&string(19) “views/loggedout.php”
[“VIEW_PANEL”]=>
&string(15) “views/panel.php”
[“VIEW_REPORTS”]=>
&string(17) “views/reports.php”
[“VIEW_MENU”]=>
&string(14) “views/menu.php”
[“JQUERY_CSS”]=>
&string(24) “assets/css/jquery-ui.css”
[“VIEW_LOGIN”]=>
&string(15) “views/login.php”
[“VIEW_HEADER”]=>
&string(16) “views/header.php”
[“VIEW_FOOTER”]=>
&string(16) “views/footer.php”
[“BRAND_ALT_JS”]=>
&string(0) “”
[“VIEW_FOOTER_CONTENT”]=>
&string(24) “views/footer_content.php”
[“WHICH_grep”]=>
&string(9) “/bin/grep”
[“WHICH_mysqldump”]=>
&string(18) “/usr/bin/mysqldump”
[“WHICH_rm”]=>
&string(7) “/bin/rm”
[“WHICH_tar”]=>
&string(8) “/bin/tar”
[“AMPSYSLOGLEVEL”]=>
&string(4) “FILE”
[“AMPDISABLELOG”]=>
&bool(false)
[“LOG_OUT_MESSAGES”]=>
&int(1)
[“LOG_NOTIFICATIONS”]=>
&int(1)
[“FPBX_LOG_FILE”]=>
&string(29) “/var/log/asterisk/freepbx.log”
[“PHP_ERROR_HANDLER_OUTPUT”]=>
&string(4) “dbug”
[“AMPEXTENSIONS”]=>
&string(10) “extensions”
[“AUTHTYPE”]=>
&string(8) “database”
[“AMP_ACCESS_DB_CREDS”]=>
&int(0)
[“ARI_ADMIN_USERNAME”]=>
&string(0) “”
[“ARI_ADMIN_PASSWORD”]=>
&string(12) “ari_password”
[“AMPVMUMASK”]=>
&string(3) “007”
[“BROWSER_STATS”]=>
&int(1)
[“FORCED_ASTVERSION”]=>
&string(0) “”
[“AMPWEBADDRESS”]=>
&string(0) “”
[“AMPASTERISKGROUP”]=>
&string(8) “asterisk”
[“AMPASTERISKUSER”]=>
&string(8) “asterisk”
[“AMPDEVGROUP”]=>
&string(8) “asterisk”
[“AMPDEVUSER”]=>
&string(8) “asterisk”
[“AMPASTERISKWEBGROUP”]=>
&string(8) “asterisk”
[“AMPASTERISKWEBUSER”]=>
&string(8) “asterisk”
[“AMPENGINE”]=>
&string(8) “asterisk”
[“USE_GOOGLE_CDN_JS”]=>
&int(0)
[“AMPMPG123”]=>
&bool(true)
[“SSHPORT”]=>
&string(0) “”
[“AMPPLAYKEY”]=>
&string(0) “”
[“JQUERYUI_VER”]=>
&string(5) “1.8.9”
[“JQUERY_VER”]=>
&string(5) “1.7.1”
[“TCMAINT”]=>
&bool(true)
[“TCINTERVAL”]=>
&string(2) “60”
[“VMX_CONTEXT”]=>
&string(13) “from-internal”
[“VMX_LOOPDEST_CONTEXT”]=>
&string(0) “”
[“VMX_LOOPDEST_EXT”]=>
&string(4) “dovm”
[“VMX_LOOPDEST_PRI”]=>
&int(1)
[“VMX_PRI”]=>
&int(1)
[“VMX_TIMEDEST_CONTEXT”]=>
&string(0) “”
[“VMX_TIMEDEST_EXT”]=>
&string(4) “dovm”
[“VMX_TIMEDEST_PRI”]=>
&int(1)
[“VM_SHOW_IMAP”]=>
&int(0)
[“AMPDBUSER”]=>
string(12) “asteriskuser”
[“AMPDBPASS”]=>
string(9) “juGvfub78”
[“AMPDBHOST”]=>
string(9) “localhost”
[“AMPDBNAME”]=>
string(8) “asterisk”
[“AMPDBENGINE”]=>
string(5) “mysql”
[“datasource”]=>
string(0) “”
[“AMPENABLEDEVELDEBUG”]=>
bool(false)
}
[“global_cfg”]=>
array(25) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(19) “America/Los_Angeles”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
[“disable_epm”]=>
bool(false)
[“diable_epm”]=>
bool(true)
}
[“error”]=>
array(1) {
[“config_location”]=>
string(155) “Configuration Directory is not a directory or does not exist! Please change the location here: Here”
}
[“message”]=>
array(0) {
}
[“eda”]=>
object(epm_data_abstraction)#9 (3) {
[“db”]=>
object(DB_mysql)#2 (26) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“features”]=>
array(7) {
[“limit”]=>
string(5) “alter”
[“new_link”]=>
string(5) “4.2.0”
[“numrows”]=>
bool(true)
[“pconnect”]=>
bool(true)
[“prepare”]=>
bool(false)
[“ssl”]=>
bool(false)
[“transactions”]=>
bool(true)
}
[“errorcode_map”]=>
array(26) {
[1004]=>
int(-15)
[1005]=>
int(-15)
[1006]=>
int(-15)
[1007]=>
int(-5)
[1008]=>
int(-17)
[1022]=>
int(-5)
[1044]=>
int(-26)
[1046]=>
int(-14)
[1048]=>
int(-3)
[1049]=>
int(-27)
[1050]=>
int(-5)
[1051]=>
int(-18)
[1054]=>
int(-19)
[1061]=>
int(-5)
[1062]=>
int(-5)
[1064]=>
int(-2)
[1091]=>
int(-4)
[1100]=>
int(-21)
[1136]=>
int(-22)
[1142]=>
int(-26)
[1146]=>
int(-18)
[1216]=>
int(-3)
[1217]=>
int(-3)
[1356]=>
int(-13)
[1451]=>
int(-3)
[1452]=>
int(-3)
}
[“connection”]=>
resource(26) of type (mysql link)
[“dsn”]=>
array(9) {
[“phptype”]=>
string(5) “mysql”
[“dbsyntax”]=>
string(5) “mysql”
[“username”]=>
string(12) “asteriskuser”
[“password”]=>
string(9) “juGvfub78”
[“protocol”]=>
string(3) “tcp”
[“hostspec”]=>
string(9) “localhost”
[“port”]=>
bool(false)
[“socket”]=>
bool(false)
[“database”]=>
string(8) “asterisk”
}
[“autocommit”]=>
bool(true)
[“transaction_opcount”]=>
int(0)
[”_db”]=>
string(8) “asterisk”
[“fetchmode”]=>
int(1)
[“fetchmode_object_class”]=>
string(8) “stdClass”
[“was_connected”]=>
NULL
[“last_query”]=>
string(111) “SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci”
[“options”]=>
array(8) {
[“result_buffering”]=>
int(500)
[“persistent”]=>
bool(false)
[“ssl”]=>
bool(false)
[“debug”]=>
int(0)
[“seqname_format”]=>
string(6) “%s_seq”
[“autofree”]=>
bool(false)
[“portability”]=>
int(0)
[“optimize”]=>
string(11) “performance”
}
[“last_parameters”]=>
array(0) {
}
[“prepare_tokens”]=>
array(0) {
}
[“prepare_types”]=>
array(0) {
}
[“prepared_queries”]=>
array(0) {
}
["_last_query_manip"]=>
bool(false)
["_next_query_manip"]=>
bool(false)
["_debug"]=>
bool(false)
["_default_error_mode"]=>
NULL
["_default_error_options"]=>
NULL
["_default_error_handler"]=>
string(0) “”
["_error_class"]=>
string(8) “DB_Error”
["_expected_errors"]=>
array(0) {
}
}
[“amp_conf”]=>
NULL
[“global_cfg”]=>
array(23) {
[“srvip”]=>
string(0) “”
[“tz”]=>
string(0) “”
[“gmtoff”]=>
string(0) “”
[“gmthr”]=>
string(0) “”
[“config_location”]=>
string(10) “/tftpboot/”
[“update_server”]=>
string(41) “http://mirror.freepbx.org/provisioner/v3/
[“version”]=>
string(8) “2.10.3.7”
[“enable_ari”]=>
string(1) “0”
[“debug”]=>
string(1) “0”
[“arp_location”]=>
string(9) “/sbin/arp”
[“nmap_location”]=>
string(13) “/usr/bin/nmap”
[“asterisk_location”]=>
string(18) “/usr/sbin/asterisk”
[“language”]=>
string(0) “”
[“check_updates”]=>
string(1) “0”
[“disable_htaccess”]=>
string(0) “”
[“endpoint_vers”]=>
string(1) “0”
[“disable_help”]=>
string(1) “0”
[“show_all_registrations”]=>
string(1) “0”
[“ntp”]=>
string(0) “”
[“server_type”]=>
string(4) “file”
[“allow_hdfiles”]=>
string(1) “0”
[“tftp_check”]=>
string(1) “0”
[“nmap_search”]=>
string(0) “”
}
}
[“tpl”]=>
NULL
}
[“type”]=>
string(2) “->”
[“args”]=>
array(0) {
}
}
[3]=>
array(4) {
[“file”]=>
string(30) “/var/www/html/admin/config.php”
[“line”]=>
int(248)
[“function”]=>
string(26) “endpointman_configpageinit”
[“args”]=>
array(1) {
[0]=>
&string(10) “extensions”
}
}
}

and now i can’t create new sip “Extension”, another device can. Please help.

FreePBX version 9.10.0
asterist version 1.8.9.2
mysql-server-5.1.61-1.el6_2.1.x86_64
php version 5.3.3-3

Really? Wow.

I am update file
modules/endpointman/functions.inc.php

$sql = ‘SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1) COLLATE latin1_swedish_ci’;

to

$sql = ‘SELECT value FROM admin WHERE variable LIKE CONVERT(_utf8 ‘version’ USING latin1)’;