Readme - Post Call Ticket Entry Application

This App is designed to allow for an Agent to trigger an http app upon disconnect that 
lets them enter a data field and submit it as a web form. The submit passes the sessionID and 
sequence numer to the app to allow for it to be written to the ccdr record. 

This script is offered “AS-IS”. While the script is functional in its delivered form, has been tested, and can be used as is, CISCO DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, relating to the script. You may use this script at your own risk, provided you agree that Cisco shall have no liability for damages of any kind, including, but not limited to direct, incidental or consequential damages, relating to your use of the script. You and you alone are responsible for final deliverables to your customers.    

Key Points:
CRS sends the SessionID/Sequence number to CAD via Enterprise Data.
A Workflow is set to execute an instance of IE and call a jsp.
The jsp is hosted on the CRS Tomcat port 8080.
The jsp retrieves the sessionID/Seq number and presents a form to the browser.
The Agent Enters a ticket number and presses submit.
The CRS script is triggered with the ticket number and SessionID/Sequence Number.
It then does a DB Write to insert the ticket into the CCDR. Then sends a response back to the browser.
The jsp has a close statement so it doesn't display the confirmation/failure response.
Instead, it closes the browser.

Deployment:
Unzip to wfavvid folder.

Additional Steps for deployment:
Tomcat Port - Make sure that the CRS Tomcat is running on 8080. If not update the server.xml entry in:
c:\program files\wfavvid\tomcat\conf
<Parameter name="port" 
value="8081"/>

where value=port number.


DSN:
The DB steps in the script require that the DB Subsystem be added and that a corresponding DSN be entered 
in ODBC. The dsn name is ticket and must have access to DB_CRA_CCDR on the CRS.


Enterprise Data and ICD app - icd_Ticket.aef
2=sessionID
3=Sequence
252=ticket

Workflow in Desktop Admin:
In Desktop Administrator select Workflow.
In events, select Dropped.
Add a Rule called ticket and add an action called ticketEntry. 
Select launch external application nd enter:

C:\Program Files\Internet Explorer\IEXPLORE.EXE http://192.168.0.52:8081/ticket.jsp?
Move sessionID over to the arguments column.

Select enable Rule, Any Condition is true, and for a condition, put sessionID is not empty.
Select OK.

