09-17-2021 01:32 PM
Normally when we provision users, it's 1-3 as they they are onboarded, and as we configure the Mac for a physical phone and a CSF device for Webex Teams app, we update the Directory Numbers 3 fields "description", "alerting name", and "ascii alerting name".
We're onboarding a new site and have to setup 400+ users, but they will not be receiving physical phones, just Webex teams for remote. I have used a bulk file to setup all the csf devices and it works great. However I realized the DN description's were not updated as we would have normally configured that during out manual Mac/physical phone setup portion. Caller ID and all that is fine, but the bulk doesnt seem to touch the top portion of the Directory Number configuration.
I am familiar with Bulk > Phones > Add/Update Lines > Update Lines, however this is more for setting 1 setting across multiple DN's, like the External Phone Number Mask or Voice Mail Profile.
How can I update multiple DN's but with unique entries, like ext 2120, Description "Bobby x2120", Alerting name "Bobby", etc.
09-17-2021 10:46 PM
Use export/ import option.
Details mentioned on below link.
09-18-2021 06:05 AM
I did a webinar for Cisco last year on BAT and one example job I demonstrated was using Export-Import to customize the Description field for devices. You can use the same process (customizing different fields) to make the changes you want.
Below is a link to the webinar. What you are looking for begins at around 1:01:10.
Take a look and let me know if you have any questions.
Community Live video- CUCM Bulk Administration Tool: Practical Things You Can Use Every Day
Maren
11-21-2024 06:39 AM
Had a look into the video and hopefully I have not missed this while watching it but: how can existing phones be assigned a different dn?
I noticed that for instance if I try to assign the DN "2300" in Partition "PT-Office" to the phone SEP0123456789 and such DN 2300 in PT-Office already exists, throughout the "Insert Phone" BAT job, it will fail with:" Cannot insert or update pattern. A DN exists with the same pattern and partition" error.
Is there a way to replace the DNs of a number of phones with already existing DNs via BAT?
11-21-2024 07:46 AM
I replied in the BAT Webinar thread. If you are doing an "Insert" job, CUCM wants only new objects (phones and DNs).
I think you may be able to use Phones > Add/Update Lines > Add Lines to accomplish what you are looking for. I've not used that particular tool, but it is logical. (And all of the other places I looked at require unique objects...so here's hoping.)
You may run into trouble if the Shared Line is Line 1, as the phone would need to be built without a Line 1. But the Update Lines may get around that. I just don't know for sure.
Give it a try and let us know what you find or if you run into trouble. If that is the case, I recommend that you start a new thread describing your environment, what you are trying to accomplish, and what issue(s) you've run into. (Rather than commenting on this older thread.)
Maren
11-22-2024 02:04 AM
Thanks for replying to my question.
After some testing I think I have found a reasonable way to get done what I would like to do, which is assigning an already existing DN to a phone.
Does not matter if such DN was already assigned to another phone (which would make it a shared line) or unassigned.
Based on my testing you can do this by the Insert Phone feature but you should make sure that the txt file include at least one field of the Device-DN association (there is a specific SQL table for that).
In other words: if you only include Device Name + Directory Number fields, Insert Phone will try to write a new Directory Number into the db which cause a "duplicate record" error.
If you instead include Device Name + Directory Number fields + a Device-DN association field Insert Phone will just create a new bindinding in the specific SQL table.
The Device-DN association field must be properly filled-in (e.g. an External Phone Number Mask empty will probably trigger the "duplicate error").
Probably the easiest way is to include another Device-DN field like 'Caller Name 1' (which can be 't' or 'f' and is then easy to fix in case needed).
Finally, an example of a txt to be used as Insert Phone could be:
Device Name, Directory Number 1, Route Pattern 1,Caller Name 1
SEP000000000000,2300,PT-Office,t
With the above described txt I managed to remove DN 2500 from the phone SEP000000000000 and to assign to it the DN 2300.
Hope this helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide