Methods
(static) originate(companyId, serverAlias, destination, cli, extension, vars) → {Promise}
- Description:
Originate
Example
await originate.originate(1234, 'myServerName', '123456789', '1122334455', '160', {});
Parameters:
Name | Type | Description |
---|---|---|
companyId |
number | Company ID which originates the call |
serverAlias |
string | Server to send the call through |
destination |
string | Destination Phone Number |
cli |
string | CLI to send |
extension |
string | Internal Destination (Leg B) |
vars |
object | Extra Variables |
Returns:
- Type
- Promise