Hello,
We had endpoint ( number has been hidden by asterisk ):
vm-lab-28*CLI> pjsip show endpoints
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: my_provider_endpoint/5*******9 Not in use 0 of inf
OutAuth: provider_auth/5*******9
Aor: my_provider_aor 0
Contact: my_provider_aor/sip:5*******9@192.168.0.4 2f04066231 Avail 0.481
Endpoint: test Unavailable 0 of inf
InAuth: test/test
Aor: test 2
Objects found: 2
vm-lab-28*CLI> pjsip show aors
Aor: <Aor..............................................> <MaxContact>
Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================
Aor: my_provider_aor 0
Contact: my_provider_aor/sip:5*******9@192.168.0.4 2f04066231 Avail 0.481
Aor: test 2
Objects found: 2
after adding AUTH through ARI everything is correct, but after adding AOR we have:
== Endpoint my_provider_endpoint is now Unreachable
vm-lab-28*CLI> pjsip show endpoints
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: my_provider_endpoint/5*******9 Unavailable 0 of inf
OutAuth: provider_auth/5*******9
Aor: my_provider_aor 0
Contact: my_provider_aor/sip:5*******9@192.168.0.4 2f04066231 Avail 0.416
vm-lab-28*CLI> pjsip show aors
Aor: <Aor..............................................> <MaxContact>
Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================
Aor: mateusz125 1
Aor: mateusz125 1
Aor: my_provider_aor 0
Contact: my_provider_aor/sip:5*******9@192.168.0.4 2f04066231 Avail 1.132
Aor: test 2
Objects found: 4
Contact in “my_provider_aor” was available. Endpoint status has been Unavailable until I reload pjsip. I can still make calls via endpoint “my_provider_endpoint” when its status is Unavailable
vm-lab-28*CLI> pjsip reload
Is it a bug or do I need do change the configuration so that adding a new aor does not change the endpoint state that this aor does not apply to?