<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Customer is running UCCX 10.6(1) and we are doing some Finesse Desktop testing.  I have a customer requirement where we need to perform an http request action that points to the IP address of the PC that is logged into the Finesse Desktop. 
 The client PCs are running a custom application that is listening on port 5280 waiting for the http request to be sent to it.  The intent would be that when a call is answered, the workflow will run this http request action, the Finesse client’s PC would receive
 this http request and perform the function that the customer has written it to do.  But, I have confirmed via packet captures that Finesse http request actions are sent from the UCCX server, not from the Finesse Desktop client IP address.  I can’t just set
 the URL to point to 127.0.0.1 since the request is sent FROM the UCCX server, so I need to find a way to get the IP address of the client’s PC that is logged into the Finesse Desktop.  More specifically, I’m looking for a way for the UCCX script to call the
 Finesse API to hopefully retrieve the Finesse Desktop client’s IP address of the PC they are logged into, store that in an ECC variable, then reference that ECC variable in the URL such as this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="517" height="490" id="Picture_x0020_3" src="cid:image003.png@01D208A6.2ADE49D0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The closest I could find is here:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://developer.cisco.com/site/finesse/documents/finesse-javascript-library/">https://developer.cisco.com/site/finesse/documents/finesse-javascript-library/</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">which shows this:<o:p></o:p></p>
<p class="MsoNormal" style="line-height:11.25pt"><b><span style="font-size:10.0pt;font-family:"Courier New";color:#002EBE"><a href="https://developer.cisco.com/media/finesse-javascript-library-3.17.16/symbols/finesse.gadget.Config.html#localhostFQDN">localhostFQDN</a></span></b><span style="font-size:10.0pt;font-family:"Courier New";color:#002EBE"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">The localhost fully qualified domain name.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But, I’m not sure if this is what I need or how I’d even get this value pulled into a UCCX script.  Probably through some custom Java steps.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We’re migrating them off of CAD, and they currently use IPC Actions in Desktop Administrator, which point to 127.0.0.1 and pass in custom variables to their home-brewed application on the PCs.  But, it doesn’t look like Finesse lets me
 do this as easily as I had hoped.  Thoughts?<o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kevin</span><o:p></o:p></p>
</div>
</body>
</html>