/mcp{Boolean} True if routable, and false if the value is not routable. getState() Retrieves the state of the user in the media. Returns {String} The current (or last fetched) state of the user in the media. isInterruptible() Retrieves whether the user is interruptible in the media. Returns {Boolean} True if the user is interruptible, and false if the user is not interruptible. isInWorkState() Retrieves whether the user is in work state in the media. Returns {boolean} True if the media is in work state, and false if it is not in the work state. isLoggedIn() Retrieves whether the user is in any state except LOGOUT in the media. Returns {boolean} True if the agent is in any state except LOGOUT in the media. isRoutable() Retrieves if the user is routable in the media. Returns {Boolean} True if the user is routable, and false if the user is not routable. login(params) Logs the agent into the media. Parameters Required Description Type Name Yes An media object with options. Object params Yes The maximum number of dialogs that are allowed in the media. For more information, see getMaxDialogLimit(), on page 494. String -->maxDialogLimit Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 496 Cisco Finesse JavaScript APIs Media