We have a realtime setup with pjsip on Asterisk 18.5.1, everything works fine and endpoint etc seem to update when changed. The only issue is when adding a new aor/id_ip we still have to call a reload in the CLI for it to start sending options. From my understanding unless specified caching is not enabled by default, is there a reason we must reload for options to start sending?
[settings] ps_endpoints=>odbc,db,ps_endpoints ps_auths=>odbc,db,ps_auths ps_aors=>odbc,db,ps_aors ps_contacts=>odbc,db,ps_contacts ps_endpoint_id_ips=>odbc,db,ps_endpoint_id_ips
[res_pjsip] endpoint=realtime,ps_endpoints auth=realtime,ps_auths aor=realtime,ps_aors contact=realtime,ps_contacts [res_pjsip_endpoint_identifier_ip] identify=realtime,ps_endpoint_id_ips
To replicate the issue we simply add a new endpoint+aor+id_ip in the database and require to reload before options send (please note the other side is NOT always sending options).
Before reloading using commands like all work fine, we can see the new rows added:
pjsip list endpoints / pjsip lisp aors / pjsip list identifies
Thanks in advance!