03-25-2014 04:18 AM - edited 03-18-2019 11:23 AM
We're on CUCM 10. Can someone please describe how to use BAT (or any other method relevant to this) to create a new group of users that can use self-provisioning? The goal is to add a bunch of phones that can automatically be assigned a temporary DN when the phone is plugged in (taken care of with auto-registration), then the user can log in to the phone using self provisioning. I can do this manaully one by one and it works fine, but so far I can't figure out how to use BAT or some other way to add large groups of users that will be able to use self-provisioning.
Thanks
03-26-2014 10:32 AM
I got it! I finally was able to get the Primary Extension to show up for the users via BAT. It ended up taking 3 steps.
1 - Create the directory numbers
2 - Run BAT job to add users (Filled out the needed info on the 'Users' tab on the BAT spreadsheet and then did 'Insert Users' BAT job in CUCM with the CSV file I got from the User tab on the spreadsheet)
3 - Used the 'Update Users' tab on the spreadsheet and only filled in the User ID, Primary Extension and User Profile fields and ran another BAT job to Update Users.
The important thing to know for the Primary Extension field in step 3 is that you can't just enter the number. You have to enter the number plus the partition that DN is in. For example, if my number was 65555 and the partition for that DN is PT_EXT_NUMBERS, I would have to enter the number like this in the Primary Extension field: 65555 in PT_EXT_NUMBERS
Otherwise, I guess CUCM says that DN doesn't exist because there's no 65555 DN in the 'none' partition.
So anyway, I guess the reasoning for why this process works is...
I hope I didn't get my reasoning wrong for why it will work this way but not the other ways I tried it. Either way, it did work. I think I still have a couple other glitches to work out, but this is a good thing...some progress.
02-25-2016 10:56 PM
i did as below
created directory range. eg: 4001 - 4003
imported user with self provisioning number and primary extension( 4001 - 4003) using bat
and it worked.
when you add the primary extension in bat, make sure that these directory numbers are already created in CUCM.
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: