cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1239
Views
0
Helpful
1
Replies

Which table of CUCM DB store the IP address of IP Phones?

yuexp0929
Level 1
Level 1

Hello All 

       I'd like to run SQL query to get  the IP address of IP Phone like this, but "lastknownipaddress" is empty. 

       select d.name, d.description, rd.datetimestamp,rd.lastknownipaddress from device as d left join registrationdynamic as rd on rd.fkdevice = d.pkid where d.name like "SEP%"

       Do you know which table of CUCM DB store the IP address of IP Phones?

 

 

           

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

For CUCM versions 12.5SU2+, see the `registrationdynamic` table.

For versions prior to that, IP/registration state are not stored in the database; you will need to explore the Serviceability Risport SOAP API for this info: https://developer.cisco.com/docs/sxml/#!risport70-api-reference

View solution in original post

1 Reply 1

dstaudt
Cisco Employee
Cisco Employee

For CUCM versions 12.5SU2+, see the `registrationdynamic` table.

For versions prior to that, IP/registration state are not stored in the database; you will need to explore the Serviceability Risport SOAP API for this info: https://developer.cisco.com/docs/sxml/#!risport70-api-reference

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: