B.124. Transfer()

Transfers the call to another extension.
Transfer([technology/]destination[,options])
Requests transfer of the caller to the specified extension or device. If the technology is specified (e.g. SIP, IAX2 etc.), only calls using the same technology will be transferred. In the case of SIP channels that have not yet been answered, this happens via a 302-REDIRECT message to the caller; if the call has already been answered, through a REFER message. The destination may also be a specific address, such as 8885551212@sip.provider.tld.
If option j is set, jumps to priority n+101 if the transfer fails.
Sets the channel variable TRANSFERSTATUS to SUCCESS, FAILURE or UNSUPPORTED (meaning the channel driver does not support transfers).
; Transfer calls intended for Extension 123 to Extension 130:
exten => 123,1,Transfer(130)

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'Transfer' =- 

[Synopsis]
Transfer caller to remote extension

[Description]
  Transfer([Tech/]dest[|options]):  Requests the remote caller be transferred
to a given destination. If TECH (SIP, IAX2, LOCAL etc) is used, only
an incoming call with the same channel technology will be transfered.
Note that for SIP, if you transfer before call is setup, a 302 redirect
SIP message will be returned to the caller.

The result of the application will be reported in the TRANSFERSTATUS
channel variable:
       SUCCESS      Transfer succeeded
       FAILURE      Transfer failed
       UNSUPPORTED  Transfer unsupported by channel driver
The option string many contain the following character:
'j' -- jump to n+101 priority if the channel transfer attempt
       fails
diff output to internal help in Asterisk 1.2:
- none -