mirror of
https://github.com/jambonz/sbc-outbound.git
synced 2026-10-03 17:54:14 +00:00
bugfix: was incorrectly making additional attempts after caller hung up or other failures on first attempt
This commit is contained in:
@@ -431,6 +431,7 @@ class CallSession extends Emitter {
|
||||
sip_status: status
|
||||
}).catch((err) => this.logger.error({err}, 'Error writing cdr for call failure'));
|
||||
}
|
||||
return;
|
||||
}
|
||||
else {
|
||||
this.logger.info(`got ${err.status}, cranking back to next destination`);
|
||||
|
||||
Reference in New Issue
Block a user