Reply
Thread Tools
Posts: 2 | Thanked: 1 time | Joined on Aug 2011
#1
Helo, i am trying to connect my N900 to my asterisk server, but i am having many problems related to NAT i guess.

I read a lot os post, but i did not find anything i could realy use. Sorry if i did not see what i needed!

So, lets go to the problem.

I have my asterisk server in with a public address.
My sip.conf looks like.
[100]
callerid = N900
type=friend
secret=*******
;net=yes ( i already use both, with or without nat )
qualify=5000
port=5060
host=dynamic
dtmfmode=rfc2833
allow=gsm,alaw,ulaw,iLBC
context=sip-prod
callgroup = 1
pickupgroup = 1

On my N900 i have configured like this, in advanced i have marked
Discover public address
Auto detect STUN

I already have tried many confs, but none of them worked when i am behind a nat.

My question is:
I have a laptop and connect to the same network as my N900, and with ekiga i can register to my asterisk and make the call with sound. In my n900 i have no sound when i am in my home network. When i conect over 3G i the sip phone work as expect. Only when i am on a nat network that does not work.

Does any one have any help??
Thanks
 
Posts: 2 | Thanked: 1 time | Joined on Aug 2011
#2
it seens it was an asterisk "problem"
asterisk-1.8 have the ability to use symetric ports...
in sip.cof
nat=comedia

and you good to go!
well.. it worked for me!
 

The Following User Says Thank You to sfrique For This Useful Post:
Posts: 306 | Thanked: 106 times | Joined on Feb 2010
#3
Thanks for posting this. Might help somebody. Hopefully you have better experience than some of us.
__________________
------------------------------------------------------------------
Voice choppy on sip calls
Please vote for bug number 10388
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:24.