sip:refer verb transfers a call and disconnects it from the Voice Gateway.
This verb sends a REFER message to the carrier (SIP trunk) or SIP phone. The carrier or SIP phone must support REFER for the transfer to succeed.
Configuration
The following table lists the available parameters:Completion
The verb completes when one of the following occurs:- A failure response is received for the
REFERrequest. - A
202 Acceptedresponse is received, followed byNOTIFYindicating the final status of the follow-on call. actionHookreturns the final result details. Optionally,eventHookreceives eachNOTIFYafter a successfulREFERrequest.
Events
After the verb completes, one of the following events occurs:TRANSFER_REFER_SUCCESS— whenrefer_statusis202 Acceptedandfinal_referred_call_statusis200 OK.TRANSFER_REFER_ERROR— whenrefer_statusis202 Acceptedandfinal_referred_call_statusis any other value, for example,410 Gone,408 Request Timeout, or5xx. Any configured failover or error hook runs when this event fires.