diff --git a/lib/utils.js b/lib/utils.js index 84d2de2..8c3c879 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -17,7 +17,8 @@ function makeRtpEngineOpts(req, srcIsUsingSrtp, dstIsUsingSrtp, teams = false) { } const common = { 'call-id': req.get('Call-ID'), - 'replace': ['origin', 'session-connection'] + 'replace': ['origin', 'session-connection'], + 'record call': process.env.JAMBONES_RECORD_ALL_CALLS ? 'yes' : 'no' }; return { common,