Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
0c9b70aa
Commit
0c9b70aa
authored
Dec 03, 2021
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bag Tg and Menus
parent
a60c142d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
AloVoiceConnector.php
vendor/alovoice/src/AloVoiceConnector.php
+2
-2
ATelegram.php
vendor/tg/src/ATelegram.php
+0
-10
No files found.
vendor/alovoice/src/AloVoiceConnector.php
View file @
0c9b70aa
...
...
@@ -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");
...
...
vendor/tg/src/ATelegram.php
View file @
0c9b70aa
...
...
@@ -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
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment