surflion-service 1.0.1 → 1.0.3
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 +2 -0
package/package.json
CHANGED
package/surflion.js
CHANGED
|
@@ -683,6 +683,7 @@ var SurfLion = {
|
|
|
683
683
|
if(document.getElementById('surf-end-virtually')) {
|
|
684
684
|
document.getElementById('surf-end-virtually').parentNode.removeChild(document.getElementById('surf-end-virtually'))
|
|
685
685
|
}
|
|
686
|
+
SurfLion.showPhoneNumber = ''
|
|
686
687
|
SurfLion.createVKeyboard(true)
|
|
687
688
|
},
|
|
688
689
|
closeVCall: function () {
|
|
@@ -1548,6 +1549,7 @@ var SurfLion = {
|
|
|
1548
1549
|
SurfLion.userAgent.stop();
|
|
1549
1550
|
},
|
|
1550
1551
|
sipCall: function (sip_phone_number_) {
|
|
1552
|
+
if(!sip_phone_number_) return
|
|
1551
1553
|
if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
|
|
1552
1554
|
navigator.mediaDevices.getUserMedia({ audio: true })
|
|
1553
1555
|
.then(function(stream) {
|