Hi,

no clue on this?

I found a thread in march from Faisal Hanif having the same problem but no one of the proposed ideas where working (reverse permit/deny, tried with only permit=0.0.0.0/0.0.0.0, aso), no luck :-) I don't now if it's solved for him.

If someone had a solution on this, would be great to share ;-)

Regards

--
Daniel


Le 07/10/2011 15:01, Administrator TOOTAI a écrit :
Hi,

my asterisk 1.8.7 is working well with phones (SNOM, Gigaset 620 and
GrandStream) connected from the lan

I now want to connect a snom320 from outside but it failed, having always

[Oct 7 14:48:04] ERROR[3870]: netsock2.c:94 ast_sockaddr_stringify_fmt:
getnameinfo(): ai_family not supported
[Oct 7 14:48:04] WARNING[3870]: chan_sip.c:13597 parse_register_contact:
Domain 'XX.XXX.XXX.XX:2048' disallowed by contact ACL (violating IP )
[Oct 7 14:48:04] WARNING[3870]: chan_sip.c:14306 register_verify:
Registration denied because of contact ACL

doesn't matter if I connect through a VPN or to the public IP using STUN.


My sip.conf:

localnet=172.24.0.0/12
localnet=169.254.0.0/255.255.0.0 ; Zero conf local network
localnet=<Asterisk server external IP/32>
autodomain=yes
;allowexternaldomains=yes
domain=172.24.30.250 ;Asterisk Server IP
domain=<Public Hostname>
domain=<Another Public Hostname>

[309](snom320,ulaw-phone,callgroup1)
type=friend
insecure=port,invite
secret=VoIP2auDIo
contactdeny=0.0.0.0/0.0.0.0
contactpermit=XX.XXX.XXX.XX/32 ; External IP from phone, same as
disallowed by contact ACL
deny=0.0.0.0/0.0.0.0
permit=XX.XXX.XXX.XX/32
nat=yes

Any clue? Why violating IP is empty?

Thanks for your help


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to