From Bright Pattern Documentation
No edit summary |
No edit summary |
||
| 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); | |||
: | 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 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; | |||
When the other party answers the call and the call is connected, the following event will be raised: | |||
public event CallConnectedCallback callConnectedCallback; | |||
</translate> | </translate> | ||
Revision as of 01:24, 7 May 2019
<translate>= 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;
</translate>