I am creating endpoint, aor, and auth with different ids like shown below in pjsip.conf
[5588-agent-1012-endpoint]
type=endpoint
context=default
disallow=all
allow=ulaw,alaw
auth=5588-agent-1012-auth
aors=5588-agent-1012-aor
[5588-agent-1012-auth]
type=auth
auth_type=userpass
password=secure_password_here
username=1012
[5588-agent-1012-aor]
type=aor
max_contacts=5
I get error - No matching endpoint found, when I am trying to connect from Linphone
But having same ids for endpoint and aor, matching username works.
[1012]
type=endpoint
context=default
disallow=all
allow=ulaw,alaw
auth=1012
aors=1012
[1012]
type=auth
auth_type=userpass
password=secure_password_here
username=1012
[1012]
type=aor
max_contacts=5
I am using Asterisk realtime architecture. Above are my conf which I converted to realtime.