dialPhone(params): Promise<Call> - See Call for more details.
Makes an outbound call to a PSTN number.
Parameters
Name
Type
Description
params
Object
-
params.from?
string
The party the call is coming from. Must be a SignalWire number or SIP endpoint that you own.
params.maxPricePerMinute?
number
The maximum price in USD acceptable for the call to be created. If the rate for the call is greater than this value, the call will not be created. If not set, all calls will be created. Price can have a maximum of four decimal places, i.e. 0.0075.
params.timeout?
number
The time, in seconds, the call will ring before it is considered unanswered.