From 41eaa4286f261f3473f156219ec2eba067c5c656 Mon Sep 17 00:00:00 2001 From: Paulo Telles Date: Wed, 16 Aug 2023 18:37:20 +0200 Subject: [PATCH] fix service_provider_sid undefined (#101) Co-authored-by: p.souza --- lib/call-session.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/call-session.js b/lib/call-session.js index bd1ff17..b96a077 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -99,6 +99,10 @@ class CallSession extends Emitter { this._mediaReleased = false; } + get service_provider_sid() { + return this.req.locals.service_provider_sid; + } + get account_sid() { return this.req.locals.account_sid; }