X-Lite星号无法建立呼叫-禁止号码

时间:2020-02-13 08:51:28

标签: asterisk

我正在尝试使用在Ubuntu 18.04.4 LTS上运行的星号来设置呼叫方ID欺骗。我正在学习本教程:https://www.youtube.com/watch?v=DZ0czppbamo,目前停留在29:20。问题是当我尝试呼叫GoTrunk给我的测试号码12120001234时,X-Lite抛出错误“无法建立呼叫-禁止号码”。我的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=#####

我还要补充一点,我以前从未设置过呼叫者ID欺骗。

1 个答案:

答案 0 :(得分:1)

那只是意味着您的提供者不允许您进行欺骗。并非所有提供商都允许这样做。考虑到美国法律的最新变化,大多数提供商都不允许这样做。