呼叫转移到星号中的其他主机/ IP

问题描述:

是否可以使用星号将呼叫转移到其他主机? 就像我有三个星号实例一样,即A,B和C.情景是,呼叫将从A到B,B将呼叫转移到C,并在成功转移后,B不会成为主持人,A将直接正在与C通信呼叫转移到星号中的其他主机/ IP

正确的设置是有kamailio或opensips代理人面前的星号。

对于星号FF您有在树干所有实例的设置

canreinvite=yes 
    directmedia=yes 

,如果你有SIP协议,可以做到通话转接。如果你这样做,在呼叫设置完成之前,如果设置完成后 - 只有最后一个选项可以工作,那么信号将通过此主机继续传输,而媒体直接传输。 如果供应商不支持这两个选项可能无法正常工作。

pro-sip*CLI> core show application Transfer 

    -= Info about application 'Transfer' =- 

[Synopsis] 
Transfer caller to remote extension. 

[Description] 
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 transferred. 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: 
${TRANSFERSTATUS}: 
    SUCCESS: Transfer succeeded. 
    FAILURE: Transfer failed. 
    UNSUPPORTED: Transfer unsupported by channel driver. 

[Syntax] 
Transfer([Tech/]destination) 

[Arguments]