cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
346
Views
0
Helpful
2
Replies

Update IP phone UDP using BAT

mmoulson1
Level 4
Level 4

Hi all,

 

Sorry if this has been asked before but I think it’s finding a way to phrase the question that makes it difficult to search for!

 

I’m planning to migrate from CUCM 8 to CUCM 11. EM is currently used and most user just leave their phones logged in 24/7.

 

Obviously I can export the phones and UDP’S from v8 to import into v11.

 

My question is, is there any way to update the association between the phones and UDP’s?

 

I can look on the current cluster “Actively Logged In Devices” and see the current associations.

 

What I’m trying to avoid is a weekend migration and 500 people coming into work on Monday morning and facing phones that are logged out and not knowing what to do!

 

Screen shot below of a phone with current logged in profile "UDP_IT.TEMP2" so it’s clear what I’m talking about!

 

Thanks in advance as always.


Matty

1 Accepted Solution

Accepted Solutions

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

There's an EM API that you can use to export what user is logged in where and also to log them in.

I wrote an app that can do this for you - basically drop the users out to a CSV; you can then log them all out and in on the target cluster (assuming all the usernames/profile names/phone names are the same on the new cluster of course). App is here: http://www.ipcommute.co.uk/cisco-ucm/11-phone-operations-manager.html

Alternatively you can export the list of users from CUCM - joining tables up with a SQL query around the extensionmobilitydynamic table to get current logins. You can then use Excel to mock up a lot of HTTP calls using CURL, and call the EM login URL sequentially to log in each user. A little fiddly if you aren't accustomed to those tools

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

View solution in original post

2 Replies 2

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

There's an EM API that you can use to export what user is logged in where and also to log them in.

I wrote an app that can do this for you - basically drop the users out to a CSV; you can then log them all out and in on the target cluster (assuming all the usernames/profile names/phone names are the same on the new cluster of course). App is here: http://www.ipcommute.co.uk/cisco-ucm/11-phone-operations-manager.html

Alternatively you can export the list of users from CUCM - joining tables up with a SQL query around the extensionmobilitydynamic table to get current logins. You can then use Excel to mock up a lot of HTTP calls using CURL, and call the EM login URL sequentially to log in each user. A little fiddly if you aren't accustomed to those tools

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hi Aaron,

Many thanks for steer on this I think I’ve managed to get it doing what I needed.

Cheers


Matty