<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Extension Mobility API Questions</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=1062473" />
  <subtitle />
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=1062473</id>
  <updated>2013-06-19T09:26:18Z</updated>
  <dc:date>2013-06-19T09:26:18Z</dc:date>
  <entry>
    <title>RE: Remote login without PIN</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16300844" />
    <author>
      <name>Tommy N</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16300844</id>
    <updated>2013-06-18T15:19:56Z</updated>
    <published>2013-06-18T13:08:48Z</published>
    <summary type="html">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://&lt;appID&gt;:&lt;appPassword&gt;@&lt;ip_address&gt;:&lt;port&gt;/emapp/emappservlet?device=&lt;device&gt;&amp;userid=&lt;userid&gt; 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</summary>
    <dc:creator>Tommy N</dc:creator>
    <dc:date>2013-06-18T13:08:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Tommy N in Extension Mobility API (EMAPI) - Extens</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16267519" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16267519</id>
    <updated>2013-06-17T16:01:51Z</updated>
    <published>2013-06-17T16:01:51Z</published>
    <summary type="html">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.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-06-17T16:01:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Tommy N in Extension Mobility API (EMAPI) - Extens</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16267387" />
    <author>
      <name>Tommy N</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16267387</id>
    <updated>2013-06-17T15:54:50Z</updated>
    <published>2013-06-17T15:54:50Z</published>
    <summary type="html">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.</summary>
    <dc:creator>Tommy N</dc:creator>
    <dc:date>2013-06-17T15:54:50Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Tommy N in Extension Mobility API (EMAPI) - Extension</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16235838" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16235838</id>
    <updated>2013-06-16T19:12:41Z</updated>
    <published>2013-06-16T19:12:41Z</published>
    <summary type="html">use the

https://&lt;server&gt;:8443/emservice/EMServiceServlet

and use a user that has emproxyrights (appid)

  &lt;request&gt;

&lt;appInfo&gt;
        &lt;appID&gt;appid&lt;/appID&gt;

        &lt;appCertificate&gt;apppasswd&lt;/appCertificate&gt;

  &lt;/appInfo&gt;
&lt;login&gt;

&lt;deviceName&gt;SEP003094C25B15&lt;/deviceName&gt;
&lt;userID&gt;john&lt;/userID&gt;
&lt;deviceProfile&gt;UserDevProf&lt;/deviceProfile&gt;
&lt;exclusiveDuration&gt;
          &lt;time&gt;60&lt;/time&gt;
&lt;/exclusiveDuration&gt;

&lt;/login&gt;
&lt;/request&gt;




On Sat, Jun 15, 2013 at 1:01 AM, Cisco Developer Community Forums &lt;
cdicuser@developer.cisco.com&gt; wrote:

&gt; Tommy N has created a new message in the forum "Extension Mobility API
&gt; Questions": --------------------------------------------------------------
&gt; Hello,
&gt;
&gt; I know a login can be peformed as follows:
&gt; http:&lt;address&gt;:&lt;port&gt;/emapp/EMAppServlet?device=&lt;device&gt;&amp;userid=&lt;userid&gt;&amp;seq=&lt;pin&gt;
&gt;
&gt; However, I want to login without using a pin. Specifically, I want to use
&gt; my administrator account and perform a bulk login (login several users),
&gt; and of course I do not know their pins.
&gt;
&gt; How can I achieve this?
&gt;
&gt; Thank you
&gt; --
&gt; To respond to this post, please click the following link:
&gt; http://developer.cisco.com/web/emapi/community/-/message_boards/view_message/16204284or simply reply to this email.</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2013-06-16T19:12:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: EM API with EMCC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15670218" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15670218</id>
    <updated>2013-05-28T22:48:48Z</updated>
    <published>2013-05-28T22:48:48Z</published>
    <summary type="html">Unfortunately EMCC is not supported currently for application interface - it is on the working to-do list, but not yet committed.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-05-28T22:48:48Z</dc:date>
  </entry>
  <entry>
    <title>EM API with EMCC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15663114" />
    <author>
      <name>Mark Johnson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15663114</id>
    <updated>2013-05-28T20:51:14Z</updated>
    <published>2013-05-28T20:51:14Z</published>
    <summary type="html">Is there a way to leverage EMCC via the API?  It doesn't seem to work via the doDeviceLogin method.
 
Thanks,
Mark Johnson</summary>
    <dc:creator>Mark Johnson</dc:creator>
    <dc:date>2013-05-28T20:51:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Entension Mobility Testing</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6477173" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6477173</id>
    <updated>2012-09-11T20:08:28Z</updated>
    <published>2012-09-11T20:08:28Z</published>
    <summary type="html">or do a deviceUserQuery with a dummy phone name</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2012-09-11T20:08:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: Entension Mobility Testing</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6474893" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6474893</id>
    <updated>2012-09-11T18:22:54Z</updated>
    <published>2012-09-11T18:22:54Z</published>
    <summary type="html">If you add a bogus 'xml' parameter on the request, it looksl ike it returns at least a readable response:
 
Request:
http://10.88.131.141:8080/emservice/EMServiceServlet?xml=test
 
Response:
&lt;pre id="line1"&gt;Error: request type could not be determined:
test&lt;/pre&gt;</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2012-09-11T18:22:54Z</dc:date>
  </entry>
  <entry>
    <title>Entension Mobility Testing</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5914955" />
    <author>
      <name>JAMES DEPHILLIP II</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5914955</id>
    <updated>2012-06-23T23:08:35Z</updated>
    <published>2012-06-23T23:08:35Z</published>
    <summary type="html">Does anyone know a good way to test and verify that Extension Mobility is up and operational? I do not want to perform a query but unlike AXL it does not return a message like "The AXL Web Service is working and accepting requests.
 Use HTTP POST to send a request." All I get is a HTTP 500 error...</summary>
    <dc:creator>JAMES DEPHILLIP II</dc:creator>
    <dc:date>2012-06-23T23:08:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5081563" />
    <author>
      <name>Simon Machielse</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5081563</id>
    <updated>2012-01-31T09:07:48Z</updated>
    <published>2012-01-31T09:07:48Z</published>
    <summary type="html">or you can use an ExtensionMobility single-sign-on solution like ALM. where a user loggs off his phone simultaniously with the PC.</summary>
    <dc:creator>Simon Machielse</dc:creator>
    <dc:date>2012-01-31T09:07:48Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Breno Lucena in Extension Mobility API (EMAPI) - Exten</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5079493" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5079493</id>
    <updated>2012-01-30T21:40:41Z</updated>
    <published>2012-01-30T21:40:41Z</published>
    <summary type="html">no, line and device css are concatenated, and depending on how the systems is setup (traditional or device/line) you might want to change the line css instead of device css

it's good to understand how your environment is setup, the SRND has a good chapter on it;
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/8x/dialplan.html#wp1150926

regards
Sascha</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2012-01-30T21:40:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5078864" />
    <author>
      <name>Breno Lucena</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5078864</id>
    <updated>2012-01-30T17:32:30Z</updated>
    <published>2012-01-30T17:32:30Z</published>
    <summary type="html">David,

A "Calling Search Space" associated with a device profile overrides a "Calling Search Space" associated to a Line?

Regards.

Breno Lucena</summary>
    <dc:creator>Breno Lucena</dc:creator>
    <dc:date>2012-01-30T17:32:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: logging user with Extension Mob. API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5036914" />
    <author>
      <name>Breno Lucena</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5036914</id>
    <updated>2012-01-20T18:54:37Z</updated>
    <published>2012-01-20T18:54:37Z</published>
    <summary type="html">Hello Dan,

To gather information from your user, you should use the IP Phone API.

Once you have it, you´ll be able to build XML definitions to input data and pass it as a parameter to a ASP/ASPX application endpoint.

Example:

                    &lt;CiscoIPPhoneInput&gt;
                        &lt;Title&gt;Your Application Name&lt;/Title&gt;
                        &lt;Prompt&gt;...&lt;/Prompt&gt;
                        &lt;URL&gt;http://[your_app_endpoint]/&lt;/URL&gt;
                        &lt;InputItem&gt;
                            &lt;DisplayName&gt;Pin&lt;/DisplayName&gt;
                            &lt;QueryStringParam&gt;UserPin&lt;/QueryStringParam&gt;
                            &lt;DefaultValue&gt;&lt;/DefaultValue&gt;
                            &lt;InputFlags&gt;TP&lt;/InputFlags&gt;
                        &lt;/InputItem&gt;                        
                    &lt;/CiscoIPPhoneInput&gt;

I hope it helps you!

Regards.

Breno Lucena   :D</summary>
    <dc:creator>Breno Lucena</dc:creator>
    <dc:date>2012-01-20T18:54:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4922921" />
    <author>
      <name>Breno Lucena</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4922921</id>
    <updated>2011-12-21T15:29:57Z</updated>
    <published>2011-12-21T15:29:57Z</published>
    <summary type="html">Hello David,

[b]Thank you very much, I really appreciate your reply![/b]

My new challenge is discover how to implement it in .NET C#. :cold:

Best Regards.

Breno P. Lucena</summary>
    <dc:creator>Breno Lucena</dc:creator>
    <dc:date>2011-12-21T15:29:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4919569" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4919569</id>
    <updated>2011-12-20T18:58:21Z</updated>
    <published>2011-12-20T18:58:21Z</published>
    <summary type="html">You can create an IP phone service for the phone that utilizes the AXL provisioning API to make this work.
 
- Create an IP Phone Service where the user can use the phone  UI to request lock or unlock from the backend web service
- This web service could use the AXL request &lt;getPhone&gt; to retrieve the current Calling Search Space settings for the device, and save it
- Then use AXL &lt;updatePhone&gt; to modify the Calling Search Space to a more restrictive one.
- When the user requests an unlock, the reverse steps can be followed, restoring the saved CSS via &lt;updatePhone&gt;
 
