내 별표 (1.8)에 등록하려고하는 정적 IP가있는 원격 컴퓨터. 피어 설정 :별표에 SIP 등록
[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가 고정되어 있음)에 대한 등록을 허용 하시겠습니까?
그래서 SO 커뮤니티에서 무엇을 얻고 싶습니까? sip 디버그를 확인 했습니까? 당신은 chan_sip이 무엇을 하는지를 별표로 검사 했습니까? – arheops
@arheops 예 확인했습니다. 같은 로그가 있습니다. 마지막 패킷 만 다릅니다. 'dynamic_exclude_static = yes' 마지막 패킷이 603 거부되고,'parse_register_contact : Domain '1.1.1.1:5060'이 (전에 IP 1.1.1.1을 위반하는) ACL에 의해 접근 금지 된'메시지가있다. 'dynamic_exclude_static = no' 마지막 패킷이 200 OK이면. –