Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
global $amp_conf; } include_once "\x2f\x65\164\143\57\141\163\x74\145\162\x69\163\153\..
Decoded Output download
<?
global $amp_conf;
}
include_once "/etc/asterisk/freepbx.conf";
outn(_("Copying files:<br>"));
$src_cli = $amp_conf["AMPWEBROOT"] . "/admin/modules/informunity_bitrix24/asterisk-app/informunity_bitrix24-cli.php";
$dst_cli = $amp_conf["ASTAGIDIR"] . "/informunity_bitrix24-cli.php";
copy($src_cli, $dst_cli);
}
chmod($dst_cli, 493);
outn(_("Done<br>"));
$dbh = \FreePBX::Database();
outn(_("Processing Database Tables:<br>"));
$informunity_bitrix24_table = $dbh->migrate("informunity_bitrix24");
$informunity_bitrix24_cols = array("id" => array("type" => "smallint", "length" => 2, "primaryKey" => true, "default" => 0), "token" => array("type" => "string", "length" => 255), "refresh_token" => array("type" => "string", "length" => 255), "client_id" => array("type" => "string", "length" => 255), "client_id" => array("type" => "string", "length" => 255), "client_secret" => array("type" => "string", "length" => 255), "expires" => array("type" => "integer", "length" => 10), "client_server" => array("type" => "string", "length" => 255), "ext_address" => array("type" => "string", "length" => 255), "license" => array("type" => "smallint", "length" => 1), "dt_key" => array("type" => "string", "length" => 255), "call_back_dest" => array("type" => "string", "length" => 255), "member_id" => array("type" => "string", "length" => 255));
outn(_("informunity_bitrix24..."));
$informunity_bitrix24_table->modify($informunity_bitrix24_cols);
unset($informunity_bitrix24_table);
outn(_("Done<br>"));
$bitrix24_dids_table = $dbh->migrate("bitrix24_dids");
$bitrix24_dids_cols = array("id" => array("type" => "bigint", "length" => 20, "primaryKey" => true, "autoincrement" => true), "description" => array("type" => "string", "length" => 255), "destination" => array("type" => "string", "length" => 255), "manager_in_cahrge" => array("type" => "string", "length" => 50), "assassement" => array("type" => "string", "length" => 50), "greatings" => array("type" => "string", "length" => 50), "user_id" => array("type" => "integer", "default" => 1, "length" => 255), "bye" => array("type" => "string", "length" => 50), "source" => array("type" => "string", "length" => 50), "show_caller_name" => array("type" => "string", "default" => "no", "length" => 255), "create_lead" => array("type" => "string", "default" => "yes", "length" => 255), "show_card" => array("type" => "string", "default" => "yes", "length" => 255), "add_to_chat" => array("type" => "string", "default" => "No", "length" => 255));
outn(_("bitrix24_dids..."));
$bitrix24_dids_table->modify($bitrix24_dids_cols);
unset($bitrix24_dids_table);
outn(_("Done<br>"));
$iub24_lines_table = $dbh->migrate("iub24_lines");
$iub24_lines_cols = array("id" => array("type" => "smallint", "length" => 20, "primaryKey" => true, "autoincrement" => true), "did" => array("type" => "string", "length" => 128), "number" => array("type" => "string", "length" => 255));
$iub24_lines_indexes = array("index1" => array("type" => "unique", "cols" => array("did")));
outn(_("iub24_lines..."));
$iub24_lines_table->modify($iub24_lines_cols, $iub24_lines_indexes);
unset($iub24_lines_table);
outn(_("Done<br>"));
$bitrix24_to_routing_table = $dbh->migrate("bitrix24_to_routing");
$bitrix24_to_routing_cols = array("informunity_b24_to_outgoing_id" => array("type" => "smallint", "length" => 20, "primaryKey" => true, "autoincrement" => true), "routename" => array("type" => "string", "length" => 50), "enable_b24" => array("type" => "string", "length" => 50), "greatings" => array("type" => "string", "length" => 50), "bye" => array("type" => "string", "length" => 50), "create_lead" => array("type" => "string", "default" => "yes", "length" => 255), "show_card" => array("type" => "string", "default" => "yes", "length" => 255), "source" => array("type" => "string", "length" => 50), "modify_number" => array("type" => "string", "length" => 240));
$bitrix24_to_routing_indexes = array("index1" => array("type" => "unique", "cols" => array("routename")));
outn(_("bitrix24_to_routing..."));
$bitrix24_to_routing_table->modify($bitrix24_to_routing_cols, $bitrix24_to_routing_indexes);
unset($bitrix24_to_routing_table);
outn(_("Done<br>"));
$sql = array("INSERT IGNORE INTO `informunity_bitrix24` (id,client_id,client_secret) VALUES ('0','app.58cfd398493997.03652578','LDmAS7GtB25wH7oTrZotSa4206HdfoMWbjoAberSQvmYKfTWLM')", "DELETE FROM `recordings` WHERE ((`displayname` = 'IU24 Greating Message') OR (`displayname` = 'IU24 Thank you message'))", "INSERT INTO recordings (displayname, description, filename) VALUES('IU24 Greating Message','Record to be played on entry to the assessment.','custom/Assessment_Greatings')", "INSERT INTO recordings (displayname, description, filename) VALUES('IU24 Thank you message','Record to be played on end of the assessment.','custom/Assessment_Thank_You')");
array_map("check_install", $sql);
$iub24_records_table = $dbh->migrate("iub24_records");
$iub24_records_cols = array("activity_id" => array("type" => "string", "length" => 50, "primaryKey" => true), "files" => array("type" => "string", "defaul", "length" => 255), "status" => array("type" => "integer", "length" => 4), "attempts" => array("type" => "string", "length" => 50, "default" => 0), "update_time" => array("type" => "datetime", "default" => "0000-00-00 00:00:00"));
$iub24_records_indexes = array("index1" => array("type" => "index", "cols" => array("status", "attempts")));
outn(_("iub24_records..."));
$iub24_records_table->modify($iub24_records_cols, $iub24_records_indexes);
unset($iub24_records_table);
$sql = array("ALTER TABLE `iub24_records` CHANGE `update_time` `update_time` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL;");
array_map("check_install", $sql);
outn(_("Done<br>"));
outn(_("Setup Cron..."));
$cron = FreePBX::Cron();
$cron_del_lines = $cron->getAll();
}
foreach ($cron_del_lines as $key => $cron_del_line) {
}
$cron->removeLine($cron_del_line);
}
$cron_line = "*/19 * * * * " . fpbx_which("fwconsole") . " iu r";
}
$cron->add($cron_line);
outn(_("Done<br>"));
outn(_("Linking Recorsings..."));
$languages = array("ru", "en");
array_map("link_recordings", $languages);
outn(_("Done<br>"));
function link_recordings($language) {
global $amp_conf;
$file_loc_path = $amp_conf["AMPWEBROOT"] . "/admin/modules/informunity_bitrix24/Recordings";
$lang_dest_path = "/var/lib/asterisk/sounds/" . $language . "/";
$dir_dest_path = "/var/lib/asterisk/sounds/" . $language . "/custom/";
}
mkdir($lang_dest_path);
}
mkdir($dir_dest_path);
foreach (glob($file_loc_path . "/" . $language . "/*.wav") as $f) {
$link_path = $dir_dest_path . pathinfo($f, PATHINFO_FILENAME) . ".wav";
}
symlink($f, $link_path);
}
}
function check_install($sql) {
global $db;
$stmt = $db->prepare($sql);
$stmt->execute();
}
?>
Did this file decode correctly?
Original Code
global $amp_conf;
}
include_once "\x2f\x65\164\143\57\141\163\x74\145\162\x69\163\153\x2f\x66\162\145\145\x70\142\x78\56\143\157\156\x66";
outn(_("\103\x6f\x70\171\x69\x6e\147\x20\x66\151\154\145\163\72\x3c\142\x72\76"));
$src_cli = $amp_conf["\101\115\x50\127\x45\x42\x52\x4f\117\x54"] . "\57\x61\x64\155\151\156\57\155\x6f\144\165\154\x65\x73\x2f\x69\x6e\146\x6f\162\x6d\x75\x6e\151\164\x79\137\142\x69\x74\162\151\170\62\x34\x2f\x61\x73\164\145\x72\x69\x73\x6b\x2d\141\x70\x70\57\x69\x6e\146\x6f\162\155\x75\156\x69\164\x79\137\x62\x69\x74\x72\151\170\62\x34\55\143\x6c\x69\x2e\x70\x68\x70";
$dst_cli = $amp_conf["\101\x53\x54\x41\x47\111\x44\111\122"] . "\x2f\x69\x6e\x66\157\162\x6d\x75\156\151\x74\x79\137\x62\x69\x74\162\151\x78\x32\x34\x2d\143\154\151\56\160\x68\160";
copy($src_cli, $dst_cli);
}
chmod($dst_cli, 493);
outn(_("\x44\157\156\145\74\x62\x72\76"));
$dbh = \FreePBX::Database();
outn(_("\120\x72\157\143\145\163\x73\151\156\147\40\104\x61\164\141\x62\x61\x73\145\x20\124\x61\142\x6c\145\x73\72\x3c\142\x72\x3e"));
$informunity_bitrix24_table = $dbh->migrate("\x69\156\146\157\162\155\x75\156\151\164\x79\x5f\142\x69\x74\x72\x69\170\x32\x34");
$informunity_bitrix24_cols = array("\151\144" => array("\164\171\x70\x65" => "\163\x6d\141\154\154\151\156\164", "\154\x65\x6e\x67\x74\x68" => 2, "\160\162\151\x6d\x61\162\171\x4b\145\x79" => true, "\144\145\x66\141\x75\154\164" => 0), "\164\x6f\x6b\145\x6e" => array("\x74\x79\160\x65" => "\163\x74\162\151\x6e\x67", "\154\145\156\x67\164\x68" => 255), "\162\x65\x66\162\145\163\150\x5f\x74\157\x6b\145\x6e" => array("\x74\x79\x70\145" => "\x73\x74\x72\151\156\147", "\x6c\145\156\147\164\150" => 255), "\x63\154\151\x65\156\164\x5f\x69\144" => array("\x74\x79\160\x65" => "\x73\x74\x72\x69\156\x67", "\x6c\x65\156\147\164\150" => 255), "\143\154\151\x65\156\164\x5f\151\x64" => array("\164\x79\160\145" => "\x73\x74\162\x69\156\x67", "\x6c\145\156\x67\x74\x68" => 255), "\x63\154\151\145\x6e\164\137\163\x65\x63\162\145\164" => array("\x74\171\160\145" => "\x73\164\x72\151\x6e\147", "\154\145\x6e\147\x74\150" => 255), "\145\170\160\x69\162\145\163" => array("\164\171\160\145" => "\x69\x6e\164\x65\x67\145\162", "\154\145\156\x67\164\x68" => 10), "\x63\x6c\x69\145\x6e\x74\137\163\x65\162\166\145\x72" => array("\164\171\160\x65" => "\x73\x74\162\151\156\147", "\154\145\156\147\x74\x68" => 255), "\145\170\164\137\x61\x64\144\162\145\163\163" => array("\x74\x79\160\x65" => "\163\x74\x72\151\156\147", "\154\145\x6e\x67\164\x68" => 255), "\154\151\x63\x65\156\x73\145" => array("\x74\x79\x70\x65" => "\x73\155\141\x6c\x6c\151\156\164", "\x6c\x65\156\x67\x74\x68" => 1), "\x64\x74\x5f\153\x65\171" => array("\164\x79\x70\x65" => "\x73\x74\x72\151\156\x67", "\154\145\156\x67\x74\x68" => 255), "\x63\x61\x6c\x6c\x5f\142\x61\143\x6b\x5f\x64\145\163\x74" => array("\x74\x79\x70\x65" => "\x73\x74\x72\x69\x6e\x67", "\154\x65\156\147\x74\x68" => 255), "\155\x65\x6d\x62\145\x72\x5f\x69\144" => array("\164\x79\160\145" => "\x73\x74\x72\151\x6e\x67", "\154\145\156\x67\164\150" => 255));
outn(_("\x69\x6e\146\x6f\x72\x6d\x75\x6e\151\x74\x79\137\142\x69\164\x72\151\x78\62\64\56\x2e\x2e"));
$informunity_bitrix24_table->modify($informunity_bitrix24_cols);
unset($informunity_bitrix24_table);
outn(_("\x44\157\156\145\x3c\142\x72\76"));
$bitrix24_dids_table = $dbh->migrate("\142\x69\x74\162\x69\170\x32\64\137\x64\x69\x64\x73");
$bitrix24_dids_cols = array("\x69\144" => array("\164\x79\160\145" => "\142\x69\147\151\156\x74", "\x6c\x65\156\x67\x74\x68" => 20, "\x70\162\x69\x6d\141\162\171\x4b\145\x79" => true, "\x61\x75\x74\157\x69\x6e\x63\x72\145\x6d\x65\156\x74" => true), "\144\x65\x73\x63\162\151\x70\x74\151\157\x6e" => array("\164\171\160\x65" => "\x73\164\x72\x69\156\147", "\154\145\x6e\x67\x74\x68" => 255), "\144\x65\163\164\x69\156\x61\164\x69\157\x6e" => array("\164\171\x70\x65" => "\163\164\x72\151\156\x67", "\154\145\x6e\x67\x74\x68" => 255), "\155\x61\156\x61\147\x65\162\137\151\156\137\x63\x61\150\162\x67\145" => array("\x74\171\160\x65" => "\163\164\x72\x69\156\147", "\154\145\x6e\x67\164\150" => 50), "\141\163\163\141\x73\x73\x65\155\145\156\x74" => array("\164\171\x70\x65" => "\x73\x74\162\x69\156\147", "\154\145\156\147\x74\150" => 50), "\147\x72\145\141\164\151\156\147\x73" => array("\164\171\160\145" => "\163\x74\x72\x69\x6e\x67", "\154\145\x6e\x67\164\x68" => 50), "\x75\163\x65\162\137\x69\144" => array("\x74\171\160\x65" => "\x69\156\164\x65\147\x65\162", "\144\145\x66\x61\165\154\164" => 1, "\154\145\156\147\x74\x68" => 255), "\142\x79\145" => array("\164\x79\160\145" => "\x73\164\x72\x69\156\147", "\x6c\145\156\x67\x74\150" => 50), "\x73\157\165\162\x63\145" => array("\x74\171\160\145" => "\x73\164\162\151\156\x67", "\x6c\x65\x6e\x67\x74\x68" => 50), "\163\x68\x6f\x77\137\x63\x61\x6c\x6c\x65\162\137\156\141\155\145" => array("\x74\x79\160\145" => "\x73\164\x72\x69\156\147", "\144\x65\x66\141\165\x6c\164" => "\156\157", "\154\145\156\147\x74\150" => 255), "\143\x72\145\x61\164\x65\137\x6c\145\141\144" => array("\164\x79\160\x65" => "\x73\164\162\x69\156\x67", "\144\145\x66\141\x75\154\x74" => "\171\x65\x73", "\154\x65\156\x67\164\150" => 255), "\163\150\x6f\x77\137\x63\x61\x72\144" => array("\x74\x79\160\145" => "\163\x74\162\x69\156\147", "\x64\145\x66\x61\165\154\x74" => "\171\145\163", "\x6c\145\156\x67\164\150" => 255), "\141\144\x64\x5f\164\157\x5f\x63\150\x61\164" => array("\x74\x79\160\145" => "\x73\164\x72\151\x6e\147", "\x64\145\146\x61\x75\x6c\x74" => "\x4e\x6f", "\154\145\156\147\x74\x68" => 255));
outn(_("\x62\151\x74\162\151\x78\62\x34\x5f\x64\x69\x64\163\x2e\x2e\x2e"));
$bitrix24_dids_table->modify($bitrix24_dids_cols);
unset($bitrix24_dids_table);
outn(_("\104\157\x6e\x65\74\142\162\x3e"));
$iub24_lines_table = $dbh->migrate("\x69\x75\142\62\x34\x5f\154\151\156\145\x73");
$iub24_lines_cols = array("\151\x64" => array("\x74\x79\160\145" => "\163\x6d\x61\x6c\x6c\x69\156\x74", "\154\145\x6e\x67\x74\x68" => 20, "\160\x72\151\x6d\141\162\x79\113\145\171" => true, "\x61\x75\164\x6f\151\x6e\x63\162\145\155\x65\x6e\x74" => true), "\144\151\144" => array("\164\171\160\x65" => "\163\164\162\x69\x6e\x67", "\154\x65\156\147\x74\150" => 128), "\x6e\165\155\142\x65\x72" => array("\164\171\x70\x65" => "\x73\x74\162\151\156\147", "\154\x65\x6e\147\x74\x68" => 255));
$iub24_lines_indexes = array("\151\x6e\144\145\x78\61" => array("\164\x79\x70\x65" => "\x75\x6e\151\161\165\x65", "\143\157\x6c\x73" => array("\x64\151\x64")));
outn(_("\x69\x75\x62\62\x34\x5f\154\151\156\145\x73\56\56\x2e"));
$iub24_lines_table->modify($iub24_lines_cols, $iub24_lines_indexes);
unset($iub24_lines_table);
outn(_("\104\157\x6e\145\x3c\142\x72\76"));
$bitrix24_to_routing_table = $dbh->migrate("\x62\x69\x74\x72\151\x78\62\64\137\164\x6f\137\162\157\165\x74\x69\156\147");
$bitrix24_to_routing_cols = array("\151\156\x66\x6f\x72\155\x75\x6e\151\164\171\137\142\62\x34\137\164\x6f\x5f\157\165\x74\x67\157\x69\x6e\x67\137\x69\144" => array("\x74\x79\x70\145" => "\x73\155\141\154\x6c\151\156\164", "\x6c\x65\156\147\164\150" => 20, "\x70\162\151\x6d\141\162\171\x4b\x65\x79" => true, "\141\x75\x74\x6f\151\156\x63\162\x65\x6d\x65\x6e\164" => true), "\162\x6f\165\x74\145\x6e\x61\155\145" => array("\164\171\x70\x65" => "\x73\x74\x72\151\156\x67", "\x6c\145\x6e\147\x74\150" => 50), "\x65\156\x61\142\154\145\x5f\142\x32\x34" => array("\x74\x79\x70\145" => "\163\164\162\x69\156\147", "\x6c\x65\156\x67\164\x68" => 50), "\147\x72\145\x61\x74\x69\x6e\x67\163" => array("\164\171\x70\145" => "\x73\164\x72\151\x6e\x67", "\154\145\156\x67\164\x68" => 50), "\142\x79\x65" => array("\164\x79\160\145" => "\x73\164\x72\151\156\x67", "\x6c\145\156\147\x74\x68" => 50), "\143\162\145\141\164\145\x5f\154\145\141\144" => array("\x74\x79\160\145" => "\x73\164\162\x69\x6e\147", "\x64\145\146\141\x75\154\x74" => "\x79\145\163", "\154\145\156\147\164\x68" => 255), "\x73\150\x6f\167\137\143\x61\162\x64" => array("\164\x79\160\145" => "\x73\x74\162\x69\x6e\147", "\x64\x65\x66\x61\165\154\164" => "\x79\145\163", "\154\x65\x6e\x67\x74\x68" => 255), "\x73\x6f\165\162\x63\x65" => array("\x74\x79\160\x65" => "\163\164\x72\x69\156\x67", "\154\x65\156\x67\x74\150" => 50), "\x6d\157\x64\x69\x66\x79\x5f\156\165\x6d\x62\145\x72" => array("\x74\171\160\x65" => "\163\164\162\151\x6e\147", "\154\145\156\147\164\x68" => 240));
$bitrix24_to_routing_indexes = array("\151\156\x64\x65\x78\x31" => array("\164\x79\160\145" => "\x75\x6e\151\x71\x75\x65", "\143\x6f\154\x73" => array("\162\157\165\164\x65\156\141\155\x65")));
outn(_("\142\x69\164\x72\151\170\62\x34\137\x74\157\x5f\x72\x6f\165\164\x69\x6e\147\56\x2e\56"));
$bitrix24_to_routing_table->modify($bitrix24_to_routing_cols, $bitrix24_to_routing_indexes);
unset($bitrix24_to_routing_table);
outn(_("\104\x6f\156\x65\x3c\x62\162\76"));
$sql = array("\x49\x4e\x53\105\x52\124\40\111\x47\x4e\x4f\122\105\40\x49\x4e\124\x4f\x20\x60\x69\x6e\146\x6f\162\x6d\165\x6e\x69\x74\171\137\142\151\164\162\151\x78\x32\64\140\x20\x28\151\x64\x2c\x63\x6c\151\145\x6e\x74\x5f\151\144\x2c\143\x6c\x69\x65\x6e\164\137\x73\x65\x63\x72\145\x74\51\x20\126\x41\x4c\x55\105\123\40\x28\x27\x30\47\x2c\x27\x61\160\160\56\x35\70\143\x66\x64\63\71\70\64\71\63\71\x39\x37\56\x30\63\x36\x35\62\65\67\x38\47\x2c\x27\114\104\x6d\101\x53\x37\x47\x74\x42\x32\65\x77\x48\x37\157\x54\x72\132\157\164\x53\x61\x34\62\60\66\110\144\x66\157\x4d\127\x62\x6a\157\x41\x62\x65\x72\123\121\166\x6d\x59\x4b\146\x54\x57\114\115\47\x29", "\x44\105\114\105\124\x45\x20\x46\122\x4f\115\x20\140\162\145\x63\x6f\x72\x64\x69\156\147\163\x60\x20\127\x48\x45\122\105\40\x28\x28\140\144\x69\x73\x70\x6c\x61\x79\156\141\155\x65\x60\40\75\x20\47\111\x55\x32\x34\x20\107\x72\x65\141\164\x69\x6e\x67\40\x4d\x65\163\163\141\147\145\47\x29\40\117\122\x20\50\140\x64\151\x73\160\x6c\141\171\156\141\155\145\140\x20\75\x20\47\x49\125\x32\x34\x20\x54\x68\141\156\x6b\x20\171\x6f\x75\x20\x6d\x65\163\163\x61\x67\x65\x27\x29\x29", "\x49\x4e\123\x45\x52\124\x20\111\x4e\x54\x4f\x20\x72\x65\143\157\162\144\151\x6e\147\x73\40\x28\x64\x69\163\x70\x6c\141\171\x6e\141\x6d\x65\x2c\40\144\145\x73\x63\x72\151\x70\164\x69\x6f\x6e\54\x20\x66\x69\154\145\156\x61\155\x65\51\x20\126\x41\114\125\105\x53\x28\47\111\125\62\64\x20\107\162\x65\141\164\151\x6e\x67\40\x4d\145\163\163\x61\x67\x65\47\x2c\x27\x52\x65\143\157\162\x64\40\x74\x6f\40\142\x65\40\160\x6c\141\171\x65\144\40\x6f\x6e\x20\x65\x6e\164\162\x79\x20\164\x6f\x20\x74\150\x65\40\141\x73\163\145\163\163\155\x65\x6e\164\56\x27\54\47\x63\165\x73\164\157\x6d\57\101\x73\163\145\163\163\155\x65\156\164\x5f\107\x72\145\141\164\x69\x6e\x67\163\47\51", "\111\116\x53\105\122\124\x20\x49\x4e\124\x4f\x20\162\145\x63\x6f\x72\144\151\156\147\163\40\50\x64\151\163\160\154\141\x79\156\141\x6d\145\x2c\40\x64\x65\x73\x63\x72\151\x70\x74\x69\157\156\54\x20\146\151\154\x65\156\x61\155\145\51\40\x56\101\x4c\125\105\x53\x28\x27\111\125\62\64\x20\x54\150\141\156\153\40\x79\157\165\x20\155\145\163\x73\141\x67\x65\x27\x2c\47\x52\145\143\157\162\144\40\164\x6f\x20\x62\x65\40\x70\154\x61\171\x65\144\40\157\156\x20\145\156\x64\40\157\146\x20\164\150\x65\40\141\163\163\x65\163\163\x6d\145\x6e\x74\x2e\47\54\47\143\165\163\164\157\155\x2f\x41\x73\x73\x65\x73\163\x6d\145\x6e\164\137\x54\150\x61\156\x6b\137\131\157\x75\x27\51");
array_map("\143\x68\145\x63\x6b\x5f\151\156\163\164\141\x6c\x6c", $sql);
$iub24_records_table = $dbh->migrate("\x69\165\x62\x32\x34\137\x72\x65\143\157\162\144\163");
$iub24_records_cols = array("\x61\143\164\151\166\x69\164\171\137\151\144" => array("\164\x79\160\145" => "\x73\x74\162\151\156\147", "\154\x65\x6e\147\164\150" => 50, "\160\x72\151\x6d\141\x72\x79\113\x65\x79" => true), "\146\x69\154\145\163" => array("\164\171\x70\x65" => "\163\x74\162\151\x6e\147", "\x64\x65\146\x61\x75\x6c", "\154\145\x6e\147\164\x68" => 255), "\163\164\x61\x74\165\163" => array("\164\x79\160\145" => "\151\156\x74\145\x67\145\x72", "\x6c\x65\x6e\x67\x74\x68" => 4), "\x61\x74\164\x65\155\x70\164\x73" => array("\x74\x79\x70\x65" => "\x73\x74\162\151\156\147", "\154\x65\156\147\x74\x68" => 50, "\144\145\x66\141\165\x6c\x74" => 0), "\x75\160\x64\x61\x74\145\137\x74\151\155\145" => array("\x74\171\160\145" => "\144\x61\x74\145\164\x69\155\145", "\144\x65\146\141\x75\x6c\x74" => "\60\x30\x30\x30\55\x30\60\x2d\60\x30\40\x30\x30\72\x30\x30\x3a\x30\60"));
$iub24_records_indexes = array("\x69\x6e\x64\145\x78\61" => array("\x74\171\x70\145" => "\151\x6e\144\145\x78", "\143\157\x6c\163" => array("\x73\164\x61\164\x75\x73", "\141\164\x74\x65\x6d\160\x74\x73")));
outn(_("\151\165\x62\62\64\137\x72\145\143\x6f\162\x64\x73\x2e\x2e\x2e"));
$iub24_records_table->modify($iub24_records_cols, $iub24_records_indexes);
unset($iub24_records_table);
$sql = array("\101\x4c\x54\105\x52\40\x54\101\x42\x4c\105\40\140\x69\165\142\x32\x34\x5f\162\145\x63\157\162\144\163\x60\40\x43\x48\101\x4e\x47\x45\40\x60\x75\x70\x64\141\x74\x65\x5f\x74\151\x6d\x65\x60\40\140\x75\x70\144\x61\x74\145\x5f\x74\x69\155\x65\140\x20\x54\x49\x4d\x45\123\124\101\x4d\120\40\x6f\x6e\40\x75\160\144\141\x74\x65\x20\x43\125\x52\122\105\x4e\x54\x5f\x54\111\x4d\x45\x53\124\x41\x4d\120\x20\x4e\117\124\x20\x4e\x55\114\114\73");
array_map("\x63\150\145\x63\153\x5f\x69\156\x73\x74\x61\154\x6c", $sql);
outn(_("\x44\157\156\x65\74\x62\162\76"));
outn(_("\123\x65\164\165\x70\40\x43\x72\x6f\156\56\56\56"));
$cron = FreePBX::Cron();
$cron_del_lines = $cron->getAll();
}
foreach ($cron_del_lines as $key => $cron_del_line) {
}
$cron->removeLine($cron_del_line);
}
$cron_line = "\52\x2f\x31\x39\40\x2a\40\x2a\40\x2a\40\x2a\40" . fpbx_which("\146\167\x63\157\156\x73\x6f\x6c\x65") . "\40\151\x75\x20\x72";
}
$cron->add($cron_line);
outn(_("\104\x6f\x6e\x65\x3c\142\x72\76"));
outn(_("\114\x69\156\x6b\151\x6e\x67\40\x52\145\x63\157\162\163\151\x6e\x67\x73\x2e\56\56"));
$languages = array("\x72\x75", "\x65\156");
array_map("\154\x69\156\x6b\137\162\x65\x63\157\162\144\151\x6e\147\x73", $languages);
outn(_("\x44\x6f\x6e\145\x3c\142\162\x3e"));
function link_recordings($language) {
global $amp_conf;
$file_loc_path = $amp_conf["\x41\115\x50\127\105\102\122\x4f\117\124"] . "\x2f\x61\144\155\151\x6e\x2f\x6d\x6f\x64\165\x6c\x65\x73\x2f\x69\x6e\x66\157\x72\155\165\x6e\151\164\171\x5f\x62\151\x74\162\151\170\62\64\x2f\x52\x65\x63\x6f\x72\144\151\x6e\x67\x73";
$lang_dest_path = "\57\166\x61\162\57\x6c\151\x62\x2f\141\x73\164\145\x72\151\163\x6b\x2f\x73\157\x75\156\144\163\57" . $language . "\x2f";
$dir_dest_path = "\57\166\141\x72\x2f\x6c\x69\x62\57\141\163\x74\145\162\x69\x73\153\57\163\157\165\156\x64\163\x2f" . $language . "\57\143\165\x73\x74\157\x6d\57";
}
mkdir($lang_dest_path);
}
mkdir($dir_dest_path);
foreach (glob($file_loc_path . "\x2f" . $language . "\57\52\56\x77\x61\166") as $f) {
$link_path = $dir_dest_path . pathinfo($f, PATHINFO_FILENAME) . "\x2e\x77\141\x76";
}
symlink($f, $link_path);
}
}
function check_install($sql) {
global $db;
$stmt = $db->prepare($sql);
$stmt->execute();
}
Function Calls
| None |
Stats
| MD5 | a3097b48f25091fc9b4446ea9a2457f1 |
| Eval Count | 0 |
| Decode Time | 83 ms |