From 917b8f332ca606b88e739181909815de9fd1fef6 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Fri, 14 Oct 2022 12:53:44 -0400 Subject: [PATCH] minor logging --- lib/session/call-session.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/session/call-session.js b/lib/session/call-session.js index 4348e66d..8544b0fe 100644 --- a/lib/session/call-session.js +++ b/lib/session/call-session.js @@ -1161,7 +1161,12 @@ class CallSession extends Emitter { // need to allocate an endpoint try { if (!this.ms) this.ms = this.getMS(); - const ep = await this.ms.createEndpoint({remoteSdp: this.req.body}); + const ep = await this.ms.createEndpoint({ + headers: { + 'X-Jambones-Call-ID': this.callId, + }, + remoteSdp: this.req.body + }); //ep.cs = this; this.ep = ep; ep.set({