cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
86
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: James McHugh on 20-04-2011 02:02:41 PM
Hi all,
I am developing an application to send text pages to the Cisco 7925 using XML.  One issue I have run into is how to determine the IP address of a phone that I want to send a message to if I only know the name. Do I need to use AXL to query Call Manager each time I need to get the IP? It seemed in some of the docs I read that using AXL was not for high volume which this could potentially lead to. Is there any other way to determine the IP address? I am using C# in Visual studio 2010 . Thanks
 

Subject: RE: Determining the IP address of a phone
Replied by: NIGEL WARBURTON on 20-04-2011 02:08:19 PM
SNMP will give you the information that you need (name to ip address resolution).

Subject: RE: Determining the IP address of a phone
Replied by: James McHugh on 20-04-2011 02:15:00 PM
I guess I should be clearer. I do not know the DNS name of the phone, I know the Cisco name as in SEP002333417581 . I didn't think that was available via SNMP?

Subject: RE: Determining the IP address of a phone
Replied by: NIGEL WARBURTON on 20-04-2011 02:15:55 PM
Yup, SEP000011112222 is available in SNMP for sure.

Subject: RE: Determining the IP address of a phone
Replied by: William Coyle on 20-04-2011 02:29:03 PM
How does one get the SNMP information? Is there sample code?

tx,
--Bill

Subject: RE: Determining the IP address of a phone
Replied by: Chikeobi Njaka on 20-04-2011 02:29:08 PM
Yup, SEP000011112222 is available in SNMP for sure.

I have always found that sending XML to the phone is best done via the sendData CiscoTerminal method. That way, you don't need to know the IP address of the phone and you don't have to mess around with SNMP...

Subject: RE: New Message from Richard Siebels in IP Phone Services (IPPS) - IP Phone
Replied by: James McHugh on 20-04-2011 03:31:37 PM
Hi Richard, that's what I figured I might need to do. Wasn't sure though if
hitting on the Call manager server to get the IP was a good idea if it might
happen a few hundred times a day. I will try that though. Thanks



________________________________

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Wednesday, April 20, 2011 2:59 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Richard Siebels in IP Phone Services (IPPS) - IP Phone
Services Questions: RE: Determining the IP address of a phone



Richard Siebels has created a new message in the forum "IP Phone Services
Questions":

--------------------------------------------------------------
The way we do it is straight from the IPPS admin guides. We use the RISport of
CallManager via a SOAP call to get the IP address. You can send a executeItem
command in XML and have the phone then initiate the Service URL needed to get
your page data, or any other application you want to initiate.
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/375839
1>

or simply reply to this email.



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Subject: RE: Determining the IP address of a phone
Replied by: James McHugh on 20-04-2011 02:39:49 PM
I'd rather not get into SNMP unless I have to. Has anybody done that from .NET? I'd rather not have to reinvent the wheel for this tiny piece of the project.

Subject: RE: Determining the IP address of a phone
Replied by: Richard Siebels on 20-04-2011 02:59:02 PM
The way we do it is straight from the IPPS admin guides. We use the RISport of CallManager via a SOAP call to get the IP address. You can send a executeItem command in XML and have the phone then initiate the Service URL needed to get your page data, or any other application you want to initiate.

Subject: RE: Determining the IP address of a phone
Replied by: Richard Siebels on 20-04-2011 04:02:33 PM
Using the RISport seems to be very efficient. We do have sites where we are doing a lot of queries and we have limited the number of hits on the server by caching IPs in our system for a period of time. If we get a failed attempt then we will query for the current IP and update our data then resend. The other thing to remember is that RIS only returns 100 records at a time so if you are sending a page to a couple hundred phones you will need to query multiple times for a page. This is where the caching (storing in local app database) really pays off.
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:

Quick Links