具有静态IP的远程计算机试图在我的星号(1.8(上注册。对等设置:
[remotepeer]
type = peer
host = dynamic
insecure = port,invite
context = remotepeer-Inbound
directmedia = no
dtmfmode = rfc2833
callcounter = yes
nat = no
contactpermit=1.1.1.1/32
permit=1.1.1.0/24
username = remotepeer
secret = remotepeerpass
当对等方注册时,我得到:
[Apr 13 10:15:55] WARNING[23037]: chan_sip.c:14609 parse_register_contact: Domain '1.1.1.1:5060' disallowed by contact ACL (violating IP 1.1.1.1)
[Apr 13 10:15:55] WARNING[23037]: chan_sip.c:15394 register_verify: Registration denied because of contact ACL`
当我设置dynamic_exclude_static = no
时,对等方正在注册。
我不想允许从任何 IP 注册。
如何设置dynamic_exclude_static = yes
并允许对等方注册(该对等方的IP是固定的(?
你有host=dynamic
...您是否尝试过host = 1.1.1.1
,因为您无论如何都不想要动态注册?