mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
implement actionhook
This commit is contained in:
@@ -34,6 +34,8 @@ class TaskSipRefer extends Task {
|
||||
});
|
||||
this.referStatus = response.status;
|
||||
this.logger.info(`TaskSipRefer:exec - received ${this.referStatus} to REFER`);
|
||||
await this.performAction({status: this.referStatus});
|
||||
|
||||
//if (response.status === 202) this.awaitTaskDone();
|
||||
} catch (err) {
|
||||
this.logger.info({err}, 'TaskSipRefer:exec - error sending REFER');
|
||||
|
||||
Reference in New Issue
Block a user