surflion-service 1.3.3 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/surflion.js +5 -1
package/package.json
CHANGED
package/surflion.js
CHANGED
|
@@ -1390,6 +1390,8 @@ var SurfLion = {
|
|
|
1390
1390
|
window.localStorage.setItem("localStorageSurflionCall", '0');
|
|
1391
1391
|
const events = new Event('localStorageSurflionCalling');
|
|
1392
1392
|
window.dispatchEvent(events);
|
|
1393
|
+
|
|
1394
|
+
window.dispatchEvent(new Event('callingStart'))
|
|
1393
1395
|
},1000)
|
|
1394
1396
|
},
|
|
1395
1397
|
'ended': function (e) {
|
|
@@ -1482,8 +1484,10 @@ var SurfLion = {
|
|
|
1482
1484
|
register: true,
|
|
1483
1485
|
session_timers: false,
|
|
1484
1486
|
iceServers: [],
|
|
1485
|
-
contact_uri: sip_uri_
|
|
1487
|
+
contact_uri: sip_uri_ + ';transport=ws'
|
|
1486
1488
|
};
|
|
1489
|
+
console.log(';transport=ws')
|
|
1490
|
+
|
|
1487
1491
|
function createDialerButton(digit) {
|
|
1488
1492
|
const button = document.createElement('button');
|
|
1489
1493
|
button.textContent = digit;
|