[asterisk-users] [1.8] Unable to Register: Registration denied because of contact ACL
Faisal Hanif
faisal at vopium.com
Fri Mar 11 06:57:24 CST 2011
Try by reversing the line number of permit & deny
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeff
LaCoursiere
Sent: Thursday, March 10, 2011 6:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] [1.8] Unable to Register: Registration denied
because of contact ACL
>
> Thanks. But Like I said, that's all done. Here's the Endpoint config:
>
> [authentication]
> [basic-options](!) ; a template
> dtmfmode=rfc2833
> context=Phones
> type=friend
> contactdeny=0.0.0.0/0.0.0.0
> contactpermit=172.16.16.0/255.255.255.0
> deny=0.0.0.0/0.0.0.0
> permit=172.16.16.0/24
> host=dynamic
> qualify=no
> insecure=port,invite
>
> [natted-phone](!,basic-options) ; another template inheriting
> basic-options
> nat=yes
> directmedia=no
>
> [555](natted-phone)
> secret=$$ecret$$
> disallow=all
> allow=ulaw
> allow=gsm
>
> no deal! The irony is that we have a similar configuration at another
> place, but we didn't need to put anything there and the phones register
regardless!
>
> Is this broken
>
Perhaps the contactdeny is taking precedence in 1.8. Try it without the
contactdeny - maybe the existence of a contactpermit will imply a
contactdeny of "everything else".
Cheers,
j
More information about the asterisk-users
mailing list