Skip to main content

SignalWire.Relay.Calling.CallDevice.PhoneParams

This object represents the parameters specific to a phone device.

Constructor

The only constructor is the default constructor, properties should all be assigned by initializer or after construction.

Parameters

None

Examples

Basic Example

CallDevice device = new CallDevice
{
Type = CallDevice.DeviceType.phone,
Parameters = new CallDevice.PhoneParams
{
ToNumber = "+1XXXXXXXXXX",
FromNumber = "+1YYYYYYYYYY",
}
};

Properties

PropertyTypeDescription
FromNumberstringThe source phone number in E164 format.
ToNumberstringThe destination phone number in E164 format.
TimeoutstringThe maximum time in seconds to wait for a call to begin.

Methods

None

Events

None