@ipcom/asterisk-ari 0.0.127 → 0.0.128
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/dist/cjs/index.cjs
CHANGED
|
@@ -1085,8 +1085,23 @@ var ChannelInstance = class extends import_events.EventEmitter {
|
|
|
1085
1085
|
);
|
|
1086
1086
|
playback.once("PlaybackFinished", async () => {
|
|
1087
1087
|
console.log(
|
|
1088
|
-
`
|
|
1088
|
+
`PlaybackFinished '${playback.id}' finalizado no canal '${this.id}'.`
|
|
1089
1089
|
);
|
|
1090
|
+
console.log(this.client.getWebSocketClients().get(this.app));
|
|
1091
|
+
this.client.getWebSocketClients().get(this.app)?.removeScopedMessageListeners(playback.id, this.app);
|
|
1092
|
+
});
|
|
1093
|
+
playback.once("PlaybackStarted", async () => {
|
|
1094
|
+
console.log(
|
|
1095
|
+
`PlaybackStarted '${playback.id}' finalizado no canal '${this.id}'.`
|
|
1096
|
+
);
|
|
1097
|
+
console.log(this.client.getWebSocketClients().get(this.app));
|
|
1098
|
+
this.client.getWebSocketClients().get(this.app)?.removeScopedMessageListeners(playback.id, this.app);
|
|
1099
|
+
});
|
|
1100
|
+
playback.once("PlaybackContinuing", async () => {
|
|
1101
|
+
console.log(
|
|
1102
|
+
`PlaybackContinuing '${playback.id}' finalizado no canal '${this.id}'.`
|
|
1103
|
+
);
|
|
1104
|
+
console.log(this.client.getWebSocketClients().get(this.app));
|
|
1090
1105
|
this.client.getWebSocketClients().get(this.app)?.removeScopedMessageListeners(playback.id, this.app);
|
|
1091
1106
|
});
|
|
1092
1107
|
return playback;
|