Search this Blog

Tuesday, June 29, 2010

How to update Bulk UDP in CUCM 7.1.3?

We have over 3000 User Device Profiles that need the User Hold MOH Audio Source field changed back to on CUCM 7.1.3. We need to update not the line but the device profile itself. How can we do a bulk update for UDPs?

Tips:

We can address this issue via the AXL API, or by directly updating the DB.

A rudimentary tool that can do this sort of thing can be found in the following link :

Essentially the input CSV file you would need would have two entries for each UDP:

updateDeviceProfile,name,UDPDAVE1234,networkHoldMOHAudioSourceId,2

updateDeviceProfile,name,UDPDAVE1234,userHoldMOHAudioSourceId,2

updateDeviceProfile,name,UDPSALLY1235,networkHoldMOHAudioSourceId,2

updateDeviceProfile,name,UDPSALLY1235,userHoldMOHAudioSourceId,2

etc

A lot of lines, but should be able to whip this up in Excel - by exporting all UDP names from CCM , or a subset, or whatever. It will be easier to create two files with one line for each UDP, and then search/replace networkHold for userHold, and run the two files separately.

Always do a single-line input file first to verify your spelling/results.

Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */