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

Faisal Hanif faisal at vopium.com
Thu Mar 10 04:02:02 CST 2011


One more thing check if your SBC is configured in relay mode or forward
mode.  If it is in relay mode you will have original SIP-UA IP in all
requests coming on asterisk and only SBC IP in via but if it is forward mode
you may can have SBC IP all the way in all requests.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Vladimir
Mikhelson
Sent: Thursday, March 10, 2011 1:42 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] [1.8] Unable to Register: Registration denied
because of contact ACL

 

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



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110310/60691962/attachment-0001.htm>


More information about the asterisk-users mailing list