From Bright Pattern Documentation
Jump to: navigation, search
imported>Tracy
 
(Updated via BpDeleteTranslateTags script)
 
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);
Line 15: Line 15:
 
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;
 
 
 
 
</translate>
 

Latest revision as of 04:13, 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 >