Ajay,
The AXL/SOAP API is only for config admin functions. It does not provide IP address information. If you are running 3.3(5) - 4.x then you can use devicelistx.asp on the CM. Which is a simple server-side script that will return a list of devices with IP address, registration status, etc.
If you are running CUCM 5.x or later then you need to use the RISPort API. See here:
http://www.netcraftsmen.net/resources/blogs/good-bye-devicelistx-asp-hello-risport.html
HTH.
Regards,
Bill
Please rate helpful posts