Hi
I've setup a "web call back" function in UCCX. The issue is the call back gets initiated as soon as user hits submit button. I want the call back made to customer once they've reached front of the queue. I get around this easy by computing position in queue for the caller whose just hit submit button. The JS code in my HTML goes like this
<form name="CBForm" method="POST" action="http://x.x.x.x:port/baseline"> (where baseline is name of my http trigger on uccx) On submit button I have <input type=button name=sbt value="Submit" onclick="go()"> .. and the go function is below
function go() {
document.CBForm.submit();
}
CCX script basically receives when user hits Submit. If this person is only caller in the queue no problem - everything works. However if this person is 2nd, 3rd or subsequent caller in web call back queue then I want to hold off executing the call redirect step because I want them in position # 1 before that happens. However, I've executed the http redirect step to web call back confirmation page in the UCCX script as I want front end person to know we've received the request and will call them back. Script however is going to continue running in background until they hit position 1 in queue and won't hit the 'END' part of the script yet.
The Problem is even though "Http redirect" step in the script has been executed - the actual web redirection on the front end to web call back confirmation page does not occur for the user. It doesn't occur unless & until the END line of the UCCX script hasn't been executed. UCCX needs to run the script in full before any redirection can occur ... So my user is essentially stuck on submit button awaiting response that it will not get within a reasonable time - it may take 5 or 10 or 20 minutes before that person becomes position 1 in queue .. User would think there's an error and close the page ...
I tried other steps like http forward and send http response in the UCCX script but same behaviour. Has anyone attempted web call back on Cisco UCCX ? appreciate any feedback on this .. thanks.