Login

Metreos.Native.CiscoExtensionMobility.Login

Summary

Logs a user into a device with a device profile.

Usage

The Login action will log a user into a device using a device profile. The device profile can either already be associated with the user account, in which case the DeviceProfile action parameter need not be specified, or the action can explicitly specify a device profile that is not associated with the user.

Remarks

This action will invoke the Login Extension Mobility API method by communicating to the specified Cisco Unified Communications Manager node.

Action Parameters
Parameter Name.NET TypeDefaultDescription
AppId *System.StringThe name of a user configured in Cisco Unified Communications Manager that has the necessary permissions to invoke methods on the Extension Mobility service.
AppCertificate *System.StringThe password of the user specified by AppId.
UserId *System.StringThe user to log in the specified device.
DeviceName *System.StringThe name of the device, of the form SEPXXXXXXXXXXXX
DeviceProfileSystem.StringThe name of the profile to apply to the device. If not specified, then the UserId specified must already have a device profile associated with that account.
TimeoutSystem.Int32The amount of time in minutes to lease this device for. Once the amount of minutes has elapsed, the Extension Mobility service will log the user and accompanying device profile out of the device.
NoTimeoutSystem.BooleanFalseNoTimeout determines if Timeout should be respected. This field must be not be set to true if Timeout is specified. If this field is true, then the Extension Mobility service will not automatically log the user and accompanying device profile out of the device.
UrlSystem.StringThe URL for the Extension Mobility Service. This field should only be specified if the Extension Mobility Service is in a non-default location. This field is also completely ignored if any non-null value is specified as the CallManagerHost.
CallManagerHostSystem.StringThe IP address and port of a CallManager node with the Extension Mobility service running, in the form '[IP]:[Port]'. Note that the Extension Mobility service is on port 80 by default in 3.x/4.x, and on port 8080 by default in 5.x/6.x.
VersionMetreos.Native.CiscoExtensionMobility.CcmVersionUndefinedThe version of Cisco Unified Communications Manager. This version is used in conjuction with CallManagerHost to build the URL of the Extension Mobility Service. The possible values are described below:
other

Specifiy other if the Cisco Unified Communications Manager version is anything above 3.3.

v333

Specify v333 if the Cisco Unified Communications Manager version is 3.3.3, 3.3.4, or 3.3.5.

Undefined

This is the default value to when nothing is specified for the Version field. It is strongly recommended that this value not be used because the behavior is undefined as well.

Result Data
Parameter Name.NET TypeDescription
ErrorCodeSystem.Int32The Cisco-specific error code if this action fails If 0 is returned on failure, then the action was never able to communicate with CallManager
ErrorMessageSystem.StringA Cisco-specific error message returned by the Extension Mobility service. If it is null, then the action never communicated with CallManager

Branch Conditions 

Success

No description.

Failure

No description.