Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BoxDialer
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
Kulya
BoxDialer
Commits
6b3d1668
Commit
6b3d1668
authored
Sep 25, 2023
by
Muhammadali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-
parent
6d84c1de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
boxDIaler.js
src/lib/boxDIaler.js
+14
-9
No files found.
src/lib/boxDIaler.js
View file @
6b3d1668
...
@@ -218,7 +218,9 @@ export class BoxDialer {
...
@@ -218,7 +218,9 @@ export class BoxDialer {
if
(
sipState
&&
!!
sipState
.
length
)
sipState
=
this
.
sipState
;
if
(
sipState
&&
!!
sipState
.
length
)
sipState
=
this
.
sipState
;
let
uiStates
=
{
let
uiStates
=
{
stack_i_new_call
:
stack_i_new_call
:
this
.
callDirection
===
'
in
'
?
'
connectingIncoming
'
:
'
connected
'
,
this
.
callDirection
===
'
in
'
?
'
connectingIncoming
'
:
'
connectingOutgoing
'
,
call_connected
:
'
connected
'
,
call_connected
:
'
connected
'
,
call_m_stream_audio_remote_added
:
'
connected
'
,
call_m_stream_audio_remote_added
:
'
connected
'
,
...
@@ -547,6 +549,9 @@ export class BoxDialer {
...
@@ -547,6 +549,9 @@ export class BoxDialer {
`this_callEvetsBoxDialer_callHold: `
,
`this_callEvetsBoxDialer_callHold: `
,
this
.
callEvetsBoxDialer
.
callHold
,
this
.
callEvetsBoxDialer
.
callHold
,
);
);
// BX24.placement.call('CallCardSetHold', { held: true }, () => {
// });
if
(
this
.
callEvetsBoxDialer
.
callHold
)
{
if
(
this
.
callEvetsBoxDialer
.
callHold
)
{
this
.
oSipSessionCall
.
resume
();
this
.
oSipSessionCall
.
resume
();
this
.
callEvetsBoxDialer
=
{
this
.
callEvetsBoxDialer
=
{
...
@@ -564,14 +569,14 @@ export class BoxDialer {
...
@@ -564,14 +569,14 @@ export class BoxDialer {
this
.
oSipSessionCall
.
bHeld
=
this
.
callHold
;
this
.
oSipSessionCall
.
bHeld
=
this
.
callHold
;
this
.
onSipStateChange
.
setCallEvents
(
this
.
callEvetsBoxDialer
);
this
.
onSipStateChange
.
setCallEvents
(
this
.
callEvetsBoxDialer
);
//
this.callBxMethods({
this
.
callBxMethods
({
//
bxMethodName: 'CallCardSetHold',
bxMethodName
:
'
CallCardSetHold
'
,
// //
bxFuncParams: { held: this.oSipSessionCall.bHeld },
bxFuncParams
:
{
held
:
this
.
oSipSessionCall
.
bHeld
},
// bxFuncParams: { held: false },
// bxFuncParams: { held: false },
//
callback: (e) => {
callback
:
(
e
)
=>
{
//
console.log(e, `CallCardSetUiState method done ${e}`);
console
.
log
(
e
,
`CallCardSetUiState method done
${
e
}
`
);
//
},
},
//
});
});
}
}
closeButtonClick
()
{
closeButtonClick
()
{
...
...
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