asterisk App Transfer 呼叫转接

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

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章