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
7b8b7c08
Commit
7b8b7c08
authored
Jan 10, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Показ звонков в IVR
parent
284217c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
footer_queues.js
template/js/footer_queues.js
+16
-2
No files found.
template/js/footer_queues.js
View file @
7b8b7c08
...
...
@@ -282,6 +282,7 @@ function getQuesue() {
this
.
_conf
=
{
calls
:
{
keys
:
{
ivr
:
[
'
ivr
'
],
in
:
[
'
Incom
'
],
out
:
[
"
Out
"
,
"
Outlines
"
],
}
...
...
@@ -1023,8 +1024,16 @@ function getQuesue() {
phone2
:
""
,
duration
:
""
,
}
console
.
log
(
"
CHECK:
"
,
"
_getCurrentCallData
"
,
data
);
switch
(
data
.
_type
)
{
case
"
ivr
"
:
// IVR
result
.
phone1
=
data
.
calleridnum
// номер звонящего
result
.
phone2
=
data
.
language
// внутренний номер агента
//result.queue = "" //data.queue_number // номер очереди агента
break
case
"
incom
"
:
// входящий выхов
result
.
phone1
=
data
.
calleridnum
// номер звонящего
...
...
@@ -1052,7 +1061,11 @@ function getQuesue() {
_getCurrentQueuesCalls
(
data
)
{
let
result
=
{
in
:
{
ivr
:
{
title
:
'
IVR
'
,
data
:
[]
},
in
:
{
title
:
'
Входящие
'
,
data
:
[]
},
...
...
@@ -1062,6 +1075,7 @@ function getQuesue() {
}
}
setData
(
"
ivr
"
,
this
.
_conf
.
calls
.
keys
.
ivr
)
setData
(
"
in
"
,
this
.
_conf
.
calls
.
keys
.
in
)
setData
(
"
out
"
,
this
.
_conf
.
calls
.
keys
.
out
)
...
...
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