Commit 0ba6abb1 authored by Muhammadali's avatar Muhammadali

update-

parent cc2d0fc9
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.3.1", "version": "4.3.2",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -6,7 +6,6 @@ import waitRingTone from '../sounds/ringbacktone.wav'; ...@@ -6,7 +6,6 @@ import waitRingTone from '../sounds/ringbacktone.wav';
import pickSound from '../sounds/dtmf.wav'; import pickSound from '../sounds/dtmf.wav';
import { WebSocketInterface, UA } from 'jssip'; import { WebSocketInterface, UA } from 'jssip';
import tugpng from '../img/tug.png'; import tugpng from '../img/tug.png';
import DTMF from '@kimmel/dtmf';
export class BoxDialer { export class BoxDialer {
sTransferNumber; sTransferNumber;
oRingTone; oRingTone;
...@@ -802,11 +801,11 @@ export class BoxDialer { ...@@ -802,11 +801,11 @@ export class BoxDialer {
'sip:' + phoneNumberString + '@' + this.sipDomain, 'sip:' + phoneNumberString + '@' + this.sipDomain,
this.options, this.options,
); );
this.callSession.connection.addEventListener('addstream', (event) => { // this.callSession.connection.addEventListener('addstream', (event) => {
console.log('--== ss OUT STREAM: '); // console.log('--== ss OUT STREAM: ');
this.remoteAudio.srcObject = event.stream; // this.remoteAudio.srcObject = event.stream;
this.remoteAudio.play(); // this.remoteAudio.play();
}); // });
} else { } else {
toast.error('Do not correct number', { toast.error('Do not correct number', {
style: { style: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment