implementation of IP phone services

Unanswered Question
Aug 24th, 2008


I want to implement some IP phone services like weather.I use CCM5.

in the first time, I installed CiscoIPPS_SDK_V4[1].1.1 in which i found for this service in C:/CiscoIPServices/ASP/weather 4 codes. after that, I added this service in CCM5 in which i specified this URL:


my IIS is declared in port 81.

when opening this service with IP phone it displayed:

Authorization required!






please, im waiting for your help

thank you in advance


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
agiaccone Mon, 08/25/2008 - 00:39

In the service's URL set in the CCM configuration, you must provide the address of the server where the IP phone service is installed (your box in this case), not localhost, otherwise the phone will search for the service on itself (localhost).

The right URL is http://:81/CiscoIPServices/weather/ASP/weatherzipinput.asp?name=#DEVICENAME#



prettysali Tue, 08/26/2008 - 01:28

thanks alot for your reply

in the SDK documentation,I read that we must located this service in a server independent of the servers in CUCM,so i installed in a server which i created with IIS and i tried this URL but it doesn't work (the same message).

(sorry i don't understand what means)


agiaccone Tue, 08/26/2008 - 01:35

means the ip address of the server where you installed IIS and the IP Phone Services. is a fake ip address that means localhost, so, not having really changed nothing, you get the same message.

If the server which hosts the IP Phone Service has ip address and IIS is set to listen to port 81 then the right URL to set in CCM configuration is :



msabir Tue, 08/26/2008 - 05:19 and localhost only mean to access the web server on the local machine -- so this IP and host is not reachable externally (such as from an IP phone).

For weather alerts, you may want to look at PhoneTop Messenger as well. It pushes local weather alerts to Cisco phones and you can configure it based on event type (tornado, flood, etc), time of day, geographic area, etc.

prettysali Tue, 08/26/2008 - 15:36


I arrived to solve this probleme but i have another one:

as i tell you last time,the weather service contain 4 codes, so when i executed them and arrived to the last one it displayed:

Weather Service Error

un composant ActiveX ne peut pas creer un objet.


if you have an idea about this


agiaccone Tue, 08/26/2008 - 23:24

If you look into the file weather.asp (the one yuo invoke to get data from Internet) you'll see this :

new ActiveXObject("CiscoURLProxy.URLGrabber");

CiscoURLProxy is a COM ActiveX object used by the SDK examples to grab data from Internet.

You should install it before running the examples, setup and docs are in C:\CiscoIPServices\COMServers\CiscoURLProxy\

After the setup's complete you shouldn't see that message any more.



prettysali Fri, 08/29/2008 - 01:47


you're right,thx for your useful information.

when i execute these codes, I have 2 problems:

1- when i enter the zipcode,it displyed "Error:Not able to Access Service URL"

2- or when i choose to enter city and state code, i have "Error:Invalid input parameter"

I wonder if the URL exist in weather.asp are valid and get the same variables.

please, if you have an idea about this pb


agiaccone Fri, 08/29/2008 - 02:15

I've looked into the weather.asp code and I found that the URLs used to get the zip code from state and city and the one used to get the weather info based on the zip code are both not valid.

I've found these two valid urls, but you'll have to change the weather.asp code to make it parse correctly the new pages:

Weather forecast based on zip code :

Zip code lookup based on city/state :

terms within <> are the parameters to pass to the services.



prettysali Fri, 09/12/2008 - 14:34


I tried a lot to make weather.asp parse the new url(other url"") just by entering the city for example, but it doesn't work.

I didn't understand how i can extract the useful information from the code of web page.

please can you help me because if i understand this i can developp other services

thx for advance



This Discussion