Skip to content
Snippets Groups Projects
Commit d8faf86d authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

cti-serverProcess: added some comments

# Conflicts:
#	process/ctiServerEvents/process.js
parent 41e85f6e
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment