From Bright Pattern Documentation
No edit summary |
Updated via BpDeleteTranslateTags script |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
= 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 ''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: | When the other party answers the call and the call is connected, the following event will be raised: | ||
public event CallConnectedCallback callConnectedCallback; | |||
Latest revision as of 04:02, 29 May 2024
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;