cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1559
Views
0
Helpful
2
Replies

IP Phone CGI/ScreenShot

laynehoo79
Level 1
Level 1

Are there limitations as to how many times a /CGI/Screenshot image cip request can be made to a single phone within a given time period? say per second?

Thanks

2 Replies 2

ibatterbe
Level 1
Level 1

I've found it to about once a second, but the limitation seemed to be the number of HTTP requests per second, not the frequency of reading the screenshot.

I have a perl script I wrote that retrieves the screenshot and provides a clickable image of the phone so you can press the buttons etc - they're POSTed to the phone with an CiscoIPPhoneExecute XML object, and if I try and read the screenshot back too quickly after posting the key press, it will fail with an HTTP/500

What I did to work around this was just sleep for 1 second and try again (up to a maximum of 10 times) if I get a HTTP/500 back from the phone. seems to work pretty well.

What logic can be used to setup a clickable image of the phone?