From d8faf86dbd1a29ebaab73b309f49ddbf1a48dc21 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@adito.de> Date: Mon, 25 Nov 2019 13:58:54 +0100 Subject: [PATCH] cti-serverProcess: added some comments # Conflicts: # process/ctiServerEvents/process.js --- process/ctiServerEvents/process.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/process/ctiServerEvents/process.js b/process/ctiServerEvents/process.js index cceed473a5..c5d87f4ec6 100644 --- a/process/ctiServerEvents/process.js +++ b/process/ctiServerEvents/process.js @@ -143,6 +143,8 @@ var disconnectingHandlerFn = function() if (this.contactsCall.length > 0) { + //add the linkInfo again because otherwise the linkInfo would be overwritten with null when disconnecting + //TODO: wait for #1047703 var affectedContext = this.contactsCall[0].PERSON_ID.trim() == "" ? "Organisation" : "Person"; var affectedContactId = this.contactsCall[0].CONTACTID; notificationConfig.linkInfo(text.encodeMS([affectedContext, affectedContactId])); @@ -170,9 +172,9 @@ var callData = { ,isConnectedCall: false }; -//for testing only: -//callData.callAddress = "01731858728"; -//callData.localAddress = "PJSIP/212"; +//you could overwrite the values for testing for example here: +//callData.callAddress = "exampleValue"; +//callData.localAddress = "PJSIP/xyzExample"; var ic = new IncomingCallExecutor(callData); //ic.logData(); -- GitLab