I am currently working on creating an XML file from stats in the CSQ's. Based upon what I have read, due to the file being updated quite often, I believe I have 3 choices:
1) Write/overwrite to the customer directory (havent figured this one out), also thought about trying to update it in the /default/webapps/ROOT folder as I can have an app on the phone look directly there (like this one, dont know if possible).
2) Write the xml file to an external server where it is retrieved (believe to be my best option, havent figured this out either)
I have written the script, transformed it properly (I believe) but unable to write anywhere
The script and xml template are attached, although the script (after the stats collection) may be in a tattered state. Any help would be greatly appreciated, thank you.
Platform is uccx 8.0.2 (was on 7.02, 8.02 is a necessary interim hop to 8.6)
License is Premium
OK, let's do it this way: remove the last three steps - (Set, Set, Write) and place a Send HTTP Response step as the last step (well, I mean, before the End step), with Document = statsData.
Then insert a Set HTTP Contact Info step before the Send HTTP Response step, click the Headers tab, then the Add... button. We'll need the following headers:
Name: "Content-Type", Value: "text/xml" - so the IP phone knows it's not plaintext but XML;
Name: "Refresh", Value: "3" - for 3 seconds.
Save it, refresh it, create an application for it, add a HTTP Trigger, then use the http://:9080/