@babblevoice/babble-drachtio-callmanager 2.3.15 → 2.3.17

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 +2 -2
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -1862,7 +1862,7 @@ class call {
1862
1862
  other.sdp.local = this_sdp
1863
1863
 
1864
1864
  /* reinvite will pick up on this */
1865
- const selectedcodec = this.selectedcodec
1865
+ const selectedcodec = other.selectedcodec
1866
1866
  other.selectedcodec = this.selectedcodec
1867
1867
  this.selectedcodec = selectedcodec
1868
1868
  return this
@@ -2831,7 +2831,7 @@ class call {
2831
2831
  if( this.parent.calleridname ) {
2832
2832
  name = this.parent.calleridname
2833
2833
  }
2834
- } else {
2834
+ } else if( this._entity ) {
2835
2835
  if( this._entity.username ) user = this._entity.username
2836
2836
  if( this._entity.realm ) realm = this._entity.realm
2837
2837
  if( this._entity.display ) name = this._entity.display
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "2.3.15",
3
+ "version": "2.3.17",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {