From 5d50f687253bd0eed5acaba1ee55346f6bb421c8 Mon Sep 17 00:00:00 2001 From: Vinod Dharashive Date: Mon, 10 Apr 2023 22:24:26 +0530 Subject: [PATCH] Handling siprec caller and callee null (#308) * NBR Support * NBR Support * NBR Support * re-invite Ok sdp should be sendonly * NBR Support * sendrecv sdp correction * Update siprec-utils.js * Updated comments * Siprec participants details added to hook * Bugfix siprec * Update call-info.js * Handling siprec caller and callee null --- lib/session/call-info.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/session/call-info.js b/lib/session/call-info.js index fb7cd7fd..78c4f4d6 100644 --- a/lib/session/call-info.js +++ b/lib/session/call-info.js @@ -40,13 +40,13 @@ class CallInfo { this.participants = [ { participant: 'caller', - uriUser: caller.user, - uriHost: caller.host + uriUser: caller?.user, + uriHost: caller?.host }, { participant: 'callee', - uriUser: callee.user, - uriHost: callee.host + uriUser: callee?.user, + uriHost: callee?.host } ]; }