cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1146
Views
0
Helpful
6
Replies

Automating CiscoIPPhoneExecute push

sthallik
Level 1
Level 1

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>

6 Replies 6

jshepard
Level 4
Level 4

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?

ashley.lin
Level 1
Level 1

hi sthallik@berbee.com,

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!

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...

hi,

i always get this error:

only 4 errors are explained in the cisco documentation! any idea's?

thx jochen

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

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 %>

http://username:password@ip_of_phone/CGI/Execute" Method="POST">

Hope this helps.

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: