View Single Post

  #2 (permalink)  
Old 13-05-2007, 19:39
Jono
Guest
 
Posts: n/a
Default Re: Registration problem

Steve pretended :[color=blue]
> Hi,
>
> I just have setup an Asterisk server at home.
> I have 2 phones (at the moment) connected
> * 1 -> at home => works fine
> * The second one, at my friend house.
>
> The last one, doesn't register...
>
> SIP.CONF
> [121]
>
> type=friend
> username=121
> secret=121
> host=dynamic
> callerid=121
> context=default
> mailbox=121
> canreinvite=no
> nat=yes
>
> On my router I declared : the SIP available port [5050 - 5090] (just to make
> sure I can catch everything :-)
>
> And I can't regsiter....
>
> ANy idea ?
>
> THanks for your help[/color]

Have you got:

localnet=192.168.2.1/255.255.255.0
externip=your.ip.or.hostname
nat=yes

....in your sip.conf?

Remote extensions are painful with NAT, let alone NAT at both sites.

You also need to port forward 10000-20000 for RTP....

Some of the ports below may also be required:

8000 - 8012
3478 - 3483
5004 - 5036
4560 - 4570
2727


Reply With Quote