[cisco-voip] Bulk Extension Mobility Login tools

Joseph Papesh netpappy at gmail.com
Tue Mar 8 21:39:49 EST 2011


Dana,

I used Excel to concatenate the various information into a line for each user, copied it to a text file, executed it from a Linux box, and captured the output into a file for review... I did this for like 300+ phones, and was able to create the file by dumping the current phones with logged in users, logging them out, and logging them back in... This worked on CUCM 7.1x for me during an upgrade...

#!/bin/sh
curl -v "http://<<CUCM IP>>/emapp/EMAppServlet?device=<<DEVICENAME>>&userid=<<USERID>>&seq=<<PIN>>"
sleep 5
curl -v "http://10.0.0.2/emapp/EMAppServlet?device=SEP000011112222&userid=jdoe&seq=12345"
sleep 5
...continues for all users

FYI - Here is the script I ran first to log everyone out...

#!/bin/sh
curl -v "http://<<CUCM IP>>/emapp/EMAppServlet?device=<<DEVICENAME>>&doLogout=true"
sleep .5
curl -v "http://10.0.0.2/emapp/EMAppServlet?device=SEP000011112222&doLogout=true"
sleep .5
...continues for all users

I hope this helps,
--Joe

On Mar 8, 2011, at 7:36 PM, Dana Tong wrote:

> Hi guy,
>  
> I’m after an application to remotely bulk login Extension Mobility profiles. I thought there was a pre-built application for sale but cannot recall the name.
> I had a look on www.voipintegration.com but unfortunately they do not have quite what I am after.
>  
> I’d like to feed an excel spreadsheet (csv) into an application with information like: DeviceName, UserID, DeviceProfileName    and be able to remotely login potentially 100’s or 1000’s of phones.
>  
> I know you can use the following URL to login phones with the Web Application username:
> http://www.<server>/emservice/jsp/Tools/sampleloginapp.jsp
>  
> However I’d like to be able to bulk login phones instead of just one at a time.
>  
> Thanks for any advice you guys might have. It’s ok if it is a paid application.
>  
> Cheers
> Dana
>  
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110308/98a1fc78/attachment.html>


More information about the cisco-voip mailing list