cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
241
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: kirk moren on 05-01-2010 04:01:39 PM
I produced a web page that is similar to Cisco IP Phone Communicator that allows me to demonstrate the IP phone services from a web page for those who don't yet have the Cisco phones or the new services.    It's basically a web page that uses Ajax to drive post to CGI/Execute for various keys (Key:KeyPad1, Key:Services, Key:KeyPadStar, etc.) and then gets the results using CGI/Screenshot, after which the image is stored on the web server side and then refreshed using DHTML (document.all('tdimage').style.backgroundImage = "url(images/phone/refresh/" + resptext + "Screenshot.bmp)";).  The variable resptext is the name of the newly created image on the server side.
 
Given that background, the demonstrations go well except when it comes time to using an input field (CiscoIPPhoneInput).   Typically when using the phone, you would for example hit 5 three times to enter the letter L, however, when using the web software above, I can't find a way to emulate this input.   I though SendDigits might work but this is viable during an active call or stream.   We have 7945Gs and 7975Gs here that don't have a software keypad and I'm unsure how to allow alphabetic input for CiscoIPPhoneInput fields from the web page emulator?
 
Thanks in advance

Subject: RE: Alphabetic Input Key Stroke Simulation using CiscoIPPhoneExecute
Replied by: David Staudt on 05-01-2010 05:30:35 PM
The Key:KeyPadx URI should result in the same action as if the button was physically pressed.  I assume you have a physical IP phone (or IP Communicator) in your lab acting as backend for this simulation - what do you see on the screen there when you send keypress URIs?  I would expect to see the alpha entry options cycling through..?  If you immediately grab a screenshot, do you see this cycling?  If all that is as expected, then your user would need to press the '5' button 3 times for 'L' as described.  Timing/delay issues may make this tricky - if so, perhaps you can have an 'alpha entry' mode in your app that converts a typed in 'L' into 3 consecutive Key:Keypad5 requests spaced by a short delay...?
 
There is no way to directly send an 'L' character to the input field...

Subject: RE: Alphabetic Input Key Stroke Simulation using CiscoIPPhoneExecute
Replied by: kirk moren on 05-01-2010 10:49:02 PM
I had thought about using KeyPad and sending multiple ExecuteItems in a CiscoIPPhoneExecute but was hoping for something easier.    However, I did implement that and it works.   For example, the letter 'e' requires Key:KeyPad3 to be sent twice as ExecuteItems (priority 0) in a single CiscoIPPhoneExecute but it simulates the input as hoped.  The only caveat is that a letter Z requires 9 to be pressed four times and a CiscoIPPhoneExecute can only accomodate three ExecuteItem URIs.   In short, it works for all but the letter z and s.

Subject: RE: Alphabetic Input Key Stroke Simulation using CiscoIPPhoneExecute
Replied by: David Staudt on 05-01-2010 11:44:43 PM
Glad to hear it works.  I'm slightly surprised that using multiple ExecuteItems like that works...I was thinking of sending separate Execute requests serially (which it sounds like you'll need to do for 'z' and 's'.) 

Subject: RE: Alphabetic Input Key Stroke Simulation using CiscoIPPhoneExecute
Replied by: Manas Varma on 05-05-2011 09:24:00 AM
Hi David,

  Can you please suggest , how can we send Execute Requests Serially, as you stated . I have a similar scenario where I am passing these letters/numbers for which I have to press that more than  3 times.

Thanks
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links