diff --git a/lib/call-session.js b/lib/call-session.js index 974dcc4..474a79c 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -304,7 +304,7 @@ class CallSession extends Emitter { sdp }; const startAt = process.hrtime(); - const response = await this.answer(opts); + const response = await this.answer({direction: ['private', 'public'], ...opts}); this.logger.debug({response, opts}, 'response from rtpengine to answer'); const rtt = roundTripTime(startAt); this.stats.histogram('app.rtpengine.response_time', rtt, [