I am also facing same issue.
I have registered one endpoint 9802188555.
##########################################################
Endpoint: <Endpoint/CID…> <State…> <Channels.>
I/OAuth: <AuthId/UserName…>
Aor: <Aor…>
Contact: <Aor/ContactUri…> <Hash…> <RTT(ms)…>
Transport: <TransportId…> <BindAddress…>
Identify: <Identify/Endpoint…>
Match: <criteria…>
Channel: <ChannelId…> <State…> <Time…>
Exten: <DialedExten…> CLCID: <ConnectedLineCID…>
Endpoint: 101 Unavailable 0 of inf
InAuth: 101/101
Aor: 101 1
Transport: transport-template udp 0 0 0.0.0.0:5060
Endpoint: 9802188555 Not in use 0 of inf
InAuth: 9802188555/9802188555
Aor: 9802188555 1
Transport: transport-template udp 0 0 0.0.0.0:5060
##############################################################
But when i execute pjsip show endpoints then endpoint becomes unreachable.
got message
== Contact 9802188555/sip:9802188555@10.193.2.159:38844;transport=UDP;rinstance=73fcf0cb992bf3eb has been deleted
== Endpoint 9802188555 is now Unreachable
Also when i initiate call on 9802188555 its becomes unreachable.
But if I reconfigure as statically in pjsip.conf the extensions register and work fine, switching to Realtime causes the issue.
The version of asterisk installed is v16.6.2.
ODBC Version 8.0
Please look into and help me if you have any solution.
Thanks