I have solved one part of the problem. I'm able to register. I'm able to
call SIP phones and I can hear them. The only problem is that they can't
hear me. So, this is the situation.
Softphone_1 (on public IP) => Internet => Router => * (private IP)
=> Softphone_2 (private IP)
SP_1 can call and hear what SP_2 is saying. SP_2 can't hear what SP_1 is
saying.
The guy that works with firewall says that UDP ports 10000-10005 are opened (the
ports that I have configured in rtp.conf file). Can it be anything else than
firewall? I don't want bother him if I'm not totally sure that the
problem is in firewall.
Thank you.
Tomislav
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com
> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
> Tomislav Par?ina
> Sent: 10. studeni 2005 9:37
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] SIP NAT register
>
> I'm unable to register soft phone on * that is behind NAT. I
> have SP on public address 195.29.109.0 which is dynamically
> changed. * is in private address 10.0.0.81 that is behind NAT
> on address xxx.xxx.xxx.xxx
>
> When I try to register this is message that I receive on * CLI
>
> ##### Testing 195.29.109.0 with 10.0.0.0 Target address
> 195.29.109.0 is not local, substituing externip
>
> And that is all. When I enter sip show peers I get
>
> Name/username Host Dyn Nat ACL
> Mask Port Status
> 2150/2150 (Unspecified) D
> 255.255.255.255 0 Unmonitored
>
> This is how my sip.conf looks like.
>
> [general]
> nat=yes
> externip = xxx.xxx.xxx.xxx ; here I have my public IP
> fromdomain = mydomain.hr
> localnet = 10.0.0.0/255.255.255.0
>
> port=5060
> bindaddr=0.0.0.0
> context=sip
> srvlookup=yes
> dtmfmode=rfc2833
> disallow=all
> allow=gsm
> allow=ulaw
> allow=alaw
> musicclass=default
>
> [2150]
> type=friend
> username=2150
> secret=2150
> host=dynamic
> mailbox=2150
>
>
> Have I done something wrong or is there I haven't done? Please help.
>
>
>
> --
> Tomislav Par?ina
> Lama Computers Split
> Stinice 12, 21000 Split
> Tel.: +385(21)393447
> e-mail: tparcina#lama.hr
> http://www.lama.hr
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>