From Bright Pattern Documentation
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<translate>= Making a call=
 
<translate>= Making a call=
 
 
The following method is used to [[agent-guide/HowtoMakeanInternalCall|make a call]]:
 
The following method is used to [[agent-guide/HowtoMakeanInternalCall|make a call]]:
 +
public ResultCode makeCall(string dnis, Service service, out ADAPI.Item outItem);
  
::''public ResultCode makeCall(string dnis, Service service, out ADAPI.Item outItem);''
+
Note:
 +
* The ''dnis'' parameter should not contain any non-numeric characters such as “:”, “+”, or “-”.
  
 
+
* The output parameter ''outItem'' corresponds to the new ACL item generated for the call.
The ''dnis'' parameter should not contain any non-numeric characters such as “:”, “+”, or “-”.
 
 
 
The output parameter ''outItem'' corresponds to the new ACL item generated for the call.
 
  
  
 
The following event will be raised when the call is dialed:
 
The following event will be raised when the call is dialed:
 +
public event CallDialingCallback callDialingCallback;
  
::''public event CallDialingCallback callDialingCallback;''
 
  
 +
When the other party answers the call and the call is connected, the following event will be raised:
 +
public event CallConnectedCallback callConnectedCallback;
  
When the other party answers the call and the call is connected, the following event will be raised:
 
  
::''public event CallConnectedCallback callConnectedCallback;''
 
  
  
<center>[[desktop-integration-api-net-version-tutorial/Services|< Previous]]  |  [[desktop-integration-api-net-version-tutorial/Transfers|Next >]]</center>
 
 
</translate>
 
</translate>

Latest revision as of 01:24, 7 May 2019

• 5.19 • 5.2 • 5.3 • 5.8

Making a call

The following method is used to make a call:

public ResultCode makeCall(string dnis, Service service, out ADAPI.Item outItem);

Note:

  • The dnis parameter should not contain any non-numeric characters such as “:”, “+”, or “-”.
  • The output parameter outItem corresponds to the new ACL item generated for the call.


The following event will be raised when the call is dialed:

public event CallDialingCallback callDialingCallback;


When the other party answers the call and the call is connected, the following event will be raised:

public event CallConnectedCallback callConnectedCallback;


< Previous | Next >