2016-09-22 44 views
0

我想通過UUI將SIP從一個星號傳輸到另一個星號。 在我的星號13我有一個簡單的撥號方案:星號SIP用戶對用戶

exten => 2222,1,Answer 
exten => 2222,n,Transfer(SIP/[email protected]&User-to-User=342342ef34;encoding=hex) 
exten => 2222,n,Hangup 

我已經註冊了我的星號13 ANS星1.4

register => asterisk13:[email protected]/asterisk14 
[asterisk14] 
type=friend 
secret=welcome 
context=asterisk14_incomming 
host=dynamic 

,並在第二個星號 做過類似的配置現在我有錯誤之間的SIP中繼:

Purely numeric hostname (1111), and not a peer--rejecting!

我已閱讀了所有關於此錯誤的信息,但無法找到解決方法。

在此先感謝您的任何建議

+0

在'Asterisk14'上,請向我們展示'sip show peer 1111'的CLI結果。 – MichelV69

+0

此命令在星號的「未找到對等1111」上顯示相同1111引用第二個星號上帶有一些撥號規則的擴展。 – jan

+0

好的。請在'Asterisk14'上顯示相關的撥號方案......此外,請在'Asterisk13'上安裝一個虛擬擴展名'1313',在'Asterisk14'上調用'1111'並向我們顯示一個測試撥號結果。 – MichelV69

回答

0

沒有辦法像那樣傳遞。使用SIPAddHeader