mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
bugfix: enqueue queue_result = bridged if queued call was answered
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -39,3 +39,4 @@ examples/*
|
||||
|
||||
ecosystem.config.js
|
||||
.vscode
|
||||
run-tests.sh
|
||||
|
||||
@@ -234,6 +234,7 @@ class TaskEnqueue extends Task {
|
||||
});
|
||||
|
||||
// resolve when either side hangs up
|
||||
this.state = QueueResults.Bridged;
|
||||
this.emitter
|
||||
.on('hangup', () => {
|
||||
this.logger.info('TaskEnqueue:_bridgeLocal ending with hangup from dequeue party');
|
||||
|
||||
Reference in New Issue
Block a user