02-06-2019 08:51 AM - edited 03-17-2019 02:04 PM
Anyone used this tool CUCM sampleloginapp.jsp to remotely login users? What should I put on the fields appid, device name, device profile, user id and password? I have tried different combinations but getting error:
<response><failure>
<error code="3">Application Authentication Error: Could not authenticate
</error></failure></response>
Solved! Go to Solution.
02-06-2019 10:52 AM
ok, finally figure it out: appid is ur admin username to login to cucm, password is password to login to cucm , dev profile and username related to user we need to login. Pin code will be taken from cucm database automatically.
http://cucm_ip/emservice/jsp/Tools/sampleloginapp.jsp
But if u have xxx numbers of users /phones then use curl script , on the windows install cygwin with curl -> create script and run it. THis is my way. Example of the script:
curl -v "http://cucm_ip/emapp/EMAppServlet?device=SEPxxxxx&doLogout=true"
sleep 5
curl -v "http://cucm_ip/emapp/EMAppServlet?device=SEPxxxxx&userid=xxxx&devProf=xxxx_8851&seq=pin_code"
sleep 5
here we go
02-06-2019 10:52 AM
ok, finally figure it out: appid is ur admin username to login to cucm, password is password to login to cucm , dev profile and username related to user we need to login. Pin code will be taken from cucm database automatically.
http://cucm_ip/emservice/jsp/Tools/sampleloginapp.jsp
But if u have xxx numbers of users /phones then use curl script , on the windows install cygwin with curl -> create script and run it. THis is my way. Example of the script:
curl -v "http://cucm_ip/emapp/EMAppServlet?device=SEPxxxxx&doLogout=true"
sleep 5
curl -v "http://cucm_ip/emapp/EMAppServlet?device=SEPxxxxx&userid=xxxx&devProf=xxxx_8851&seq=pin_code"
sleep 5
here we go
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