mirror of
https://github.com/jambonz/sbc-outbound.git
synced 2026-10-04 02:04:19 +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
|
sip_status: status
|
||||||
}).catch((err) => this.logger.error({err}, 'Error writing cdr for call failure'));
|
}).catch((err) => this.logger.error({err}, 'Error writing cdr for call failure'));
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.logger.info(`got ${err.status}, cranking back to next destination`);
|
this.logger.info(`got ${err.status}, cranking back to next destination`);
|
||||||
|
|||||||
Reference in New Issue
Block a user