<Refer> verb in Telnyx allows you to transfer a phone call to another SIP infrastructure during a TeXML call. You can initiate it at any point during the call. When you use the <Refer> verb, Telnyx will replace the original call with a new call to the external system you specify, effectively transferring the call to that system.
Attributes
| ATTRIBUTE | DESCRIPTION | OPTIONS | DEFAULT |
|---|---|---|---|
action | Optional URL where TeXML will make a request when the Refer verb ends, to retrieve a new set of TeXML instructions to continue the call flow. | - | |
method | HTTP request type used to retrieve the next set of instructions. | GET, POST | POST |
Examples
Expected callbacks
Ifaction is set, a callback is sent when the <Refer> verb finishes. See Refer Status Callback for the full payload reference.