05-02-2014 11:26 AM - edited 03-16-2019 10:39 PM
I'm currently working on an environment where we still have some legacy users running on Unity. I'd like to migrate these users to Unity Connection, but I'm not sure which users are still using the legacy Unity voicemail profile. Is there some sort of report or query I can use to build a list of users still configured for our old voicemail environment?
Solved! Go to Solution.
05-02-2014 02:42 PM
You could run something like this from CLI:
run sql select np.dnorpattern,np.description,vmp.name from numplan as np left join voicemessagingprofile as vmp on np.fkvoicemessagingprofile=vmp.pkid
You can also filter for just a specific VM profile name:
run sql select np.dnorpattern,np.description,vmp.name from numplan as np left join voicemessagingprofile as vmp on np.fkvoicemessagingprofile=vmp.pkid where vmp.name = 'VoicemailProfileName'
05-08-2014 11:51 AM
run sql select np.dnorpattern as directorynumber,rp.name as Partition,np.description,vmp.name as voicemailprofile from numplan as np left join voicemessagingprofile as vmp on np.fkvoicemessagingprofile=vmp.pkid left join routepartition as rp on np.fkroutepartition=rp.pkid where vmp.name = 'VoicemailProfileName'
I'd suggest learning to use the CUCM data dictionary and learning some SQL as this can be a powerful tool for a lot of things- http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cucm/datadict/8_0_1/datadictionary_801.pdf
05-02-2014 01:10 PM
Use BAT to export line info and sort on the VM profile field.
05-02-2014 02:42 PM
You could run something like this from CLI:
run sql select np.dnorpattern,np.description,vmp.name from numplan as np left join voicemessagingprofile as vmp on np.fkvoicemessagingprofile=vmp.pkid
You can also filter for just a specific VM profile name:
run sql select np.dnorpattern,np.description,vmp.name from numplan as np left join voicemessagingprofile as vmp on np.fkvoicemessagingprofile=vmp.pkid where vmp.name = 'VoicemailProfileName'
05-05-2014 01:57 PM
This is exactly what I was looking for! Thanks!
05-08-2014 11:44 AM
Is there any chance you could expand the query to include the DN partition? The second one, in which you could filter by VMP.
05-08-2014 11:51 AM
run sql select np.dnorpattern as directorynumber,rp.name as Partition,np.description,vmp.name as voicemailprofile from numplan as np left join voicemessagingprofile as vmp on np.fkvoicemessagingprofile=vmp.pkid left join routepartition as rp on np.fkroutepartition=rp.pkid where vmp.name = 'VoicemailProfileName'
I'd suggest learning to use the CUCM data dictionary and learning some SQL as this can be a powerful tool for a lot of things- http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cucm/datadict/8_0_1/datadictionary_801.pdf
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: