forward reinvite error response to other destination (#133)

* forward reinvite error response to other destination

* update comment review
This commit is contained in:
Hoan Luu Huu
2024-03-07 19:48:33 +07:00
committed by GitHub
parent f5be95006c
commit 03d3a9695d

View File

@@ -693,6 +693,7 @@ Duration=${payload.duration} `
} }
res.send(200, {body: response.sdp}); res.send(200, {body: response.sdp});
} catch (err) { } catch (err) {
res.send(err.status || 500);
this.logger.error(err, 'Error handling reinvite'); this.logger.error(err, 'Error handling reinvite');
} }
} }