Elastix 的 Sip 配置、具有多個 DID 的 Terrasip(提供者)

Elastix 的 Sip 配置、具有多個 DID 的 Terrasip(提供者)

我剛買了幾個 DID特拉西普我已經根據他們的建議配置了我的 Elastix (freepbx) SIP 中繼:

Please follow this template configuration. (valid for outbound/inbound traffic)

Outgoing trunk name ***terrasip***

username=***sip_key***
type=friend
secret=***password***
host=terrasip.net
fromuser=***sip_key**
context=from-pstn ;(or set which is your inbound context) allow=g729,ulaw,alaw
trustrpid=yes
sendrpid=yes
canreinvite=no
insecure=very

;Add the follow line:
; register the user in order to receive inbound call for your sipkey

Registration String:
***sip_key***:***password***@terrasip.net/***sip_key***

Where ***sip_key*** - customer sipkey account
and***password*** - customer password

出站呼叫有效,入站呼叫也有效,但我無法將 DID 路由到多個 IVR,因為所有呼叫都是透過以下上下文接收的:sip_key@來自主幹:1

我嘗試繪製從 terrasip 到DID_NUMBER@mypbxserver.com 但是當我撥號時,我的 pbx 沒有收到任何訊息。

我已經用谷歌搜尋並找到了這個解決方案事實證明它是有問題的,因為即使在自訂入站處理之後,我的 DID 仍然是 SIPKEY。

我已聯繫他們的支援人員,但尚未得到答复,我希望能更新他們的答复,但與此同時,我希望我的手機能夠正常工作。

答案1

這個問題最終得到了解決(經過多次 tcpdump、nc 和支援票之後)防火牆是問題所在,為什麼 terrasip 不會向我的 PBX 發送呼叫(儘管正確註冊並允許其所有範圍)

對於使用 Terrasip 進行直接映射,您必須允許他們閘道的 IP 位址。

IP : 195.20.217.64 次要 IP : 81.201.82.45,81.201.83.45

希望這對任何人都有幫助,感謝您的參與。

相關內容