02-20-2008 05:09 AM - edited 03-13-2019 05:00 PM
Hello,
I would like to know and how it is possible to send, via an application written in ASP or JSP, to the ip phone 7961 the command to put illuminate the "message" button everytime I need.
Can anyone share a sample code?
Thank you very much!!
02-20-2008 08:51 AM
hi,
you can send directly to the phone an ciscoipphoneexecute with the command dial:MWINumber like this :
8000 = MWI Number on my CCM
Regards
Rémy
02-21-2008 02:55 AM
Hello,
thank you very much!
You're very helpful!
But, can you send me an exemple of how make the connection, into the xml code, to the ip phone,please?
Sorry but it is the first time that I'm working on these things.
02-21-2008 04:12 AM
hello
On the file attached :
change : @ipphone whith the IP Phone @IP
change : MWINumber with the MWI ON Number
save changes. Rename the page in PhonePush.html (remove.txt)
Then on the CCM make a device association on a user and the IP Phone (corresponding on the @IP below)
open PhonePush.html with your IE or Firefox. verify XML tags and clic POST.
You should be ask for a user/pass which are those of the association you make.
Clic OK and see your phone.
Hope it Help
Rate this post
Remy (France)
02-21-2008 05:41 AM
Hello,
I've done the association on the CME
user1
12345
then I have created the following html sample code.
When I press the button I have returned a web page saying
Have you an idea?
Why?
The html code is:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml" >
02-21-2008 06:58 AM
Helo, I've done some more tests and I noticed that when I have to enter Username and Password, if i enter wrong values the uotput is always the same
I don't know why this value changed!
The ip phone are all configured with SCCP and the MWI ON value is set = 500 for ON
and 501 for OFF.
Very Strange!!
I can't understand why!
What do you think?
02-21-2008 07:58 AM
I've found the log on the web page of the ip phone, and inside it I can see this error:
ERR 16:31:42.251357 JVM: extractHostFromUrl() invalid hostname, url:
02-22-2008 02:01 AM
I've also tried your PhonePush.html and the result is the same I get the error:
I can't understand why!
My IP Phones are 7961 in SCCP mode.
I've configured on the CME the MWI ON number as 500 and MWI OFF number as 501.
It is very strange! It seems that something is not well configured or not present.
Suggestions?
02-26-2008 09:17 AM
From which browser do you run that page?
I've noted that for a while now, when I do it via IE7, I get a CiscoIPPhoneError as well, but when I do it via Firefox, things work out just fine.
02-27-2008 08:53 AM
Hello,
i've tried with both, IE7 and Firefox and the result is the same..it does not work :-(
02-27-2008 08:54 AM
Hello,
i've tried with both, IE7 and Firefox and the result is the same..it does not work :-(
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide