11-28-2020 06:13 AM
Is it possible to bulk add hunt pilots, hunt list and line groups? Either via spreadsheet or programmatically.
Solved! Go to Solution.
11-29-2020 10:12 PM - edited 11-30-2020 03:38 AM
By the look of this you probably used the check dependency option in the export. You don’t need to do that as long as you know what configuration items you would need to import to achieve your end goal. In your case that would be these lines.
CCM : master-10.5.2.12901-1.i386
File : linegroup
File : huntlist
File : huntpilot
You would need to be sure that the order of these lines are in the order of how you’d would configure this in the webUI. From experience you can not count on the export file to be accurate in this. In CM this is the order you'd do this.
11-28-2020 06:18 AM - edited 11-28-2020 08:19 AM
With axl script you can.
In GitHub u will find the basic script to connect with CUCM using axl.
refer the axl guide in DevNet portal and you can build your own script.
11-28-2020 07:05 AM
Its possible to do that with the import function of bulk admin. Do an export of these configuration items to get the format of the files for these and update the files with the new configuration. Then upload the new tar file to import the configuration.
11-28-2020 07:20 AM - edited 11-28-2020 07:26 AM
So do you have
to import the entire file or just a file with the new HP?
11-28-2020 08:31 AM
11-29-2020 06:27 AM
I`ll test this, I have many Hunts already in place, just wanted to make sure not to overwrite them and if I could export and then just import only the new one or export and add new and import all again.
11-29-2020 10:33 AM
Yes that’s is possible. You would use the export to get the correct format of the csv files in the tar file. Use this sequence to achieve what you want to do.
That should be pretty much what you would need to do.
Bonus information, there is a header text file in the tar file and the order of lines in that will influence the order of operation for the import. Make sure that it’s in the proper order for how you would configure this in CM admin webUI.
11-29-2020 04:03 PM
Thanks I`ll give this a try tomorrow. It looks like I have to include the header file which on export included a lot of dependency files, hoping I can edit the header file to include only the HP HL and Line Group files with new entries.
CCM : master-10.5.2.12901-1.i386
File : phone
File : gateway
File : deviceprofile
File : directorynumber
File : voicemailport
File : callmanagergroup
File : ctiroutepoint
File : huntpilot
File : partition
File : rdp
File : routefilter
File : linegroup
File : aargroup
File : callpickupgroup
File : css
File : huntlist
11-29-2020 10:12 PM - edited 11-30-2020 03:38 AM
By the look of this you probably used the check dependency option in the export. You don’t need to do that as long as you know what configuration items you would need to import to achieve your end goal. In your case that would be these lines.
CCM : master-10.5.2.12901-1.i386
File : linegroup
File : huntlist
File : huntpilot
You would need to be sure that the order of these lines are in the order of how you’d would configure this in the webUI. From experience you can not count on the export file to be accurate in this. In CM this is the order you'd do this.
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