Skip to main content

Forward to Phone

This node will allow you to forward the incoming call to another phone or SIP endpoint.

Output Node Connectors

NameDescription
SuccessCall is forwarded successfully. The connector will be triggered when the call is successfully forwarded to the phone number.
No AnswerCall is not answered. The connector will be triggered when the call is not answered by the phone number.
BusyCall is busy. The connector will be triggered when the call is busy.
DeclineCall is declined. The connector will be triggered when the call is declined.
ErrorAn error occurred. The connector will be triggered when an error occurs while forwarding the call.

Node Settings

Node SettingDescription
Default FromThe default phone number to use as the caller ID when forwarding the call.
Default TimeoutThe time in seconds to wait for the call to be answered before timing-out and either disconnecting the call or attempting a new number.

Default Value: 45 seconds.
Call State URLA webhook URL that will receive a POST request containing call details each time a Call State Event is triggered. You will need to choose which events you want listen for in the next field. If no events are chosen, the URL will receive no requests.
Call State EventsThe events that will trigger a POST request to the Call State URL.

Possible Values: created, ringing, answered, ended
Call NumbersOnly shows when multiple numbers are added.

A toggle option to change the behavior of the forwarding of the call. If set to Sequential, the call will be forwarded to the next number in the list if the previous number is busy, declined, or not answered. If set to Simultaneously, the call will be forwarded to all numbers in the list at the same time.

Possible Values: Sequential, Simultaneously

Phone Number Configuration

One or more phone numbers can be added to the node. Additional phone numbers can be added by clicking the Add Phone Number button. Depending on the Call Numbers property, the call will be forwarded to the next number in the list (Sequential) or to all numbers in the list at the same time (Simultaneously).

ParameterDescription
ToThe phone number or SIP endpoint to forward the call to.
FromThe phone number to use as the caller ID when forwarding the call. If not set, Default From will be used.
TimeoutThe time in seconds to wait for the call to be answered before timing out and either disconnecting the call or attempting a new number. If not set, Default Timeout will be used.
Enable WhisperThis executes SWML when the call is answered. The SWML will be executed before connecting the call.

Handle Via: External URL that is hosted off the SignalWire platform, or a SWML script resource.

Examples

Forward to SIP

In order to dial a SIP endpoint, format the To field with with “sip:” followed by the endpoint’s address. For example:

To: sip:alice@example.com

If the endpoint is unavailable, the flow will follow one of the four failed routes depending on the SIP signaling that is received. You can give individual actions for each signal, or route them all back into the same node.

A Call Flow that uses the Forward to Phone node to forward the call to a sip endpoint.
Forward to SIP

Forward to multiple SIP endpoints and phone

You can combine SIP dialing and Phone number dialing in the same node. The example below is set to Sequential dialing, so the sales endpoint will first ring for 20 seconds. After that, the call will ring the support endpoint for 20 more seconds before finally dialing out to +15552223333.

A Call Flow that uses the Forward to Phone node to forward the call to multiple numbers.
Forward to multiple SIP endpoints and phone numbers sequentially using the Forward to Phone node.