Unable to register Asterisk to Sipgate.de

Hello,

I hope you can help me, 'cause I’ve got a serious problem with my Asterisk.
The server is not able to register. Everytime I receive the message:
"[Nov 19 20:53:31] NOTICE[3671]: chan_sip.c:7517 sip_reg_timeout: – Registration for ‘@sipgate.de’ timed out, trying again (Attempt #2)"

This is my sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
;dtmfmode=info
;realm=usergruppe@asterisk
;notifymimetype=text/plain
context =  sipout
qualify=no
disallow=all
disable=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear
srvlookup=yes
;maxexpirey=3600
;defaultexpirey=120
register => <Userid>:<PW>@sipgate.de/<Userid>

[sipgate-out]
type=friend
insecure=very ; otherwise I get authentication errors
;permit=sipgate.de
;nat=yes
nat=no
username=<Userid>
fromuser=<Userid>
fromdomain=sipgate.de
secret=<PW>
host=sipgate.de
qualify=yes
canreinvite=no
dtmfmode=rfc2833
;disallow=all
;allow=ulaw

[sipgate-in]
type=peer
fromdomain=sipgate.de
host=sipgate.de
context=sip-in

[200]; TestUser1
type = friend
callerid="TestUser1"<200>
context = meine-telefone
secret = 1234
host = dynamic
nat=never

And my extensions.conf

[general]

[sipout]
exten => _X.,1,Set(CALLERID(num)=<UseriD>)
exten => _X.,2,Set(CALLERID(namIe)=<phonenumber>)
exten => _X.,3,Dial(SIP/${EXTEN}@sipgate-out,30,trg)
exten => _X.,4,Hangup

[meine-telefone]

;TestUser1
exten => <+49phonenumber>,1,Dial(SIP/200,5)
exten => 200,1,Dial(SIP/200,5)
exten => 200,2,VoiceMail(200,u)
exten => 200,2,VoiceMail(200,b)

I googled around, searched inside several forums etc, tried a lot but regrettably didn’t find any solution yet.

Thanks a lot in advance!

Hi, is it just sipgate that’s not working? Do you have other trunks setup ok?

Could maybe be a firewall blocking SIP packets?

Thanks for your fast reply !

Firewall is shut down and thus shouldn’t disturb. I do not have any other trunks setup, just this provider.

Do a ‘sip show peers’ from the CLI and check that you have actually registered with SipGate.

JFYI - I have been having problems with SipGate (the .co.uk version) since Monday and what was once working suddenly stopped. Maybe SipGate have ‘barred’ Asterisk?

sipgate-in      217.10.69.252       5060     Unmonitored
sipgate-out/<Userid>    217.10.69.252    5060     UNREACHABLE

I can’t also ping this IP. Maybe Sipgate is having problems.
I’ll try to find another SIP-Provider.

Could someone recommend a provider ?

Many thanks and regards !

I also get UNREACHABLE (on a different server IP). I have a Nokia N95 8GB that can connect to SipGate with no problems - so, I think that SipGate may have blanket banned anything from ‘asterisk’ shrug.

Okay - this makes me optimistic that my configuration is not the cause of the problem. Good to know :smiley:

I’d contact sipgate.de Support. Don’t know if I receive an answer but for the case I get one, I’ll let you know.

regards

They told me to register to IP 217.10.79.9.
… and it works !

Weird: Ping gives back wrong IP.