I need help getting the Caller ID to display correctly on the Ultra Status Page. I use a script to pull the last 5 entries and display them on the HS Webpage with no problem. I either get all the entries combined without the phone.gif icon or nothing at all. I would like to display the last 5 calls on the Ultra Status page like it displays on the HS webpage. Does anyone have an XSL page to do this?
Announcement
Collapse
No announcement yet.
Caller ID on Ultra Status Page
Collapse
X
-
willtTags: None
-
willt
Caller ID on Ultra Status Display
I finally figured out how to add a script to the asp page to get the caller ID to display on the status page. My problem is that when the page loads and the box with refreshing is in the center the caller ID shows. When the page finishes loading the caller ID information is gone. Does anyone have any ideas why the information only shows when the page is refreshed?
-
Not sure why the section disappears, but I sassume that your ASP results are getting replaced by whatever UltraStatus gets. Here's what I do...
I have 10 devices that store the last 10 numbers. They are type = Caller ID. I have an XSL file (ultra_view2_status_callerid.xsl) that grabs devices of the Caller ID type. To make the XSL, just make a copy of the ultra_view2_status_devices.xsl file and change the line that containsCode:xsl:if test="TYPE = 'Lamp Module'"
Code:xsl:if test="TYPE = 'Caller ID'"
Code:set objDivElement = document.all.divDevices Call LoadDiv("ultra_view2_status_devices.xsl", objDivElement)
Code:set objDivElement = document.all.divCallerID Call LoadDiv("ultra_view2_status_callerid.xsl", objDivElement)
Code:div id="divDevices" style="height:auto;" overflow="auto"
Code:div id="divCallerID" style="height:auto;" overflow="auto"
Last edited by independentpete; December 5, 2005, 07:55 PM.
Comment
-
willt
I already have a script to display the last 5 (or whatever I specify) calls under a single house code in the HS GUI. I would prefer to make this work if possible. I am attaching my asp and xsl file for review. I had to change the file type to a .txt to upload. Look in the name to see the original extension. I have already updated the status.txt file to add the divCalls line. I hope someone can help figure this out.
Comment
-
At first glance, in your ultra_view2_status.asp, you have a line that calls div id="divCalls" style="height=115; overflow: auto;". This retrieves the info from the ultra_view2_status_calls.asp. In your ultra_view2_status_calls.asp, you have it getting all devices where the type = 'XP3S-IW (Relay Switch)'. I'm assuming that 'XP3S-IW (Relay Switch)' is not the device type you use for your caller ID. What I think is happening is that there are no devices of that type and so that's why it's clearing the stuff that your ASP brings in. What happens if you try commenting the div id="divCalls" style="height=115; overflow: auto;" line and the closing tag for that same div?
Comment
-
willt
Comment