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