mirror of
https://github.com/jambonz/sbc-outbound.git
synced 2026-10-24 12:14:14 +00:00
add env JAMBONES_RECORD_ALL_CALLS to enable global call recording
This commit is contained in:
1 parent
3d902c65a4
commit
d9c4e01c36
1 file changed
+2
-1
+2
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user