I want to implement some IP phone services like weather.I use CCM5.
in the first time, I installed CiscoIPPS_SDK_V4.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:
please, im waiting for your help
thank you in advance
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://
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 http://127.0.0.1:81/CiscoIPServices/weather/ASP/weatherzipinput.asp?name=#DEVICENAME# but it doesn't work (the same message).
(sorry i don't understand what
127.0.0.1 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 10.0.0.1 and IIS is set to listen to port 81 then the right URL to set in CCM configuration is :
127.0.0.1 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.
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
If you look into the file weather.asp (the one yuo invoke to get data from Internet) you'll see this :
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.
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
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.
I tried a lot to make weather.asp parse the new url(other url"http://www.meteoma.net") 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