Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Automating CiscoIPPhoneExecute push

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
New Member

Re: Automating CiscoIPPhoneExecute push

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?

New Member

Re: Automating CiscoIPPhoneExecute push

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!

Silver

Re: Automating CiscoIPPhoneExecute push

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

New Member

Re: Automating CiscoIPPhoneExecute push

hi,

i always get this error:

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

thx jochen

New Member

Re: Automating CiscoIPPhoneExecute push

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

New Member

Re: Automating CiscoIPPhoneExecute push

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.

804
Views
0
Helpful
6
Replies
CreatePlease login to create content