cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1408
Views
0
Helpful
4
Replies

Run UCCX Script after end call

mahdi7293
Level 1
Level 1

Hello Everyone

 

Can i do some steps in my script, after end call?

In other words, i want to call a url for each step in a call. for example, i do it in begining of script, in selected step (in Select Resource step) and in step that call connects. i need a way to call this url after end call, too.

is there any way?

 

Thanks

1 Accepted Solution

Accepted Solutions

Yes, I have steps that are done after call is completed, but it does require a loop and a good bit of custom code and a database to store the information.

So each call that is created, I have an XML lookup for the dialog and record all of the XML into a database via POST, and in the connected step, I have a GoTo a separate section that performs an XML lookup on that database via XML API and GET. If the variable returns 0, I run a subscript then goTo End, otherwise wait 10 seconds, then loop back to the XML check. It gets heavy on the UCCX Max Step count, but so far has been working. Its not 100% real time, because of the step count, but it serves my purpose.

View solution in original post

4 Replies 4

Mike_Brezicky
Cisco Employee
Cisco Employee
You can perform some actions after the call is connected. In my scripts, we have a third party gadget to show a visual list of calls in queue. When the call is connected, the script has a GoTo to a clean up section to remove the call from the visual list, a couple other clean up activities, then GoTo End happens. Be careful not to do to many though.

Thanks Mike for your reply.

I know how to do it in connected step, but i need to do some actions after end call. did you do it so?

Yes, I have steps that are done after call is completed, but it does require a loop and a good bit of custom code and a database to store the information.

So each call that is created, I have an XML lookup for the dialog and record all of the XML into a database via POST, and in the connected step, I have a GoTo a separate section that performs an XML lookup on that database via XML API and GET. If the variable returns 0, I run a subscript then goTo End, otherwise wait 10 seconds, then loop back to the XML check. It gets heavy on the UCCX Max Step count, but so far has been working. Its not 100% real time, because of the step count, but it serves my purpose.

Thanks Mike.

I do it as you guide through creating a loop and using "Get Reporting Statistics". any time the agent be placed in work state during loop, action will be done.