[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Asterisk - Linux
- Subject: Re: Asterisk - Linux
- From: "Patrick Lidstone" <patrick@xxxxxxxxxxxx>
- Date: Sat, 29 May 2004 17:11:41 -0000
--- In ukha_d@xxxxxxx, "Ian Davidson" <ian@g...> wrote:
> Hi
>
> Thanks for all the help.
>
> I have sorted the delay out it was down to a NAT setting in the
phones, I've
> turned that off and all is ok now, no delay. All I need to do now
is get FWD
> working but after trying for the last couple of hours nothing. The
asterisk
> console is saying timeout on the register of my fwd number. I
suspect some
> sort of network issue but do not know how to test anything on the
Linux box.
> My setup here is an ADSL modem with 6 ip address going to a win2k
server
> using winroute to provide NAT. The second network card in the
server goes to
> a 24 way switch. I can set up the fwd account on softphones on both
my main
> pc and my laptop all works fine, it is just * that will not play
ball. Any
> ideas ?
>
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
|