mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
This commit is contained in:
@@ -134,7 +134,9 @@ class ActionHookDelayProcessor extends Emitter {
|
|||||||
this.logger.debug({evt}, 'got playback-start');
|
this.logger.debug({evt}, 'got playback-start');
|
||||||
if (!this._active) {
|
if (!this._active) {
|
||||||
this.logger.info({evt}, 'ActionHookDelayProcessor#_onNoResponseTimer: killing audio immediately');
|
this.logger.info({evt}, 'ActionHookDelayProcessor#_onNoResponseTimer: killing audio immediately');
|
||||||
this.ep.api('uuid_break', this.ep.uuid)
|
|
||||||
|
/* note: in race condition we may have just hung up and cs.ep cleared */
|
||||||
|
this.ep?.api('uuid_break', this.ep?.uuid)
|
||||||
.catch((err) => this.logger.info(err,
|
.catch((err) => this.logger.info(err,
|
||||||
'ActionHookDelayProcessor#_onNoResponseTimer Error killing audio'));
|
'ActionHookDelayProcessor#_onNoResponseTimer Error killing audio'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user