@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.
- package/lib/call.js +4 -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[
|
|
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
|
|