[asterisk-users] Question on pjsip.conf and aors

Dan Cropp dan at amtelco.com
Fri Feb 14 13:03:10 CST 2020


I have the following configuration...

[aor3]
type = aor
max_contacts = 1
remove_existing = yes

[auth3]
type = auth
username = 1004
password = SuperSecretProbation

[1004]
type = endpoint
context = IS
transport = transport1
auth = auth3
aors = aor3
accountcode = 3
dtmf_mode = rfc4733
device_state_busy_at = 2
force_rport = no
moh_passthrough = yes
disallow = all
allow = ulaw
acl = acl1


When a register attempt is received, asterisk outputs...
[02/14 12:53:29.870] WARNING[7883] res_pjsip_registrar.c: AOR '1004' not found for endpoint '1004'

If I change the aor3 to be 1004, everything works.  As in [aor3] becomes [1004] and in the endpoint change aors = aor3 to be aors = 1004
Is there a setting I'm missing to allow the endpoint named 1004 to use an auth that doesn't have the same 1004 name?

Dan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200214/a448dc49/attachment.html>


More information about the asterisk-users mailing list