SIP Registration timeout while dialing peer

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.

  1. Make sure that where ever you are connecting to they are expecting a connection on port on 8060
  2. Your bindport does not need to be 8060. It can be 5060
  3. It could be your firewall/nat. Run sip debug on your end to see if the remote box is responding to you. Also try to run a trace on the remote end to see if they are getting your register requests.
  4. You should have externip set in sip.conf for the audio

The issue is most likely with your router and or ISP.