Hello everyone, in this article you can find out how to delete unused / unassigned internal directory numbers (DNs) defined on Cisco Unified Communications Manager (Callmanager, CUCM).
When a DN defined in CUCM is removed or updated from the device (eg phone), or when a phone is deleted, the corresponding DNs are not removed from the CallManager database. These DNs remain in the database as Unassigned DNs.
DNs that remain idle on the CUCM occasionally cause problems such as inability to forward calls and failed calls, and it seems that there is no cause at first glance , it usually takes a lot of time to fix the problem. In order to avoid these situations, the best thing to do is to delete the unused DNs from the system. You can do this by following the procedure below:
Note: In some cases, unused DNs can also be used to forward the call to voicemail or another destination (CAll Forward All). For this reason, you should check the DNs listed while you are doing this, just in case you do not have headaches in the future 🙂
1.Login to the CUCM Administration page and select Route Plan Report from Call Routing menu:

2. Select Unassigned DN from the Find menu and click Find:

3. Click Select All to select all of the DNs listed and clik “Delete Selected”, then confirm the dialog box:

That is all. Extension numbers that are no longer used are deleted from the CUCM database. You can also follow this procedure in the following video: