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!