Commit 0c9b70aa authored by Kulya's avatar Kulya 😊

Fix Bag Tg and Menus

parent a60c142d
......@@ -1174,7 +1174,7 @@ class AloVoiceConnector
$arAlvSections = array(
"dashboard" => array( "name" => "АлоВойс", "perms" => "all"),
"queues" => array( "name" => "Звонки", "perms" => "all"),
"chdongles" => array( "name" => "GSM линии", "perms" => "admin"),
// "chdongles" => array( "name" => "GSM линии", "perms" => "admin"),
"trunks" => array( "name" => "Линии", "perms" => "admin"),
"peers" => array( "name" => "Внут.номера", "perms" => "admin"),
// "stats" => array( "name" => "Статистика агентов", "perms" => "all"),
......@@ -1184,7 +1184,7 @@ class AloVoiceConnector
$arAlvSections["soundsettings"] = array( "name" => "Записи", "perms" => "admin");
$arAlvSections["settings"] = array( "name" => "Настройки", "perms" => "admin");
$arAlvSections["callscripts"] = array( "name" => "Скрипты звонков", "perms" => "admin");
$arAlvSections["crmsettings"] = array( "name" => "CRM Настройки", "perms" => "admin");
// $arAlvSections["crmsettings"] = array( "name" => "CRM Настройки", "perms" => "admin");
$arAlvSections["tgsettings"] = array( "name" => "Телеграм", "perms" => "admin");
$arAlvSections["integrations"] = array( "name" => "Интеграции", "perms" => "admin");
// $arAlvSections["tests"] = array( "name" => "Тест", "perms" => "admin");
......
......@@ -719,16 +719,6 @@ when: "2021-02-02 01:35:54"
$oneTgProfile["name"] = (!empty($arProfile->print_name)) ? $arProfile->print_name : ''; //oneTgProfile["phone"];
$oneTgProfile["username"] = (!empty($arProfile->username)) ? $arProfile->username : '';
return $oneTgProfile;
{
"command": "exec /var/www/html/bx24/vendor/tg/src/telegram-cli -k /var/www/html/bx24/vendor/tg/src/server.pub -c /var/www/html/bx24/vendor/tg/src/confs/prf_998994412860 -vvv -p prf_998994412860",
"pid": 17570,
"running": false,
"signaled": false,
"stopped": false,
"exitcode": 126,
"termsig": 0,
"stopsig": 0
}
}
public function get_telegram_accounts(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment