@babblevoice/babble-drachtio-callmanager 2.3.4 → 2.3.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.
Files changed (2) hide show
  1. package/lib/call.js +4 -2
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -2424,9 +2424,9 @@ class call {
2424
2424
  }
2425
2425
 
2426
2426
  /* RFC 3325 - should we also consider the P-Preferred-Identity header? */
2427
- const remoteidheader = "P-Asserted-Identity"
2428
2427
  const remoteid = `"${name}" <sip:${user}@${realm}>`
2429
- requestoptions.headers[ remoteidheader ] = remoteid
2428
+ requestoptions.headers[ "P-Asserted-Identity" ] = remoteid
2429
+ requestoptions.headers[ "FROM" ] = remoteid
2430
2430
 
2431
2431
  this._dialog.request( requestoptions )
2432
2432
  return true
@@ -2910,6 +2910,8 @@ class call {
2910
2910
  return newcall
2911
2911
  }
2912
2912
 
2913
+ newcall.parseallow( newdialog.res )
2914
+
2913
2915
  newcall.#setdialog( newdialog )
2914
2916
  await newcall.#onnewuacsuccess( callbacks )
2915
2917
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {