[asterisk-users] [1.8] Unable to Register: Registration denied because of contact ACL

Jeff LaCoursiere jeff at sunfone.com
Thu Mar 10 07:39:05 CST 2011



> 
> 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