[asterisk-users] Asterisk and NAT ?

William Piper william.piper at gmail.com
Thu Sep 7 20:57:50 MST 2006


Does the phone have stun settings? If so, try using stun.fwdnet.net and take
out the port forwards and see if it works.

bp


On 9/7/06, Noc Phibee <noc at phibee.net> wrote:
>
> yusuf a écrit :
> >
> > Hi,
> >
> > you dont have to/should'nt be using different SIP ports for each
> > phone.  Its completely not needed.  Also, you dont have/need to port
> > forward.  Just open ports 5060 and 1000-20000, on the box that
> > asterisk is running, and on your NAT router. Dont port forward.
> >
> > Then in sip.conf
> >
> >
> >  [202]
> >  username=202
> >  secret=X
> >  type=friend
> >  host=dynamic
> >  disallow=all
> >  allow=g729
> >  allow=alaw
> >  allow=ulaw
> >  context=interne
> >  nat=yes
> >  canreinvite=no
> >
> >
> >  [200]
> >  username=200
> >  secret=X
> >  type=friend
> >  host=dynamic
> >  disallow=all
> >  allow=g729
> >  allow=alaw
> >  allow=ulaw
> >  context=interne
> >  nat=yes
> >  canreinvite=no
> >
> >
> > then restart linksys and thomson, and you will see that they both
> > register on asterisk cli.  Now you will be able to call/receive on both.
> >
>
>
>
> Thanks for your answer, but if i don't put a port forward, i have :
>
> 200/200                    83.167.122.119   D   N      5060
> UNREACHABLE
>
> On the thomson, i have "SIP Unregister", it's a important option  ?
>
> Thanks bye
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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/20060907/ef6c252f/attachment.htm


More information about the asterisk-users mailing list