Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

HTML output document in UCCX

I am upgrading a customer from UCCX 7 to UCCX 9 and I have fixed all of the previous scripts so they will work with version 9 with the exception of an application that displays calls in queue on the agents phone.  The script basically gets the stats from the queue in question then puts them into an html file then uses the keyword transform step to convert the stat to a string so it can be read by the file.  I can then browse to http://ip of uccx:8080/name of html trigger.

I put the document in the document repository, made the script changes to reflect that on the new system and the web page cannot be found.  I am assuming that the scripting fundamentals for this is different in version 9 than it was in version 7 but I really do not know how.  Can anyone assist?

I did see a method that, in essense you create a template file, set a variable for that template file then set another document variable for the output html document, get the statistics then use the keyword transform document to get the information from the template and put it in the output document variable.  I cannot get this to work either so clearly I do not know what I am doing which is obvious as I am about as far from a UCCX scripting expert as you can get.

Thanks to anyone who can suggest anything, it would have been much easier if the original script just worked.

1 ACCEPTED SOLUTION

Accepted Solutions

HTML output document in UCCX

The listening port for HTTP triggers changed from 8080 to 9080 with the release of UCCX 8x.

https://supportforums.cisco.com/thread/2047469

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
8 REPLIES

HTML output document in UCCX

The listening port for HTTP triggers changed from 8080 to 9080 with the release of UCCX 8x.

https://supportforums.cisco.com/thread/2047469

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
New Member

HTML output document in UCCX

Thanks for that Anthony, once I made that change my application did in fact work however as I stated in the wrong thread, I need this to work for multiple queues.  Do you, or anyone know the bast way to make that happen?

HTML output document in UCCX

Do you need multiple queues showing on the same phones or a single queue on each phone but a different queue for different groups of phones?

If the former, then you need to consider how you are going to layout all that data on the screen.  Perhaps implement a menu for the phone user to navigate through different CSQs instead?

If the latter, then I would suggest constructing your URL on the phones to include a parameter which holds the CSQ name.

E.g.,  http://uccxserver:9080/httptrigger?csq=Sales_CSQ

Then, in your script, use the Get HTTP Contact Info step and under the Parameters tab, specify this paramter name to store it in a String variable, and then use that variable in your get reporting statistics steps.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
New Member

HTML output document in UCCX

The way it works now is when a call shows up in any one of five queues, it appears on the phone showing the calls in queue and the longest holding call plus the name of the application so there could be nothing on the phone, 5 queues showing or anything in between.  This worked perfectly under version 7 but does not work at all under 9.  Do you have any ideas? 

HTML output document in UCCX

I would need to see at a minimum the XML being delivered to the phone.

You can get it from one of twol ways:

  1. Open the same URL that the phone does, but in your browser, and then right click the page and select View Source
  2. A Packet capture of the HTTP 200 OK from UCCX to the phone

I may even need to see the script, but we'll hold off on that for the moment.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
New Member

Re: HTML output document in UCCX

                   So attached is the file.  The old method used an html forward step to the file, that does not work in version 9.  When I debug I get a file not found even though it is most definitely there.  If I use the send http response step, the webpage then displays the headers but nothing else.

New Member

HTML output document in UCCX

I actually got this to work, sort of.  I used the keyword transform step based on the file that I uploaded and transformed the keywords in the file to the variables in the script then sent the output to a doc_out variable.  I can browse to the address and I get what I want to get..however, now the phone service doesn't work.  When the phone goes to select the service I get a http 500 error.  Back when the file didn't work in the script, I could always get to the service..it didn't show anything but it got there.  What could possibly be wrong with this now?

HTML output document in UCCX

mark.watson@metavante.com wrote:

What could possibly be wrong with this now?

I really couldn't say without seeing more of your solution.

The file your attached is not what I was looking for.  I was looking for the results of the HTTP GET; I.e., the body of the HTTP 20 OK to the phone or your browser.

Also, the JSP page you supplied would never display correctly on a phone.  Phones have to receive a specific XML schema to render a page, and this is producing regular HTML.  In short, this is probably the wrong file.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
373
Views
0
Helpful
8
Replies
CreatePlease to create content