@exotel-npm-dev/webrtc-client-sdk 1.0.5 → 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.
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <title>WebPhone</title>
5
5
 
6
- <script type="text/javascript" src="../dist/exotelsdk.js"></script>
6
+ <script type="text/javascript" src="./dist/exotelsdk.js"></script>
7
7
  <script type="text/javascript" src="phone.js"></script>
8
8
  <script type="text/javascript" src="demo.js"></script>
9
9
 
@@ -26,12 +26,6 @@
26
26
  <button id="muteButton" onclick="toggleMuteButton()">MUTE</button>
27
27
  <button id="holdButton" onclick="toggleHoldButton()">HOLD</button>
28
28
 
29
- <audio id="ringtone" src="assets/sounds/ringtone.wav">
30
- </audio>
31
- <audio id="ringbacktone" src="assets/sounds/ringbacktone.wav">
32
- </audio>
33
- <audio id="dtmfTone" src="assets/sounds/dtmf.wav">
34
- </audio>
35
- <audio id="audio_remote" autoplay="autoplay"></audio>
29
+
36
30
  </body>
37
31
  </html>
@@ -1,11 +1,11 @@
1
1
  phone = '[\
2
2
  {\
3
- "Username":"ashishrb544b97d",\
4
- "DisplayName":"Ashish",\
5
- "HostServer":"voip.exotel.in",\
6
- "Domain":"ccplexopoc1m.voip.exotel.com",\
7
- "Port":443,\
8
- "Password":"test1234",\
3
+ "Username":"vijayk0aa794fd",\
4
+ "DisplayName":"vijay",\
5
+ "HostServer":"voip.in1.exotel.com",\
6
+ "Domain":"siptrunkingpoc1m.voip.exotel.com",\
7
+ "Port":5071,\
8
+ "Password":"exotel321",\
9
9
  "CallTimeout":1000,\
10
10
  "Security": "wss",\
11
11
  "EndPoint": "wss",\
package/dist/exotelsdk.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * WebRTC CLient SIP version 1.0.4
3
+ * WebRTC CLient SIP version 1.0.6
4
4
  *
5
5
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8151,11 +8151,11 @@ function registerPhoneEventListeners() {
8151
8151
  });
8152
8152
  ctxSip.phone.delegate.onInvite = incomingSession => {
8153
8153
  if (ctxSip.callActiveID == null) {
8154
- _webrtcSIPPhoneEventDelegate__WEBPACK_IMPORTED_MODULE_0__["default"].onRecieveInvite(incomingSession);
8155
- _webrtcSIPPhoneEventDelegate__WEBPACK_IMPORTED_MODULE_0__["default"].sendWebRTCEventsToFSM("i_new_call", "CALL");
8156
8154
  var s = incomingSession;
8157
8155
  s.direction = 'incoming';
8158
8156
  ctxSip.newSession(s);
8157
+ _webrtcSIPPhoneEventDelegate__WEBPACK_IMPORTED_MODULE_0__["default"].onRecieveInvite(incomingSession);
8158
+ _webrtcSIPPhoneEventDelegate__WEBPACK_IMPORTED_MODULE_0__["default"].sendWebRTCEventsToFSM("i_new_call", "CALL");
8159
8159
  } else {
8160
8160
  incomingSession.reject();
8161
8161
  }