Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

UCCX Call Detail in script

Version is UCCX 8.5 Premium

I am creating a script which will offer the caller the choice to complete a survey after the call. The script gathers information about the caller and call details and send the data in an HTTP Post to an offsite company.

I can successfully gather caller information and send the HTTP Post, what I am having trouble with is getting the 'call start time' and 'call end time', and the 'supervisor name' of the agent that handled the call.

The HTTP Post is being sent as soon as the agent connects so the placement in the script may be wrong also.

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super Bronze

HiYou aren't going to be able

Hi

You aren't going to be able to collect the call 'end' time at the point you connect it to the agent.

If it's a post call survey, you'll be running it at the end of the call. If the agent diverts the call (or with a voice action) back to the survey script, that script will need to pull the details of the original call. 

One method might be to retrieve the call ID (like so: https://supportforums.cisco.com/discussion/10899071/retrieving-nodeid-sessionid-seqnum-within-uccx-scripting), tag it to the call with set ent data, send it to the agent, and then when the call returns to your survey script use that data to read the information from the UCCX DB. If I recall correctly, polling the UCCX HR DB from UCCX is 'unsupported' so you might need to put an external server in that can read the data, or maybe just insert a record to a DB on that external server containing the call ID, customer input and so on. That external server can then upload the data to your third party at it's leisure, and the CCX scripting would be simpler.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
3 REPLIES
Super Bronze

HiYou aren't going to be able

Hi

You aren't going to be able to collect the call 'end' time at the point you connect it to the agent.

If it's a post call survey, you'll be running it at the end of the call. If the agent diverts the call (or with a voice action) back to the survey script, that script will need to pull the details of the original call. 

One method might be to retrieve the call ID (like so: https://supportforums.cisco.com/discussion/10899071/retrieving-nodeid-sessionid-seqnum-within-uccx-scripting), tag it to the call with set ent data, send it to the agent, and then when the call returns to your survey script use that data to read the information from the UCCX DB. If I recall correctly, polling the UCCX HR DB from UCCX is 'unsupported' so you might need to put an external server in that can read the data, or maybe just insert a record to a DB on that external server containing the call ID, customer input and so on. That external server can then upload the data to your third party at it's leisure, and the CCX scripting would be simpler.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
New Member

Thanks Aaron,It appears that

Thanks Aaron,

It appears that call 'end time' being an option may not be necessary to send to the third party, but is there any way to pull the 'supervisor name or Id' in the script?

 

Dan

Super Bronze

HiYou'd need to pull that

Hi

You'd need to pull that from the UCCX HR DB. The 'resource' and 'supervisor' tables are joined by the 'team' table, you'd query those.

Aaorn

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
222
Views
0
Helpful
3
Replies