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
2407b4aa
Commit
2407b4aa
authored
Jan 10, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Последние исправления по звонкам
parent
5045e797
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
AloVoiceActions.php
vendor/alovoice/src/AloVoiceActions.php
+4
-2
AloVoiceConnector.php
vendor/alovoice/src/AloVoiceConnector.php
+2
-2
No files found.
vendor/alovoice/src/AloVoiceActions.php
View file @
2407b4aa
...
...
@@ -558,9 +558,11 @@ class AloVoiceActions
else
{
$this
->
runAsteriskAction
([
new
\PAMI\Message\Action\DBDelAction
(
"DND"
,
$n
),
new
\PAMI\Message\Action\CommandAction
(
"dialplan set global DEVICE_STATE(Custom:DND"
.
$n
.
") UNAVAILABLE"
),
new
\PAMI\Message\Action\CommandAction
(
"dialplan set global DEVICE_STATE(Custom:DND"
.
$n
.
") ONHOLD"
),
// new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DND".$n.") UNAVAILABLE"),
//"dialplan set global DEVICE_STATE(Custom:DND".$n.") NOT_INUSE",
new
\PAMI\Message\Action\CommandAction
(
"dialplan set global DEVICE_STATE(Custom:DEVDND"
.
$n
.
") UNAVAILABLE"
)
new
\PAMI\Message\Action\CommandAction
(
"dialplan set global DEVICE_STATE(Custom:DEVDND"
.
$n
.
") ONHOLD"
)
// new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") UNAVAILABLE")
//"dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") NOT_INUSE"
]
);
...
...
vendor/alovoice/src/AloVoiceConnector.php
View file @
2407b4aa
...
...
@@ -1993,7 +1993,7 @@ CFU=';
$connrID
=
$this
->
TG
->
getCode
();
$widgetUri
=
$this
->
configs
[
"alovoice_host"
];
$widgetName
=
'Telegram Клиент'
;
//{"CONNECTOR":"tgclient998971041030","LINE":"1","STATUS":false,"ACTIVE_STATUS":true,"CONNECTION_STATUS":false,"REGISTER_STATUS":false,"ERROR_STATUS":false}
if
(
!
empty
(
$options
[
'LINE'
])
){
$result
=
BxRest
::
call
(
'imconnector.activate'
,
[
'CONNECTOR'
=>
$connrID
,
...
...
@@ -2031,7 +2031,7 @@ CFU=';
if
(
!
empty
(
$oLine
)
&&
intval
(
$oLine
)
==
intval
(
$options
[
'LINE'
])
){
//$arResult['body'] = 'successfully';
$arResult
[
'body'
]
=
'Линия подключён к ак
ко
унту Телеграм: <br> <b>'
.
$accInfo
->
print_name
.
'</b> ('
.
$accInfo
->
phone
.
') <pre>['
.
$accInfo
->
username
.
']</pre>'
;
$arResult
[
'body'
]
=
'Линия подключён к ак
a
унту Телеграм: <br> <b>'
.
$accInfo
->
print_name
.
'</b> ('
.
$accInfo
->
phone
.
') <pre>['
.
$accInfo
->
username
.
']</pre>'
;
}
...
...
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