From Bright Pattern Documentation
< 3.10:Desktop-integration-api-net-version-tutorial
Revision as of 20:27, 18 April 2016 by Sasha (talk | contribs) (Agent Login)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Agent Login

The AgentPlace object provides the following methods to log in to Agent Desktop for different phone device types:


  • for softphone (isSoftphone=true) or default phone (isSoftphone=false) option
public void loginOnDefaultPhone(string adHost, string loginId, string domain, string password, bool isSoftphone, bool force = false);
  • for internal phone (isInternal=false) or external phone (isInternal=false) option
public void loginOnHardPhone(string adHost, string loginId, string domain, string password, string phoneNum, bool isInternal, bool force = false);
  • for nailed connection (option "dial-in and keep line open")
public void loginOnVirtualPhone(string adHost, string loginId, string domain, string password, bool force = false);
  • for no phone option
public void loginNoPhone(string adHost, string loginId, string domain, string password, bool force = false);


After authentication, the following event will be raised to indicate whether the login is successful:

public event LoggedInCallback loggedInCallback;


The following method is used to log out:

public override ResultCode logout()


And the following event will be raised once logout is completed:

public event LoggedOutCallback loggedOutCallback;
< Previous | Next >