From ff44b3fbc9b19a0c100717304fbf859d54106c4c Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Thu, 12 Aug 2021 08:51:07 -0400 Subject: [PATCH] use single codec in response to freeswitch, otherwise it will get confused --- lib/call-session.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/call-session.js b/lib/call-session.js index 80c7f29..19867dc 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -184,6 +184,7 @@ class CallSession extends Emitter { ...this.rtpEngineOpts.uas.mediaOpts, 'from-tag': this.rtpEngineOpts.uas.tag, 'to-tag': this.rtpEngineOpts.uac.tag, + flags: ['single codec'], sdp }; const response = await this.answer(opts);