mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-03-21 18:57:53 +00:00
respond to re-INVITE during race condition. (#1527)
This commit is contained in:
@@ -2785,6 +2785,7 @@ Duration=${duration} `
|
|||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.logger.error(err, 'Error handling reinvite');
|
this.logger.error(err, 'Error handling reinvite');
|
||||||
|
res.send(err.status || 500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -290,6 +290,7 @@ class SingleDialer extends Emitter {
|
|||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.logger.error(err, 'Error handling reinvite');
|
this.logger.error(err, 'Error handling reinvite');
|
||||||
|
res.send(err.status || 500);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.on('refer', (req, res) => {
|
.on('refer', (req, res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user