Hi,
I have this issue and tried almost everything but not solved. also some times my peer register successfully. my astersisk server resides over the internet and i am trying to connect to it from my system which is not directly connected to net but through a DSL modem via switch.
googling this issue has no effect. can anyone help? is it a Network issue or something with sip.conf?
sip.conf
[general]
context=default
allowoverlap=no
bindport=8060
bindaddr=0.0.0.0
srvlookup=yes
register => abc:password@nasir.server.com:8060
[abc]
type=peer
username=abc
fromuser=abc
authuser=abc
secret=password
port=8060
host=nasir.server.com
dtmfmode=rfc2833
canreinvite=yes
insecure=invite,port
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
nat=yes
qualify=10000
Nasir Javaid.