Hello folks,
I am using X-lite to connect to Asterisk. But when I enter the SIP into the phone, it wants to register.
The CLI gives me this error
Nov 17 07:32:10 NOTICE[15624]: chan_sip.c:7708 handle_request: Registration from '"mike"<sip:7101@xx.232.86.166>' failed for 'xx.15.117.27'
Nov 17 07:32:14 NOTICE[15624]: chan_sip.c:7708 handle_request: Registration from '"mike"<sip:7101@xx.232.86.166>' failed for 'xx.15.117.27'
Nov 17 07:32:18 NOTICE[15624]: chan_sip.c:7708 handle_request: Registration from '"mike"<sip:7101@xx.232.86.166>' failed for 'xx.15.117.27'
Nov 17 07:32:22 NOTICE[15624]: chan_sip.c:7708 handle_request: Registration from '"mike"<sip:7101@xx.232.86.166>' failed for 'xx.15.117.27'
My sip.conf
[code][general]
port=5060
bindaddr=0.0.0.0
allow=all
context=bogon-calls
[2000]
type=friend
username=2000
secret=xxxx
host=dynamic
context=from-sip
mailbox=100
[2001]
type=friend
username=2001
secret=xxxx
host=dynamic
context=from-sip
mailbox=101
[222]
type=friend
allow=all
username=222
secret=xxx
host=dynamic
context=general
callerid=“Mike” <222>
amaflags=default
mailbox=222@default
dtmfmode=rfc2833
video=no
restrictcid=yes
insecure=invite
permit=201.67.14.154
[sip7101]
context=general
type=friend
username=7101
secret=xxxx
auth=md5
host=dynamic
dtmfmode=rfc2833
mailbox=7101
insecure=invite
callerid=""
restrictcid=no
amaflags=default
allow=all
nat=route[/code]
It does not matter wich sip I use to connect, the error keeps the same.
What could be wrong ?
Thanks