mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-02-15 10:49:07 +00:00
added support for conference verb
This commit is contained in:
@@ -11,13 +11,13 @@ class TaskPause extends Task {
|
||||
get name() { return TaskName.Pause; }
|
||||
|
||||
async exec(cs, ep) {
|
||||
super.exec(cs);
|
||||
await super.exec(cs);
|
||||
this.timer = setTimeout(this.notifyTaskDone.bind(this), this.length * 1000);
|
||||
await this.awaitTaskDone();
|
||||
}
|
||||
|
||||
async kill() {
|
||||
super.kill();
|
||||
async kill(cs) {
|
||||
super.kill(cs);
|
||||
clearTimeout(this.timer);
|
||||
this.notifyTaskDone();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user