@babblevoice/babble-drachtio-callmanager 2.2.7 → 2.3.0
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 -1
- package/package.json +1 -1
package/lib/call.js
CHANGED
|
@@ -130,6 +130,7 @@ class call {
|
|
|
130
130
|
@property { boolean } authed
|
|
131
131
|
@property { boolean } cleaned
|
|
132
132
|
@property { boolean } refered
|
|
133
|
+
@property { boolean } picked
|
|
133
134
|
*/
|
|
134
135
|
|
|
135
136
|
/** @member { callstate } */
|
|
@@ -143,7 +144,8 @@ class call {
|
|
|
143
144
|
"held": false,
|
|
144
145
|
"authed": false,
|
|
145
146
|
"cleaned": false,
|
|
146
|
-
"refered": false
|
|
147
|
+
"refered": false,
|
|
148
|
+
"picked": false
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
/**
|
|
@@ -873,6 +875,7 @@ class call {
|
|
|
873
875
|
It wuld be normal to bridge this call to another after this call has been made.
|
|
874
876
|
*/
|
|
875
877
|
pick() {
|
|
878
|
+
this.state.picked = true
|
|
876
879
|
this._em.emit( "call.pick", this )
|
|
877
880
|
}
|
|
878
881
|
|