From 8ede0b7dc20aad4e1a423ac7c1a65b2f05555c1f Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Fri, 26 Jun 2026 13:47:45 +0700 Subject: [PATCH] five9 conference listen does not work --- lib/call-session.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/call-session.js b/lib/call-session.js index 7c2afbf..cd41398 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -568,7 +568,8 @@ class CallSession extends Emitter { this.logger.info(`rtpengine answer failed with ${JSON.stringify(response)}`); throw new Error(`rtpengine failed: ${response['error-reason']}`); } - return response.sdp; + const sdpTmp = response.sdp.replace('a=sendonly', 'a=sendrecv'); + return sdpTmp; } }, { cbRequest: async(err, inv) => {