11-16-2012 06:39 AM - edited 03-16-2019 02:14 PM
Hey,
Does anyone know a script (C#, Java or PHP) that I can use to send an AXL message to Cisco Unified Communications Manager 6.0 to modify and propagate a new dns server ip address to all the phones conected to the communications manager?
Thank you.
Solved! Go to Solution.
11-16-2012 07:17 AM
The question is how do the phones get IP addresses? Thats the same way you will assign DNS to th phones. There is no other way to do it. You cant use AXL to assing DNS to phones. If the customer wants DNS ips on their phones, thn they need to add it to the DHCP scope, other wise let them know there is no other way to do it. Sometimes we need to educate the customer..This is one of those times
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
11-16-2012 07:25 AM
AXL is just for working with the CUCM database. The phone's DNS settings are not stored in the CUCM DB. (You can't seem them via CCMADMIN, for example)
You can use things like SNMP to interogate the phones for information. There is also a HTTP/XML interface to the phones too. I don't know if that allows updates. But if you're in such a locked down environment that DHCP isn't allowed, then you've probably had the phones web server disabled anyway.
GTG
11-16-2012 06:56 AM
Er, isn't this supplied to the phones via DHCP ??
GTG
11-16-2012 06:58 AM
Gordon is spot on! All IP related parameters are obtained either via DHCP or static assignment. DNS addresses should be part of the DHCP scope.
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
11-16-2012 07:11 AM
Unfortunately, the customer doesn't allow us to use any DHCP servers to do that.
I've seen some ways to request information from the CCUM regarding the cisco phones conected to it
So isn't there any way to modify the dns server ip address in all the cisco phones using a AXL message? Or using any other method besides having a dhcp server in the network?
Thank you.
11-16-2012 07:17 AM
The question is how do the phones get IP addresses? Thats the same way you will assign DNS to th phones. There is no other way to do it. You cant use AXL to assing DNS to phones. If the customer wants DNS ips on their phones, thn they need to add it to the DHCP scope, other wise let them know there is no other way to do it. Sometimes we need to educate the customer..This is one of those times
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
11-16-2012 07:34 AM
The HTTP interface for a cisco phone only shows the device's information (network configuration, statistics and logs), but it doesn't allow me to modify any information upon login like the ccum does.
11-16-2012 07:25 AM
AXL is just for working with the CUCM database. The phone's DNS settings are not stored in the CUCM DB. (You can't seem them via CCMADMIN, for example)
You can use things like SNMP to interogate the phones for information. There is also a HTTP/XML interface to the phones too. I don't know if that allows updates. But if you're in such a locked down environment that DHCP isn't allowed, then you've probably had the phones web server disabled anyway.
GTG
11-16-2012 07:27 AM
Yes they want to update the new ip info in all the cisco phones without using a dhcp server.
Thank you very much for your help !
11-16-2012 07:37 AM
Do you know if there's any way to get a phone's ip address information by sending an AXL message to the CCUM 6.0 with the phone's extension number?
Thank you.
11-16-2012 07:41 AM
You can't get a phone's IP Address from AXL. You have to use a seperate API called RIS (Real-time information) But this requires the device name of the phone. It can't use a phone number.
So you have to use AXL to get the device(s) associated with a phone number, then use RIS to get the IP address of the devices.
GTG
11-16-2012 07:45 AM
Can you please provide me an example on how to do that?
Thank you
11-16-2012 07:47 AM
Which bit ?
The AXL query to get device from phone number, or the RIS bit to get IP address from device name ? (or both..?)
GTG
11-16-2012 07:49 AM
On both please.
Thank you very much for your help I really appreciate.
11-16-2012 07:55 AM
And how much are you paying me to write your application
There are several ways to skin the AXL side of things, but it's actually quite a trivial thing to do. You really need to go and read the AXL docs. The AXL SDK includes some sample code on how to make a basic AXL call, and in this case, that is all you need.
For the RIS part, this is a standard question people ask, and there is sample code in the RIS SDK to do exactly this.
You probably want to look to take this to the developer forums. However, they do tend to be a bit quieter than over here...
GTG
11-16-2012 08:01 AM
Ok, thank you very much for your help.
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