06-24-2003 08:12 AM - edited 03-13-2019 12:28 AM
Is there any way of automating the process of pushing the asp page to the phone? I do not want to show the webpage and the submit button. I would like the submit process to be done automatically. I would appreciate any help on this. Thanks.
Here is the sample code that I got from another conversation
<%@ Language=VBScript %>
<%Option Explicit%>
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM action="http://user:pass@ip_addr_of_phone/CGI/Execute" Method="POST">
<TEXTAREA NAME="XML" Rows="6" Cols="100">
<CiscoIPPhoneExecute>
<ExecuteItem Priority="0" URL="http://10.0.0.1/test/asp">
</CiscoIPPhoneExecute>
</TEXTAREA>
<INPUT TYPE=SUBMIT VALUE="Submit"/>
</FORM>
</BODY>
</HTML>
07-15-2003 12:21 PM
What is the call flow that you are looking to achieve? At what point in the call are you want to push to the phone? Or is this not necessarily tied to a call?
07-25-2003 10:57 AM
Did you ever figure this out? I'm trying to do the same also. I was thinking of using something equivalent of socket programming and just send the HTTP POST request to the phone without using the form. Is this what you did?
Also, does the form work for you? I tried creating a form similar to the one you posted but when I send it, I get a "Page cannot be displayed" page back while the phone doesn't seem to have received anything.
If you can help (or anybody else out there), it'll be greatly appreciated. Thanks!
07-25-2003 12:17 PM
I've got a windows script (jscript) that does this, if that would help. Obviously, it would only work on windows (runs in the WSH - windows scripting host). You could also accomplish this in VB or any other language...
07-28-2003 02:33 AM
hi,
i always get this error:
only 4 errors are explained in the cisco documentation! any idea's?
thx jochen
08-04-2003 04:33 AM
Hi!
Yes, its posible to use sockets to connect to RomPager Cisco IP Phone server to post HTTP request, for automating push to Cisco IP Phone 7960/7940.
I have scuuessfully implemented this.
Cheers!
Kamal
08-04-2003 08:49 PM
This script, when run from a web browser, will push another page to a phone and play a sound automatically (no submit button to press). You have to change the ip addresses, username, and password in this script to reflect your own configuration. Replace the URL that is pushed to the phone with your own file. The pushed filename does not have to be an xml file, that is just what I used.
<%@ Language=VBScript %>
Hope this helps.
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: