X-Lite Asterisk 无法建立呼叫 - 禁止号码
X-Lite Asterisk Failed to establish call - Forbidden number
我正在尝试在 Ubuntu 18.04.4 LTS 上使用星号 运行 设置来电显示欺骗。我正在学习本教程:https://www.youtube.com/watch?v=DZ0czppbamo,目前我停留在 29:20。问题是当我尝试调用 GoTrunk 给我的测试号码 12120001234 时,X-Lite 抛出错误 "Failed to establish call - Forbidden number"。我的sip.conf文件如下:
[general]
allowguest=no
context=default
bindport=5060
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=ulaw
allow=gsm
allow=g723
allow=g726
allow=speex
; replace INBOUND_SIP_USERNAME and INBOUND_SIP_PASSWORD
; with your Inbound SIP Registration credentials
register => ####:#####
[201]
type=friend
host=dynamic
context=from-internal
username=201
password=####
qualify=yes
nat=force_rport,comedia
[202]
type=friend
host=dynamic
context=from-internal
username=202
password=######
qualify=yes
nat=force_rport,comedia
[trunk]
type=peer
host=eu.st.ssl7.net ; Europe POP
;host=amn.st.ssl7.net ; North America POP
context=from-trunk
qualify=yes
defaultuser=#####
remotesecret=#####
我还想补充一点,我以前从未设置过来电显示欺骗。
这只是意味着您的提供商不允许您进行欺骗。并非所有提供商都允许这样做。考虑到美国法律的最新变化,大多数提供商不应允许。
我正在尝试在 Ubuntu 18.04.4 LTS 上使用星号 运行 设置来电显示欺骗。我正在学习本教程:https://www.youtube.com/watch?v=DZ0czppbamo,目前我停留在 29:20。问题是当我尝试调用 GoTrunk 给我的测试号码 12120001234 时,X-Lite 抛出错误 "Failed to establish call - Forbidden number"。我的sip.conf文件如下:
[general]
allowguest=no
context=default
bindport=5060
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=ulaw
allow=gsm
allow=g723
allow=g726
allow=speex
; replace INBOUND_SIP_USERNAME and INBOUND_SIP_PASSWORD
; with your Inbound SIP Registration credentials
register => ####:#####
[201]
type=friend
host=dynamic
context=from-internal
username=201
password=####
qualify=yes
nat=force_rport,comedia
[202]
type=friend
host=dynamic
context=from-internal
username=202
password=######
qualify=yes
nat=force_rport,comedia
[trunk]
type=peer
host=eu.st.ssl7.net ; Europe POP
;host=amn.st.ssl7.net ; North America POP
context=from-trunk
qualify=yes
defaultuser=#####
remotesecret=#####
我还想补充一点,我以前从未设置过来电显示欺骗。
这只是意味着您的提供商不允许您进行欺骗。并非所有提供商都允许这样做。考虑到美国法律的最新变化,大多数提供商不应允许。