@onereach/step-voice 5.0.9-fixsubflow.8 → 5.0.9-fixsubflow.9
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/dst/Conference Dial.js +1 -1
- package/dst/Global Command.js +1 -1
- package/package.json +1 -1
package/dst/Conference Dial.js
CHANGED
|
@@ -7,7 +7,7 @@ class ConferenceDial extends voice_1.default {
|
|
|
7
7
|
async runStep() {
|
|
8
8
|
const call = await this.fetchData();
|
|
9
9
|
this.triggers
|
|
10
|
-
.
|
|
10
|
+
.local(`in/voice/${call.id}/event`, async (event) => {
|
|
11
11
|
switch (event.params.type) {
|
|
12
12
|
case 'hangup':
|
|
13
13
|
await this.handleHangup(call);
|
package/dst/Global Command.js
CHANGED
|
@@ -53,7 +53,7 @@ class GlobalCommand extends voice_1.default {
|
|
|
53
53
|
if (!this.thread.ending)
|
|
54
54
|
this.end();
|
|
55
55
|
});
|
|
56
|
-
this.triggers.
|
|
56
|
+
this.triggers.local(`in/voice/${call.id}/event`, async (event) => {
|
|
57
57
|
event.processed = undefined;
|
|
58
58
|
switch (event.params.type) {
|
|
59
59
|
case 'hangup': {
|