callPSTN
callPSTN(number: string
, callerid: string
, parameters: ):
Starts an outgoing call to the specified phone number. Calls that 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
phone number to start a call to in the international format (E.164)
callerid:
string
CallerID of the caller that is displayed to the user. Spaces usage is not allowed. A valid phone number that can be used to call back is required. Following phone numbers can be used:
parameters:
OptionalOptional. Call parameters
Returns
type: