From Bright Pattern Documentation
Jump to: navigation, search
 
(Updated via BpDeleteTranslateTags script)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<translate>= Making a call=
+
= 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 ''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 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:
 
When the other party answers the call and the call is connected, the following event will be raised:
 
+
public event CallConnectedCallback callConnectedCallback;
::''public event CallConnectedCallback callConnectedCallback;''
 
 
 
 
 
<center>[[desktop-integration-api-net-version-tutorial/Services|< Previous]]  |  [[desktop-integration-api-net-version-tutorial/Transfers|Next >]]</center>
 
</translate>
 

Latest revision as of 04:02, 29 May 2024

• 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 >