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

Jeff LaCoursiere jeff at sunfone.com
Thu Mar 10 07:35:49 CST 2011



On Thu, 10 Mar 2011, Vladimir Mikhelson wrote:

> Pay attention, you have permit=172.16.16.0/24 whereas suggestion was permit=0.0.0.0/0.0.0.0
>

Pay attention?  Maybe you should.  He is clearly trying to restrict access 
to the local network, not open it up to the world.

j

> 
> On 3/10/2011 1:48 AM, RR wrote:
>       On Thu, Mar 10, 2011 at 2:12 AM, Faisal Hanif <faisal at vopium.com> wrote:
>
>             You can add following line to your peers configuration
>
>              
>
>             permit=0.0.0.0/0.0.0.0
>
>              
>
>             It will allow to use that peer’s account from any IP
> 
> 
> 
> 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
> 
> 
> --
> _____________________________________________________________________
> -- 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
> 
> 
>


More information about the asterisk-users mailing list