@babblevoice/babble-drachtio-callmanager 1.6.12 → 1.6.13

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/lib/call.js +1 -4
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -1409,8 +1409,6 @@ class call {
1409
1409
 
1410
1410
  if( this.canceled || this.established ) return
1411
1411
 
1412
- this.options = { ...this.options, ...options }
1413
-
1414
1412
  let channeldef
1415
1413
  if( this._req.msg && this._req.msg.body ) {
1416
1414
  this.selectedcodec = this.sdp.remote.intersection( this.options.preferedcodecs, true )
@@ -1464,11 +1462,10 @@ class call {
1464
1462
  if( this.canceled ) return
1465
1463
  }
1466
1464
 
1467
- if( this.options.early ) {
1465
+ if( options.early ) {
1468
1466
  this.state.early = true
1469
1467
  this._em.emit( "call.early", this )
1470
1468
  callmanager.options.em.emit( "call.early", this )
1471
-
1472
1469
  } else {
1473
1470
  let dialog = await callmanager.options.srf.createUAS( this._req, this._res, {
1474
1471
  localSdp: this.sdp.local.toString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "1.6.12",
3
+ "version": "1.6.13",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {