cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Remote login without PIN

648
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Tommy N on 14-06-2013 08:00:56 AM
Hello,

I know a login can be peformed as follows: http://<address>:<port>/emapp/EMAppServlet?device=<device>&userid=<userid>&seq=<pin>

However, I want to login without using a pin. Specifically, I want to use my administrator account and perform a bulk login (login several users), and of course I do not know their pins.

How can I achieve this?

Thank you

Subject: Re: New Message from Tommy N in Extension Mobility API (EMAPI) - Extension
Replied by: Sascha Monteiro on 16-06-2013 02:12:41 PM
use the

https://<server>:8443/emservice/EMServiceServlet

and use a user that has emproxyrights (appid)

  <request>

<appInfo>
        <appID>appid</appID>

        <appCertificate>apppasswd</appCertificate>

  </appInfo>
<login>

<deviceName>SEP003094C25B15</deviceName>
<userID>john</userID>
<deviceProfile>UserDevProf</deviceProfile>
<exclusiveDuration>
          <time>60</time>
</exclusiveDuration>

</login>
</request>




On Sat, Jun 15, 2013 at 1:01 AM, Cisco Developer Community Forums <
cdicuser@developer.cisco.com> wrote:

> Tommy N has created a new message in the forum "Extension Mobility API
> Questions": --------------------------------------------------------------
> Hello,
>
> I know a login can be peformed as follows:
> http:<address>:<port>/emapp/EMAppServlet?device=<device>&userid=<userid>&seq=<pin>
>
> However, I want to login without using a pin. Specifically, I want to use
> my administrator account and perform a bulk login (login several users),
> and of course I do not know their pins.
>
> How can I achieve this?
>
> Thank you
> --
> To respond to this post, please click the following link:
> http://developer.cisco.com/web/emapi/community/-/message_boards/view_message/16204284or simply reply to this email.

Subject: RE: Re: New Message from Tommy N in Extension Mobility API (EMAPI) - Extens
Replied by: Tommy N on 17-06-2013 10:54:50 AM
Hi,

I'm not sure how I would use that xml. I've only been passing parameters to the query string and logging in using the link. I'm building a web page to do these logins.

Subject: RE: Re: New Message from Tommy N in Extension Mobility API (EMAPI) - Extens
Replied by: David Staudt on 17-06-2013 11:01:51 AM
There is a formal web services API for Extension Mobility management by applications:

http://developer.cisco.com/web/emapi/docs

It's XML over HTTPS (though not quite SOAP or REST) so should be easily consumable everywhere.  As noted above it provides the ability to login to a device name on behalf of end users  by using an application user with 'E/M Proxy' permission added.

Subject: RE: Remote login without PIN
Replied by: Tommy N on 18-06-2013 08:08:48 AM
The sample java application in the link you provided shows it is possible. However, I think with javascript it is a bit different though.

I've tried: http://<appID>:<appPassword>@<ip_address>:<port>/emapp/emappservlet?device=<device>&userid=<userid> to login with no pin, but no luck. Maybe the appID and password needs to be included in the query string? Do you know what are all the possible query strings params or how I can edit them?

Thank you
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.