callPSTN
callPSTN(number: string
, callerid: string
):
Start an outgoing call to the specified PSTN number. Calls are more expensive than 20 cents per minute and calls to Africa are blocked by default for security reasons. The method can trigger the CallEvents.Failed event in 60 sec, see the session limits for details.
Parameters
number:
string
PSTN number to start a call to in international format (E.164)
callerid:
string
CallerID of the caller that will be displayed to the callee. Whitespaces are not allowed. A valid phone number that can be used to call back is required. Following phone numbers can be used:
Returns
type: