There are two methods supported by the Call JavaScript API, although there are two syntax options for calling the start() method.
Method | Returns | Description |
---|---|---|
start() | Void | Initiates the call that has been configured via the constructor function. The target telephone number must have been passed to the constructor function. |
start(telephoneNumber) | Void | Initiates the call that has been configured via the constructor function. The number must be in E.164 format. |
end() | Void | Terminates the call that has been initiated via .start() |