mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
forward reinvite error response to other destination (#133)
* forward reinvite error response to other destination * update comment review
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user