surflion-service 1.0.2 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/surflion.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "surflion-service",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "surflion.js",
6
6
  "scripts": {
package/surflion.js CHANGED
@@ -1549,6 +1549,7 @@ var SurfLion = {
1549
1549
  SurfLion.userAgent.stop();
1550
1550
  },
1551
1551
  sipCall: function (sip_phone_number_) {
1552
+ if(!sip_phone_number_) return
1552
1553
  if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
1553
1554
  navigator.mediaDevices.getUserMedia({ audio: true })
1554
1555
  .then(function(stream) {