SIP REFER lets your phone system ask Telnyx to transfer a participant in an active call to another destination. This guide explains the transfer flow, status notifications, caller ID options, and encryption settings for the transferred leg.
Before you begin
Your phone system must support SIP REFER and transfer-status notifications through SIP NOTIFY. Configure the destination to accept the transferred call and support any signaling and media encryption you request.
How a REFER transfer works
For an inbound call, caller A calls your Telnyx number B. Telnyx delivers the call to your phone system, which sends a REFER on the active call to transfer A to destination C.
For an outbound call, your phone system A calls customer B. Your phone system can then send a REFER to transfer B to destination C.
The Refer-To header identifies the transfer destination. For a SIP destination, it can contain a URI such as:
Refer-To: <sip:recipient@example.com>
Telnyx processes the transfer request and attempts to establish the transferred leg. Your phone system receives transfer-status information through NOTIFY.
A 202 Accepted response acknowledges acceptance of the REFER request. Check the subsequent transfer outcome to determine whether the destination answered.
Blind transfer confirmation
A blind transfer sends a participant to another destination before the transferring party speaks to that destination.
The Confirm blind transfer setting controls when Telnyx reports the result to your phone system. Find it under your SIP connection's Configuration → Advanced settings in Mission Control.
| Setting | Behavior |
|---|---|
| Enabled | Telnyx waits for the transfer outcome. If the destination answers, Telnyx reports success through NOTIFY. If the transfer fails, Telnyx reports failure and keeps the original call connected. |
| Disabled | Telnyx reports success immediately and releases the transferring party while the destination is being called. An immediate success notification does not establish that the destination answered. |
Your phone system must handle NOTIFY messages and retain the original call while awaiting the result when confirmation is enabled.
An automated service or voicemail can answer the transferred call. Confirmation reports the call outcome without distinguishing a person from an automated answer.
Choose the caller ID sent to the destination
The Caller ID for Transfer Target setting selects which participant's number Telnyx sends to the destination.
| Option | Number sent to the destination |
|---|---|
| From Transferee — default | The participant being transferred |
| From Transferor | The participant initiating the transfer |
For an inbound A → B → C transfer, these options select A or B respectively. For an outbound call where A calls B and transfers B to C, they select B or A respectively.
The setting is available on eligible Credential, IP, and FQDN SIP connections. Configure it under Configuration → Advanced, save the connection, and verify the received caller ID with a test transfer. Choose caller ID for SIP call transfers
Request TLS and SRTP for the transferred leg
Encryption is configured for each call leg. For example, an inbound connection's SRTP setting controls media delivered to that connection. A REFER to an external SIP domain creates another leg with its own signaling and media requirements.
TLS encrypts SIP signaling. SRTP encrypts media. Request each mechanism independently through parameters inside the Refer-To SIP URI.
| URI parameter | Requested behavior |
|---|---|
transport=tls | Use TLS for signaling on the transferred leg |
secure=srtp | Require SRTP for media on the transferred leg |
| Both parameters | Apply TLS signaling and required SRTP media together |
secure=srtp is a Telnyx-specific extension. Support for it depends on the platform processing the REFER.
TLS signaling and SRTP media
Refer-To: <sip:recipient@example.com;transport=tls;secure=srtp>
TLS signaling
Refer-To: <sip:recipient@example.com;transport=tls>
This requests TLS while retaining the existing media-encryption behavior.
Required SRTP media
Refer-To: <sip:recipient@example.com;secure=srtp>
This requires SRTP while retaining the existing signaling-transport behavior.
The parameters work in either order. When a parameter is absent, the corresponding existing behavior applies.
When SRTP is explicitly required, failure to establish secure media causes the transfer attempt to fail. The attempt must not silently fall back to plain RTP.
Use a destination connection's encryption settings
You can also configure a destination SIP connection with SRTP enabled and use that connection's SIP subdomain in the Refer-To URI. Configure the signaling transport and media encryption required for that destination.
For a workflow with several transfers, configure the destination and encryption requirements for every transferred leg.
Verify a transfer
- Establish a call and initiate the transfer.
- Capture the REFER and confirm the destination and URI parameters in
Refer-To. - Check the REFER response and subsequent NOTIFY messages.
- Confirm that the destination answers and receives the expected caller ID.
- For encrypted transfers, verify TLS on the new signaling leg and successful SRTP negotiation and media.
- Confirm that the original call is released or retained as expected for the transfer outcome.
Troubleshooting
| Symptom | What to check |
|---|---|
| REFER is rejected | Confirm the request belongs to an active call and contains a valid, permitted destination. |
| REFER is accepted but the destination does not answer | Inspect the transfer-status notifications and destination-leg responses. |
| The destination receives an unexpected caller ID | Check Caller ID for Transfer Target on the connection handling the transfer. |
| TLS signaling works but media is unencrypted | Check the media requirements for the transferred leg and whether secure=srtp was included. |
| An SRTP-required transfer fails | Check the destination's SRTP support and media negotiation. |
| A later transfer has different encryption behavior | Inspect the destination and encryption configuration of that individual transfer. |
When contacting support, include the environment, UTC timestamp, connection ID, original-call and transferred-leg SIP Call-IDs, and a redacted trace containing the REFER, Refer-To, NOTIFY messages, and destination-leg responses.