update deps

This commit is contained in:
Dave Horton
2020-02-22 08:20:28 -05:00
parent d38d985cbd
commit 94f0584b9f
5 changed files with 11 additions and 6 deletions

5
app.js
View File

@@ -26,6 +26,11 @@ const {performLcr} = require('jambonz-db-helpers')({
connectionLimit: process.env.JAMBONES_MYSQL_CONNECTION_LIMIT || 10
}, logger);
srf.locals.dbHelpers = {performLcr};
const {getRtpEngine} = require('jambonz-rtpengine-utils')(process.env.JAMBONES_RTPENGINES.split(','), logger, {
emitter: srf.locals.stats
});
srf.locals.getRtpEngine = getRtpEngine;
const activeCallIds = srf.locals.activeCallIds = new Set();
if (process.env.DRACHTIO_HOST) {