This commit is contained in:
Dave Horton
2024-11-19 09:37:53 -05:00
committed by GitHub
parent b976a62a60
commit 916d577b75
4 changed files with 69 additions and 7 deletions
+10 -1
View File
@@ -233,6 +233,13 @@ async function isBlackListedSipGateway(client, logger, sip_gateway_sid) {
}
}
const makeFullMediaReleaseKey = (callId) => {
return `b_sdp:${callId}`;
};
const makePartnerFullMediaReleaseKey = (callId) => {
return `a_sdp:${callId}`;
};
module.exports = {
makeRtpEngineOpts,
selectHostPort,
@@ -244,5 +251,7 @@ module.exports = {
createHealthCheckApp,
nudgeCallCounts,
isPrivateVoipNetwork,
isBlackListedSipGateway
isBlackListedSipGateway,
makeFullMediaReleaseKey,
makePartnerFullMediaReleaseKey
};