[asterisk-users] sip forward behind a nat

Vicky vicky.r at gmail.com
Sun Nov 12 01:44:17 MST 2006


Yep make the server with dynamic ip register to server with static ip ( sip
or iax both will do but in sip keep nat=yes while making extension )

On 12/11/06, Rosli Sukri <roslisukri at gmail.com> wrote:
>
> u need another box say box a with real/addressable ip address. create an
> iax entry in box a and have the private ip (box b) box register to box a.
> then you can do a
>
> Dial(IAX2/boxb/${EXTEN}) that will ring the extension connected to
> your 192.168.100.249 box
>
>
> hope that helps
> ;)
>
>
>
> On 11/12/06, nik600 < nik600 at gmail.com> wrote:
> >
> > Hi
> >
> > i have to forward a call from my asterisk server on another server but
> > my server is behind nat.
> >
> > How can i setup my extension.conf?
> >
> > Actually i have set up it as follows:
> >
> > exten => 0465666666,1,Dial(SIP/user at dormain)
> >
> > my server has a private ip 192.168.100.249 and doesn't have a public ip
> >
> > If i try to call SIP/user at dormain from an adsl connection (with a
> > modem, without nat) the call is routed succesfuly.
> >
> > If i try to forward the call from my server i cant route the call...
> > (i send many INVITE but without any answer)
> >
> > How can i fix it?
> >
> > many thanks in advance
> > _______________________________________________
> > --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
> >
>
>
> _______________________________________________
> --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/20061112/8be3c189/attachment.htm


More information about the asterisk-users mailing list