Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't connect to asterisk server with SIP (timeout)

Status
Not open for further replies.

oskare100

Technical User
Mar 25, 2005
16
SE
Hello,
I'm trying to setup an asterisk SIP server with SIP softphones on the same network, the problem is that I only get a timeout error when I try to register with the server.

Here is the SIP account config in sip.conf:
[test]
type=friend
username=test
secret=test
callerid=212
regexten=212
host=dynamic

And here is what I added to it in extensions.conf:
exten => 212,1,Dial(SIP/test)
exten => 212,n,Voicemail(test)
exten => 212,n,Hangup

However, as said, I can't connect to it. Have I missunderstood something? Can't Asterisk do SIP like that? I've tried several things and I'm starting to get quite frustrated about this so please, anyone, help me.

/Oskar
 
G'day,

try setting username and secret to digits. I typically use 200 for the username and 200 for the password, at least in testing :cool:

I use trixbox to setup my stuff.

Regards, Dave.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top