mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
more testing
This commit is contained in:
@@ -22,7 +22,7 @@ class CallSession extends Emitter {
|
||||
this.logger.info(`CallSession:exec starting task list with ${this.tasks.length} tasks`);
|
||||
while (this.tasks.length && !this.callGone) {
|
||||
const task = this.tasks.shift();
|
||||
this.logger.debug(`CallSession:exec starting task #${++idx}: ${task.name}`);
|
||||
this.logger.debug({task}, `CallSession:exec starting task #${++idx}: ${task.name}`);
|
||||
try {
|
||||
const resources = await this._evaluatePreconditions(task);
|
||||
this.currentTask = task;
|
||||
@@ -64,7 +64,7 @@ class CallSession extends Emitter {
|
||||
*/
|
||||
replaceApplication(tasks) {
|
||||
this.tasks = tasks;
|
||||
this.logger.info(`CallSession:replaceApplication - set ${tasks.length} new tasks`);
|
||||
this.logger.info({tasks}, `CallSession:replaceApplication - set ${tasks.length} new tasks`);
|
||||
}
|
||||
_evaluatePreconditions(task) {
|
||||
switch (task.preconditions) {
|
||||
|
||||
Reference in New Issue
Block a user