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({