remove asymmetric flag on offer to B party reinvite as port learning should still happen (#128)

This commit is contained in:
Dave Horton
2024-03-26 12:13:01 -04:00
committed by GitHub
parent 591b8f2f8a
commit 49ba872f51

View File

@@ -775,6 +775,8 @@ Duration=${payload.duration} `
sdp
};
response = await this.answer(opts);
/* now remove asymeetric as B party (looking at you Genesys ring group) may need port re-learning on invites */
answerMedia.flags = answerMedia.flags.filter((f) => f !== 'asymmetric');
if ('ok' !== response.result) {
res.send(488);
throw new Error(`_onReinvite: rtpengine failed: ${JSON.stringify(response)}`);