Symptoms
In Prime Collaboration Assurance Build Version 12.1.80287 (12.1SP4ES2) does not display serial numbers randomly in inventory. This happens no matter what firmware, model, etc.
Solution
This is not a Cisco approved solution, I recommend doing it after a VM snapshot, just in case. Remember deleting the snapshot afterwards.
1. Reset registered phones in CUCM that doesn't display serial numbers in PCA
2. Logging in as root user and execute the following commands using SSH port 26:
3. Navigate to the /opt/emms/emsam/conf/ folder and edit the emsam.properties file.
4. Find the line com.cisco.nm.emms.devicetype.rediscovery = false and change the value from 'False' to 'True'.
5. Enter the following commands:
/opt/emms/emsam/bin/cpcmcontrol.sh status
/opt/emms/emsam/bin/cpcmcontrol.sh stop
/opt/emms/emsam/bin/cpcmcontrol.sh status
/opt/emms/emsam/bin/cpcmcontrol.sh start
/opt/emms/emsam/bin/cpcmcontrol.sh status
6. Once finished, go to PCA via Web
7. Go to Inventory > Manage Credentials > Select Profile Name > Discover CUCM nodes filtering the IP addresses of the CUCM nodes
8. After one and a half hours, the serial numbers will be displayed