Hello community,
I try to set up an asterisk instance (16.1.1 on openSUSE leap 15.0) on an internet server to just automatically answer and record calls for one number. My setup looks like this:
sip.conf
[general]
srvlookup=no
bindaddr=::
port = 5060
language=de
register => 004961513844623:<password>@ipv6.sip.easybell.de:5064/004961513844623
allowguest=no
alwaysauthreject=yes
callcounter=yes
context=sip-incoming
disallow=all
allow=ulaw
allow=alaw
[friends_internal](!)
qualify=yes
; host=dynamic
canreinvite=no
context=home
[101](friends_internal)
type=friend
secret=secret
[102](friends_internal)
type=friend
secret=secret
[004961513844623]
type=peer
defaultuser=004961513844623
fromuser=004961513844623
secret=<password>
host=ipv6.sip.easybell.de
fromdomain=sip.easybell.de
insecure=port,invite
caninvite=no
canreinvite=no
extensions.conf
[globals]
phone1=SIP/101
phone2=SIP/102
callduration=30
[home]
exten => 101,1,Dial(SIP/101)
exten => 102,1,Dial(SIP/102)
exten => _X.,1,Set(CALLERID(num)=004961513844623)
exten => _X.,2,Set(CALLERID(name)=4961513844623)
exten => _X.,n,Dial(SIP/${EXTEN}@004961513844623)
exten => _X.,n,Hangup
[sip-incoming]
exten => 4961513844623,1,NoOp(Incoming call on DDI 1)
exten => 4961513844623,n,Ringing
exten => 4961513844623,n,Wait(1)
; exten => 4961513844623,n,Dial(SIP/101,20)
exten => 4961513844623,n,VoiceMail(101,u)
exten => 4961513844623,n,Hangup
;
I copied the stuff from a help page. I know there is a lot of stuff that is not strictly necessary for my use case. My current problem is that a call from outside renders an error:
[Feb 20 16:34:24] NOTICE[3124][C-00000006] chan_sip.c: Failed to authenticate device <sip:06151497528@sip.easybell.de>;tag=25817CE6-5C6D73800002814A-9E38A700
[Feb 20 16:34:49] WARNING[3124] chan_sip.c: Retransmission timeout reached on transmission 1927631082-1712852659-2078803632 for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Additionally there are connection tries with the numbers 1001 and 1008 seemingly originating from my IPv4 address that fail too. I didn’t have set up those numbers.
[Feb 21 09:01:31] NOTICE[31028][C-00000001] chan_sip.c: Failed to authenticate device <sip:1001@85.10.198.232>;tag=96402308
So where do they come from?
I would very much appreciate a clue.
Thanks,
Burkhard