Pay attention, you have permit=172.16.16.0/24 <http://172.16.16.0/24>
whereas suggestion was permit=0.0.0.0/0.0.0.0 <http://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 <[email protected]
> <mailto:[email protected]>> wrote:
>
>     You can add following line to your peers configuration
>
>      
>
>     permit=0.0.0.0/0.0.0.0 <http://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 <http://0.0.0.0/0.0.0.0>
>         contactpermit=172.16.16.0/255.255.255.0
> <http://172.16.16.0/255.255.255.0>
>         deny=0.0.0.0/0.0.0.0 <http://0.0.0.0/0.0.0.0>
>         permit=172.16.16.0/24 <http://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
--
_____________________________________________________________________
-- 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