Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vendors:cisco:uc:finesse [2019/07/19 09:16]
gerardorourke
vendors:cisco:uc:finesse [2020/05/15 12:14] (current)
gerardorourke [Call History Gadget]
Line 1: Line 1:
 ====== Finesse ====== ====== Finesse ======
  
 +===== Bulk Create Reason Codes on CCE 12.X =====
 +[[vendors:​cisco:​uc:​finesse:​bulk-create-reason-labels]]
 +
 +===== Gadgets =====
 +  *https://​developers.google.com/​gadgets
 +  *[[vendors:​cisco:​uc:​finesse:​gadgets|My Gadgets]]
 +  *https://​developers.google.com/​gadgets/​docs/​overview
 +  *[[https://​developers.google.com/​gadgets/​docs/​reference#​makerequest|Gadget MakeRequest]]
 +  *[[vendors:​cisco:​uc:​finesse:​GadgetCodeSnippets|Gadget Code Snippets]]
 +  *[[https://​opensocial.atlassian.net/​wiki/​spaces/​OSD/​pages/​527239/​Gadgets.io+v0.9|More OpenSocial Gadget Docs]]
 +  *https://​developer.cisco.com/​site/​finesse/​
 +  *https://​community.cisco.com/​t5/​contact-center/​third-party-gadget-height/​td-p/​3481350
 +  *https://​api.jquery.com/​html/​
 +
 +===== Links =====
 <wrap tip>RTMT available on finesse - https://​FQDN:​8443/​plugins/​CcmServRtmtPlugin.exe</​wrap>​ <wrap tip>RTMT available on finesse - https://​FQDN:​8443/​plugins/​CcmServRtmtPlugin.exe</​wrap>​
  
-====== Links ====== 
 ==== Sample Code ==== ==== Sample Code ====
 https://​github.com/​CiscoDevNet/​finesse-sample-code\\ https://​github.com/​CiscoDevNet/​finesse-sample-code\\
Line 129: Line 143:
  
 =====Decrypt HTTPS traffic from UC Servers using wireshark==== =====Decrypt HTTPS traffic from UC Servers using wireshark====
 +==== Private Keys ====
 http://​tech.yanatm.com/?​p=1213\\ http://​tech.yanatm.com/?​p=1213\\
 +<​code>/​usr/​local/​platform/​.security/​tomcat/​keys/</​code>​
  
 ==== HTTP Method Used==== ==== HTTP Method Used====
Line 192: Line 208:
   * {{ :​vendors:​cisco:​uc:​clicktocall_gerry_v1.zip |make Call allowed when in HOLD state}}   * {{ :​vendors:​cisco:​uc:​clicktocall_gerry_v1.zip |make Call allowed when in HOLD state}}
  
-====Gadget Caching====+=====Gadget Caching====
 + 
 +Clear Caching by  
 +  * restarting 'Cisco Finesse Tomcat'​  
 +  * use the CLI command **utils webproxy cache clear shindig** to clear the Shindig cache. 
 +  * Pass a "​nocache"​ parameter in the URL to clear the cache.\\
  
-Clear Caching by restarting 'Cisco Tomcat ' (Cisco Finesse Tomcat on UCCX)\\ 
-or pass a "​nocache"​ paramter in the URL to clear the cache.\\ 
 Example:\\ Example:\\
-  ​* http://​server?​nocache +    ​* http://​server?​nocache 
-  * http://​server/​desktop?​nocache +    * http://​server/​desktop?​nocache 
-  * http://​server/​desktop/​container?​nocache+    * http://​server/​desktop/​container?​nocache
  
  
Line 287: Line 306:
  
 Reset user interface password Reset user interface password
 +</​code>​
 +
 +==== Finesse Gadget - Call Variables ====
 +https://​community.cisco.com/​t5/​contact-center/​finesse-screen-popup-for-only-inbound-calls/​m-p/​3999895#​M10632
 +
 +<code javascript>​
 +var callvars = new Array(); ​ // the callvars array of callvariables ​
 +callvars = dialog.getMediaProperties();​
 +
 +var callType = callvars.callType;​
 +clientLogs.log('​handleNewDialog():​ callType='​ + callType);
 +
 +var callState = dialog.getState();​
 +clientLogs.log('​handleNewDialog():​ callState='​ + callState);
 +
 +var callVariable = callvars["​callVariable9"​];​
 +clientLogs.log("​handleNewDialog():​ callVariable9="​+callvars["​callVariable9"​]);​
 +</​code>​
 +
 +
 +
 +===== Upgrading to CCE 12 =====
 +
 +You need to manually configure the Reason codes and WrapUp Strings on CCE when you upgrade to CCE 12.
 +Here is how to get all the Reason codes from Finesse:
 +
 +==== All Reason Codes ====
 +<code javascript>​
 +https://​ucce-finesse-a.lab2.purplepi.ie/​finesse/​api/​ReasonCodes?​category=NOT_READY
 +https://​ucce-finesse-a.lab2.purplepi.ie/​finesse/​api/​ReasonCodes?​category=LOGOUT
 +</​code>​
 +
 +==== All Wrap Ups ====
 +<​code>​
 +https://​ucce-finesse-a.lab2.purplepi.ie/​finesse/​api/​WrapUpReasons
 +</​code>​
 +
 +===== Example Finesse URL Parameters =====
 +<code javascript>​
 +container=default&​
 +mid=0&
 +nocache=1&​
 +country=US&​
 +lang=en&​
 +view=default&​
 +refresh=86400&​
 +up_id=5551002&​
 +up_order=128&​
 +up_country=US&​
 +up_language=en&​
 +up_locale=en_US&​
 +up_host=ucce-finesse-a.lab2.purplepi.ie&​
 +up_hostPort=443&​
 +up_extension=12022&​
 +up_xmppDomain=UCCE-FINESSE-A.lab2.purplepi.ie&​
 +up_pubsubDomain=pubsub.UCCE-FINESSE-A.lab2.purplepi.ie&​
 +up_restHost=ucce-finesse-a.lab2.purplepi.ie&​
 +up_mobileAgentMode=undefined&​
 +up_mobileAgentDialNumber=undefined&​
 +up_scheme=https&​
 +up_localhostFQDN=UCCE-FINESSE-A.lab2.purplepi.ie&​
 +up_localhostPort=8082&​up_teamId=5000&​
 +up_teamName=Team_01&​up_clientDriftInMillis=219&​
 +up_systemAuthMode=NON_SSO&​
 +up_compatibilityMode=false&​
 +up_toasterNotificationTimeout=8&​
 +up_CCDContainer=true&​
 +up_externalServerHost=https%3A%2F%2Fucce-finesse-a.lab2.purplepi.ie%3A443&​up_deploymentType=UCCE&​
 +up_peripheralId=5000&​
 +up_messages=%7B%22select.agent.message%22%3A%22Select+an+Agent+from+Team+Performance+Gadget%22%7D&​
 +st=john.doe%3Ajohn.doe%3Aappid%3Acont%3Aurl%3A0%3Adefault&​
 +url=https%3A%2F%2Fucce-hds-a.lab2.purplepi.ie%2Freports%2Fgadgets%2FScreenPop1%2FScreenPop.xml%3Fbanana%3Dtrue
 +</​code>​
 +
 +===== Finesse - getMediaProperties - CCE Call Variables =====
 +<code javscript>​
 +var callVariables = dialog.getMediaProperties();​
 +</​code>​
 +
 +==== Example CCE Variable List Retrieved ====
 +<code javascript>​
 +callVariable1
 +callVariable2
 +callVariable3
 +callVariable4
 +callVariable5
 +callVariable6
 +callVariable7
 +callVariable8
 +callVariable9
 +callVariable10
 +user.media.id
 +user.microapp.ToExtVXML[0]
 +user.microapp.ToExtVXML[1]
 +user.microapp.ToExtVXML[2]
 +user.microapp.ToExtVXML[3]
 +user.microapp.ToExtVXML[4]
 +user.microapp.FromExtVXML[0] ​
 +user.microapp.FromExtVXML[1] ​
 +user.microapp.FromExtVXML[2] ​
 +user.microapp.FromExtVXML[3] ​
 +user.microapp.app_media_lib
 +user.microapp.caller_input
 +user.cvp_server_info
 +DNIS
 +callType
 +dialedNumber
 +outboundClassification
 +queueNumber
 +queueName
 +callKeyCallId
 +callKeyPrefix
 +</​code>​
 +
 +==== Call History Gadget ====
 +<code xml>
 +    <tab>
 +        <​id>​myHistory</​id>​
 +        <​icon>​history</​icon>​
 +        <​label>​finesse.container.tabs.agent.myHistoryLabel</​label>​
 +             <​columns>​
 +               <​column>​
 +                 <​!-- The following gadgets are used for viewing the call history and state history of an agent. -->
 +                     <​gadgets>​
 +                       <​gadget>​https://​my-cuic-server:​8444/​cuic/​gadget/​LiveData/​LiveDataGadget.jsp?​gadgetHeight=280&​amp;​viewId=5FA44C6F930C4A64A6775B21A17EED6A&​amp;​filterId=agentTaskLog.id=CL%20teamName</​gadget>​
 +                       <​gadget>​https://​my-cuic-server:​8444/​cuic/​gadget/​LiveData/​LiveDataGadget.jsp?​gadgetHeight=280&​amp;​viewId=56BC5CCE8C37467EA4D4EFA8371258BC&​amp;​filterId=agentStateLog.id=CL%20teamName</​gadget>​
 +                       </​gadgets>​
 +                </​column>​
 +              </​columns>​
 +           </​tab>​
 </​code>​ </​code>​