mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
early media logging patch
This commit is contained in:
@@ -2005,6 +2005,11 @@ Duration=${duration} `
|
|||||||
if (this.direction === CallDirection.Inbound) {
|
if (this.direction === CallDirection.Inbound) {
|
||||||
if (task.earlyMedia && !this.req.finalResponseSent) {
|
if (task.earlyMedia && !this.req.finalResponseSent) {
|
||||||
this.res.send(183, {body: ep.local.sdp});
|
this.res.send(183, {body: ep.local.sdp});
|
||||||
|
this._notifyCallStatusChange({
|
||||||
|
callStatus: CallStatus.earlyMedia,
|
||||||
|
sipStatus: 183,
|
||||||
|
sipReason: 'Early Media'
|
||||||
|
});
|
||||||
return {ep};
|
return {ep};
|
||||||
}
|
}
|
||||||
this.logger.debug('propogating answer');
|
this.logger.debug('propogating answer');
|
||||||
|
|||||||
Reference in New Issue
Block a user