2016-01-26 39 views
0

是否可以使用星號將呼叫轉移到其他主機? 就像我有三個星號實例一樣,即A,B和C.情景是,呼叫將從A到B,B將呼叫轉移到C,並在成功轉移後,B不會成爲主持人,A將直接正在與C通信呼叫轉移到星號中的其他主機/ IP

回答

1

正確的設置是有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]