My current goal to understand asterisk is to get a local softphone to call a remote asterisk server.
My sip.conf is :
[code][general]
context=testcontext
bindaddr=0.0.0.0
port=5060
[testuser]
secret=testuser
type=friend
host=dynamic
context=testcontext
fromuser=testuser
[/code]
I am using these settings in my softphone (QuteCom on OSX)
login/username:testuser
password:testuser
SIP Domain/Realm: ipaddress of server
Display Name: testuser
I keep getting this error on the asterisk console:
Registration from '<sip:nobody@216.blah.my.remote.ip>' failed for '216.blah.my.local.ip' - No matching peer found
I don’t understand what’s going on here. It is definitely getting to the remote server. What is weird is that if I change the login/username to anything other than test user, such as testaccount, I get this:
Registration from '<sip:testaccount@216.blah.my.remote.ip>' failed for '216.blah.my.local.ip' - No matching peer found
For some reason only when I try what is in my sip.conf, it suddently becomes “nobody.” I also don’t know if I’m setting up everything correctly. I didn’t use a register directive because I am not considering any outgoing calls from asterisk yet. Any ideas as to what is wrong? Thanks!