http://developer.cisco.com/web/ipps/docs
http://developer.cisco.com/web/axl/docs</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2011-12-20T18:58:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4919547" />
    <author>
      <name>Breno Lucena</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4919547</id>
    <updated>2011-12-20T18:34:03Z</updated>
    <published>2011-12-20T18:34:03Z</published>
    <summary type="html">Hi David,

It's true, it is the default Extension Mobility Applicability.

We tried to sell it to the customer!!

Unfortunately, he has requested a feature that allows a logged user to lock/unlock his "Cisco IP Phone" using a PIN Number.

I've been researching for more information, but I'm stuck in the middle of the dozen APIs available.

I'll appreciate any information that guides me through my Cisco Development first steps.

Regards.

Breno P. Lucena</summary>
    <dc:creator>Breno Lucena</dc:creator>
    <dc:date>2011-12-20T18:34:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4919424" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4919424</id>
    <updated>2011-12-20T17:36:02Z</updated>
    <published>2011-12-20T17:36:02Z</published>
    <summary type="html">From your description, this sounds like basic Extension Mobility functionality as-is, no app required:
 
- Configure a phone to enable E/M
- Configure the base device profile (not logged in) with a Calling Search Space that is allowed to dial only 911 and the operator (for example)
- When a user logs into E/M, the CSS will change to that of the logged in user (e.g. allow outbound calls)</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2011-12-20T17:36:02Z</dc:date>
  </entry>
  <entry>
    <title>How to lock an IP Phone using a Extension Mobility Service?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4918944" />
    <author>
      <name>Breno Lucena</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4918944</id>
    <updated>2011-12-20T12:58:28Z</updated>
    <published>2011-12-20T12:54:58Z</published>
    <summary type="html">Hello Guys,
 
I need to develop an extension mobility service application to lock outbound calls on a "IP Phone".
 
Does anyone has useful information or a sample, or either, experienced this problem that could be able to share with us?
 
I´ll be glad to hear from you.
 
Regards.
 
Breno Lucena</summary>
    <dc:creator>Breno Lucena</dc:creator>
    <dc:date>2011-12-20T12:54:58Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Francois Leclair in Extension Mobility API (EMAPI) - E</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030159" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030159</id>
    <updated>2011-06-10T05:51:54Z</updated>
    <published>2011-06-10T05:51:54Z</published>
    <summary type="html">Hi,

Are you sending the request to the EM Api? (it looks like you are trying to parse this on a phone..??)

you need to POST the request xml from your application to;
https://&lt;server&gt;:8443/emservice/EMServiceServlet</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2011-06-10T05:51:54Z</dc:date>
  </entry>
  <entry>
    <title>First try at EM API...need your help !</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030561" />
    <author>
      <name>Francois Leclair</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4030561</id>
    <updated>2011-06-10T05:38:35Z</updated>
    <published>2011-06-10T05:38:35Z</published>
    <summary type="html">Hi team,
 
This is my first try at EM API and would need your help.  I'm trying to do the following command but I receive an error.
 
Would you know what I did wrong ?
 
Many thanks,
 
Francois
 
*******************************
 
&lt;request&gt;
     &lt;appInfo&gt;
          &lt;appID&gt;SunRay&lt;/appID&gt;
          &lt;appCertificate&gt;gemsoft&lt;/appCertificate&gt;
     &lt;/appInfo&gt;
     &lt;login&gt;
          &lt;deviceName&gt;SEP00169DEF0C7F&lt;/deviceName&gt;
          &lt;userID&gt;1234&lt;/userID&gt;
          &lt;deviceProfile&gt;User1&lt;/deviceProfile&gt;
          &lt;exclusiveDuration&gt;
               &lt;time&gt;60&lt;/time&gt;
          &lt;/exclusiveDuration&gt;
     &lt;/login&gt;
&lt;/request&gt;
 
 
This is the response I'm receiving :
 
&lt;CiscoIPPhoneText&gt;
    &lt;Title&gt;Login response&lt;/Title&gt;
    &lt;Text&gt;Login Unsuccessful&lt;/Text&gt;
    &lt;Prompt&gt;Login is unavailable (207)&lt;/Prompt&gt;
    &lt;SoftKeyItem&gt;
        &lt;Name&gt;Exit&lt;/Name&gt;
        &lt;URL&gt;SoftKey:Exit&lt;/URL&gt;
        &lt;Position&gt;1&lt;/Position&gt;
    &lt;/SoftKeyItem&gt;
&lt;/CiscoIPPhoneText&gt;
*********************************************

Francois
 </summary>
    <dc:creator>Francois Leclair</dc:creator>
    <dc:date>2011-06-10T05:38:35Z</dc:date>
  </entry>
</feed>

