Synopsis
Transfer caller to remote extension轉接主叫到遠程分機
Description
Transfer([Tech/]dest[|options])
Requests the remote caller be transferred to a given extension.
If TECH (SIP, IAX2, LOCAL etc) is used, only an incoming call with the same channel technology will be transfered.
請求主叫被轉接到指定分機上,如果採用SIP/IAX2/LOCAL等技術,那麼只有在相同通道類型上的來電才能被轉接
Note that for SIP, if you transfer before call is setup, a 302 redirect SIP message will be returned to the caller. It is possible to use 302 redirection to load-balance SIP calls among several servers. A patch that fixes a few bugs is here:
patch 9483.
在SIP協議中,當呼叫建立之前進行轉接時,302重定向SIP消息會反饋給主叫,從而有可能通過302重定向方式使SIP呼叫在多服務器之間負載均衡。
The result of the application will be reported in the TRANSFERSTATUS channel variable:
Transfer應用的結果以以下幾種變量方式反饋於TRANSFERSTATUS通道中
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
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Transfer