surflion-service 1.0.4 → 1.0.6
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 -1
package/package.json
CHANGED
package/surflion.js
CHANGED
|
@@ -1551,7 +1551,8 @@ var SurfLion = {
|
|
|
1551
1551
|
SurfLion.userAgent.stop();
|
|
1552
1552
|
},
|
|
1553
1553
|
sipCall: function (sip_phone_number_) {
|
|
1554
|
-
|
|
1554
|
+
console.log('sip_phone_number_', sip_phone_number_)
|
|
1555
|
+
if(sip_phone_number_ == 'Please input number') return
|
|
1555
1556
|
if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
|
|
1556
1557
|
navigator.mediaDevices.getUserMedia({ audio: true })
|
|
1557
1558
|
.then(function(stream) {
|