mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
1
.gitignore
vendored
1
.gitignore
vendored
@@ -43,3 +43,4 @@ test/credentials/*.json
|
|||||||
run-tests.sh
|
run-tests.sh
|
||||||
run-coverage.sh
|
run-coverage.sh
|
||||||
.vscode
|
.vscode
|
||||||
|
.env
|
||||||
|
|||||||
@@ -94,7 +94,10 @@ class TaskSipRefer extends Task {
|
|||||||
}
|
}
|
||||||
if (status >= 200) {
|
if (status >= 200) {
|
||||||
this.referSpan.setAttributes({'refer.finalNotify': status});
|
this.referSpan.setAttributes({'refer.finalNotify': status});
|
||||||
await this.performAction({refer_status: 202, final_referred_call_status: status});
|
await this.performAction({refer_status: 202, final_referred_call_status: status})
|
||||||
|
.catch((err) => {
|
||||||
|
this.logger.error(err, 'TaskSipRefer:exec - error performing action finalNotify');
|
||||||
|
});
|
||||||
this.notifyTaskDone();
|
this.notifyTaskDone();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user