mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
Fix/rest outdial failure session hangs (#411)
* fix #410 * on rest outdial failure, if remote end closed gracefully don't wait for a reconnection
This commit is contained in:
@@ -258,6 +258,7 @@ router.post('/', async(req, res) => {
|
||||
sipStatus: err.status,
|
||||
sipReason: err.reason
|
||||
});
|
||||
cs.callGone = true;
|
||||
}
|
||||
else {
|
||||
if (cs) cs.emit('callStatusChange', {
|
||||
|
||||
Reference in New Issue
Block a user