[Asterisk-Users] Sip behind the NAT

Jeffery Chen jeffery9 at gmail.com
Wed Dec 7 17:53:43 MST 2005


If your Astersik server behind NAT too, your need modify SIP.conf like
this....

externalIP= x.x.x.x
localnet= x.x.x.

hope this can help you....


On 12/8/05, Moises Silva <moises.silva at gmail.com> wrote:
>
> what type of NAT do you have? sync? full cone? cone restricted, port
> restricted?
> any messages in asterisk verbose console?
>
> best regards
>
> On 12/7/05, chawki hammoud <cyhammoud at yahoo.com> wrote:
> >
> > Hi list:
> > i have an asterisk box behind the NAT ,when i try to
> > send calls through Sip to the voip provider server the
> > call is answered but in a one way calling,I hear  the
> > voice of the other side just for 4 seconds and then
> > stop but the call do not hangup.
> >
> > my sip.conf is:
> > [voip provider]
> > type=peer
> > host=213.112.50.8
> > username=XXXXXXX
> > secret=XXXXXX
> > fromuser=XXXXXXX
> > canreinvite=no
> > nat=yes
> > insercure=invite
> > disallow=all
> > allow=gsm
> >
> >
> >
> >
> > __________________________________________
> > Yahoo! DSL – Something to write home about.
> > Just $16.99/mo. or less.
> > dsl.yahoo.com
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com<http://easynews.com/>--
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
> --
> "Su nombre es GNU/Linux, no solamente Linux, mas info en
> http://www.gnu.org"
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>--
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>


--
Jeffery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051207/b8c66c2e/attachment.htm


More information about the asterisk-users mailing list