support inbound connections with tags

This commit is contained in:
Dave Horton
2020-02-20 06:54:06 -05:00
parent cb85522a93
commit 5794c74708

2
app.js
View File

@@ -9,7 +9,7 @@ assert.ok(process.env.DRACHTIO_SECRET, 'missing DRACHTIO_SECRET env var');
assert.ok(process.env.JAMBONES_RTPENGINES, 'missing JAMBONES_RTPENGINES env var');
const Srf = require('drachtio-srf');
const srf = new Srf();
const srf = new Srf('sbc-outbound');
const opts = Object.assign({
timestamp: () => {return `, "time": "${new Date().toISOString()}"`;}
}, {level: process.env.JAMBONES_LOGLEVEL || 'info'});