Can't connect to my sip prov and can't think of any reason!

Hi everyone! i started with asterisk this week, went through the installation no problem, but now i want to connect to a sip provider and although i think i am doing everything ok i get the message timed out…

Here is my sip.conf, please someone tell me what’s wrong!!!

[general]
port=5060
context=incoming
register => user:pwd@iptel.org/user
registertimeout=15
registerattempts=2
srvlookup=yes
disallow=all
allow=gsm
allow=ulaw
nat=yes

[iptel.org]
type=friend
host=iptel.org
fromuser=user
fromdomain=iptel.org
secret=pwd
context=incoming
disallow=all
allow=gsm
allow=ulaw
nat=yes

Thanks! :wink:

im not the big expert, bug i think:

You placed your options in the wrong context. [general] is meant for global configuration.

also, try changin host name to their IP.

and did you put in the dialroute in extensions.conf?

edit: maybe worth looking at voip-info.org/wiki/view/Aste … client+SER

I am almost sure now, that my problem is the firewall in the company I am working. The port 5060 is not open for udp, i already asked the company to open it but still waiting…

Thanks :smile:

Before you got it working you need the proper ports open. For SIP the default for this in Asterisk is udp port 5060 for signaling and udp ports 10.000 to 20.000 for media.