@babblevoice/babble-drachtio-callmanager 2.2.5 → 2.2.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 +3 -0
- package/package.json +1 -1
- package/test/unit/call.js +1 -1
package/lib/call.js
CHANGED
|
@@ -2735,6 +2735,7 @@ class call {
|
|
|
2735
2735
|
@param { object } [ options.uactimeout ] - override the deault timeout
|
|
2736
2736
|
@param { boolean | number } [ options.autoanswer ] - if true add call-info to auto answer, if number delay to add
|
|
2737
2737
|
@param { boolean } [ options.late ] - late negotiation
|
|
2738
|
+
@param { boolean } [ options.privacy ] - sets the privacy
|
|
2738
2739
|
@param { entity } [ options.entity ] - used to store this call against and look up a contact string if not supplied.
|
|
2739
2740
|
@param { string } [ options.entity.username ]
|
|
2740
2741
|
@param { string } [ options.entity.realm ]
|
|
@@ -2774,6 +2775,8 @@ class call {
|
|
|
2774
2775
|
callstore.set( newcall )
|
|
2775
2776
|
}
|
|
2776
2777
|
|
|
2778
|
+
if( options.privacy ) this.privacy = true
|
|
2779
|
+
|
|
2777
2780
|
const u = newcall.#configcalleridfornewuac( options )
|
|
2778
2781
|
newcall.#configautoanswerfornewuac( options, u )
|
|
2779
2782
|
|
package/package.json
CHANGED