Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
d8faf86d
Commit
d8faf86d
authored
5 years ago
by
Johannes Goderbauer
Browse files
Options
Downloads
Patches
Plain Diff
cti-serverProcess: added some comments
# Conflicts: # process/ctiServerEvents/process.js
parent
41e85f6e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
process/ctiServerEvents/process.js
+5
-3
5 additions, 3 deletions
process/ctiServerEvents/process.js
with
5 additions
and
3 deletions
process/ctiServerEvents/process.js
+
5
−
3
View file @
d8faf86d
...
...
@@ -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();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment