@babblevoice/babble-drachtio-callmanager 2.3.4 → 2.3.5
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 +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[
|
|
2428
|
+
requestoptions.headers[ "P-Asserted-Identity" ] = remoteid
|
|
2429
|
+
requestoptions.headers[ "FROM" ] = remoteid
|
|
2430
2430
|
|
|
2431
2431
|
this._dialog.request( requestoptions )
|
|
2432
2432
|
return true
|