I am perplexed. I had my new asterisk 14.0.2 working fine then made a trivial change to extensions.conf and now can’t authenticate.
Here is the CLI output:
[Oct 7 17:04:36] NOTICE[3368]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request 'SUBSCRIBE' from '<sip:mark@markhorrocks.com>' failed for '' (callid: MGRiYjYyZGEzY2MyZjNlNTA3MTUwZWViYzVhYjIxM2M.) - No matching endpoint found
[Oct 7 17:04:36] NOTICE[3368]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request 'SUBSCRIBE' from '<sip:mark@markhorrocks.com>' failed for '' (callid: MGRiYjYyZGEzY2MyZjNlNTA3MTUwZWViYzVhYjIxM2M.) - Failed to authenticate
ubuntu-sgp1-01*CLI> pjsip show endpoints
No objects found.
Here is my pjsip.conf
;================================ TRANSPORTS ==
[transport-udp-nat]
type = transport
protocol = udp
bind = 0.0.0.0
; NAT settings
local_net = 10.0.0.0/8
external_media_address = 1.2.3.4
external_signaling_address = 1.2.3.4
endpoint-internal-d70
type = endpoint
transport = transport-udp-nat
context = Long-Distance
allow = !all,g722,ulaw
direct_media = no
trust_id_outbound = yes
device_state_busy_at = 1
dtmf_mode = rfc2833
auth-userpass
type = auth
auth_type = userpass
aor-single-reg
type = aor
max_contacts = 1
mark
auth = mark
aors = mark
callerid = Mark Horrocks
mark
password = not_really_my_password
username = mark
mark
mailboxes = mark@example