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
0ba6abb1
Commit
0ba6abb1
authored
1 year ago
by
Muhammadali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-
parent
cc2d0fc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
package.json
package.json
+1
-1
boxDIaler.js
src/lib/boxDIaler.js
+5
-6
No files found.
package.json
View file @
0ba6abb1
{
"name"
:
"boxdialer"
,
"version"
:
"4.3.
1
"
,
"version"
:
"4.3.
2
"
,
"description"
:
""
,
"main"
:
"src/boxDialer.js"
,
"scripts"
:
{
...
...
This diff is collapsed.
Click to expand it.
src/lib/boxDIaler.js
View file @
0ba6abb1
...
...
@@ -6,7 +6,6 @@ import waitRingTone from '../sounds/ringbacktone.wav';
import
pickSound
from
'
../sounds/dtmf.wav
'
;
import
{
WebSocketInterface
,
UA
}
from
'
jssip
'
;
import
tugpng
from
'
../img/tug.png
'
;
import
DTMF
from
'
@kimmel/dtmf
'
;
export
class
BoxDialer
{
sTransferNumber
;
oRingTone
;
...
...
@@ -802,11 +801,11 @@ export class BoxDialer {
'
sip:
'
+
phoneNumberString
+
'
@
'
+
this
.
sipDomain
,
this
.
options
,
);
this
.
callSession
.
connection
.
addEventListener
(
'
addstream
'
,
(
event
)
=>
{
console
.
log
(
'
--== ss OUT STREAM:
'
);
this
.
remoteAudio
.
srcObject
=
event
.
stream
;
this
.
remoteAudio
.
play
();
});
//
this.callSession.connection.addEventListener('addstream', (event) => {
//
console.log('--== ss OUT STREAM: ');
//
this.remoteAudio.srcObject = event.stream;
//
this.remoteAudio.play();
//
});
}
else
{
toast
.
error
(
'
Do not correct number
'
,
{
style
:
{
...
...
This diff is collapsed.
Click to expand it.
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