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
3d63e726
Commit
3d63e726
authored
Aug 24, 2023
by
Muhammadali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.6.1
parent
8e9cb4f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
package.json
package.json
+1
-1
boxDIaler.js
src/lib/boxDIaler.js
+10
-8
No files found.
package.json
View file @
3d63e726
{
"name"
:
"boxdialer"
,
"version"
:
"0.6.
0
"
,
"version"
:
"0.6.
1
"
,
"description"
:
""
,
"main"
:
"src/boxDialer.js"
,
"scripts"
:
{
...
...
src/lib/boxDIaler.js
View file @
3d63e726
...
...
@@ -226,7 +226,7 @@ export class BoxDialer {
setGuiPhoneState
({
stateCode
,
funcName
,
funcParam
})
{
if
(
window
?.
alovoice_wsphone
)
{
let
uiState
=
''
;
let
uiState
=
false
;
switch
(
stateCode
)
{
case
'
i_new_call
'
:
...
...
@@ -239,13 +239,15 @@ export class BoxDialer {
break
;
}
this
.
callBxMethods
({
bxMethodName
:
'
CallCardSetUiState
'
,
bxFuncParams
:
{
uiState
},
callback
:
(
e
)
=>
{
console
.
log
(
e
,
`CallCardSetUiState method done
${
e
}
`
);
},
});
if
(
uiState
)
{
this
.
callBxMethods
({
bxMethodName
:
'
CallCardSetUiState
'
,
bxFuncParams
:
{
uiState
},
callback
:
(
e
)
=>
{
console
.
log
(
e
,
`CallCardSetUiState method done
${
e
}
`
);
},
});
}
}
else
if
(
funcName
&&
this
.
onSipStateChange
[
funcName
]
!==
'
undefined
'
)
{
this
.
onSipStateChange
[
funcName
](
funcParam
);
}
...
...
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