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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to