dial Phone Number
Dials a phone number, placing an audio call routed through the Sinch Voice V2 platform and terminated to the PSTN-network (Publicly Switched Telephone Network).
Return
A Call instance.
Parameters
The phone number to dial. The phone number should be given according to E.164 number formatting (http://en.wikipedia.org/wiki/E.164) and should be prefixed with a '+'. E.g. to dial the US phone number 415 555 0101, it should be specified as "+14155550101", where the '+' is the required prefix and the US country code '1' added before the local subscriber number.
Throws
If SinchClient is not started.
If phoneNumber is empty.
If missing a permission required to place a call.
Dials a phone number, placing an audio call routed through the Sinch Voice V2 platform and terminated to the PSTN (Public Switched Telephone Network).
Return
A Call instance.
Parameters
Phone number in E.164 format, including the leading + and country code, for example +14155550101.
Voice V2 phone dial options.
Throws
If SinchClient is not started.
If phoneNumber is empty.
If a permission required to place the call is missing.