mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2026-10-30 07:04:24 +00:00
add env JAMBONES_RECORD_ALL_CALLS to enable global call recording
This commit is contained in:
1 parent
b24ecf84d3
commit
faafaa8549
1 file changed
+2
-1
+2
-1
@@ -26,7 +26,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,
|
||||
|
||||
Reference in new issue
Block a user