[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Asterisk - Linux
- Subject: Re: Asterisk - Linux
- From: "radcommuk" <ian@xxxxxxxxxxxxxxx>
- Date: Sat, 29 May 2004 17:59:19 -0000
Hi Patrick
I had some of those configs but I didnt have outside_addr only
externip and I had not set bindaddr. I now have it set how you have
suggested. It is still not working BUT Linux has a ping command I've
found. I can ping my internal network but not any external address.
Is this some sort of network gateway issue, how do I test it in
Linux.
I do not think this matters but I will mention it in case. The
machine has two NIC's but I am only using the one main NIC which I
beleive in Linux is called something like eth0.
Ian D
> You need to tell asterisk that you are operating behing NAT. You
can
> do this with the following entries in sip.conf:
>
> [general]
> port=5060 ; Port to bind to
> localnet=192.168.0.0
> localmask=255.255.255.0
> externip=81.82.83.84
> outside_addr=81.82.83.84
> bindaddr=192.168.0.200
> nat=yes
>
> Where bindaddr is the private adddress (natted address) of the
> asterisk box and externip/outside_addr are the address your router
> presents to the outside world. (I think one of these entries is
> redundant, but I know which off hand).
>
> To accept incoming calls from FWD you will need to port forward
UDP
> traffic on port 5060 to your asterisk box, but this won't affect
your
> ability to make outgoing calls.
>
> HTH
>
> Patrick
UKHA_D Main Index |
UKHA_D Thread Index |
UKHA_D Home |
Archives Home
|