mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-04 02:04:12 +00:00
Feat/freeswitch logging (#1309)
* include callSid on INVITEs to freeeswitch * remove unnecessary warning
This commit is contained in:
@@ -2378,6 +2378,7 @@ Duration=${duration} `
|
|||||||
const ep = await this._createMediaEndpoint({
|
const ep = await this._createMediaEndpoint({
|
||||||
headers: {
|
headers: {
|
||||||
'X-Jambones-Call-ID': this.callId,
|
'X-Jambones-Call-ID': this.callId,
|
||||||
|
'X-Call-Sid': this.callSid,
|
||||||
},
|
},
|
||||||
remoteSdp: this.req.body
|
remoteSdp: this.req.body
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -101,8 +101,6 @@ class SttLatencyCalculator extends Emitter {
|
|||||||
}
|
}
|
||||||
this.isRunning = false;
|
this.isRunning = false;
|
||||||
this.logger.info('STT Latency Calculator stopped');
|
this.logger.info('STT Latency Calculator stopped');
|
||||||
} else {
|
|
||||||
this.logger.warn('Latency calculator is not running, no VAD detection to stop');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -116,7 +114,7 @@ class SttLatencyCalculator extends Emitter {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._startVad();
|
this._startVad();
|
||||||
this.logger.info('STT Latency Calculator started');
|
this.logger.debug('STT Latency Calculator started');
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
|||||||
Reference in New Issue
Block a user