<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>hi,</p>
    <p>i have mix of realtime and static configuration of pjsip<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://pastebin.com/YVFwVsMD">https://pastebin.com/YVFwVsMD</a></p>
    <div class="de1">pjsip.conf</div>
    <div class="de1">[global]</div>
    <div class="de1">endpoint_identifier_order=username,ip,anonymous</div>
    <div class="de1">user_agent=ipbx</div>
    <div class="de2">...</div>
    <div class="de1">transport definition</div>
    <div class="de1"> </div>
    <div class="de1"> </div>
    <div class="de1">extconfig.conf</div>
    <div class="de2">[settings]</div>
    <div class="de1">ps_endpoints => odbc,configDb</div>
    <div class="de1">ps_auths => odbc,configDb</div>
    <div class="de1">ps_domain_aliases => odbc,configDb</div>
    <div class="de1">ps_aors => odbc,configDb</div>
    <div class="de2"> </div>
    <div class="de1">sorcery.conf</div>
    <div class="de1">[res_pjsip] </div>
    <div class="de1">endpoint/cache=memory_cache,expire_on_reload=yes,full_backend_cache=yes</div>
    <div class="de1">endpoint=realtime,ps_endpoints</div>
    <div class="de2">auth/cache=memory_cache,expire_on_reload=yes,full_backend_cache=yes</div>
    <div class="de1">auth=realtime,ps_auths</div>
    <div class="de1">aor/cache=memory_cache,expire_on_reload=yes,full_backend_cache=yes</div>
    <div class="de1">aor=realtime,ps_aors</div>
    <div class="de1">domain_alias=realtime,ps_domain_aliases</div>
    <p>but the section [global] is not honored</p>
    <p>CLI> pjsip show settings<br>
      <br>
      Global Settings:<br>
      <br>
       ParameterName                       : ParameterValue<br>
       ===============================================================<br>
       contact_expiration_check_interval   : 30<br>
       debug                               : no<br>
       default_from_user                   : asterisk<br>
       default_outbound_endpoint           : default_outbound_endpoint<br>
       default_realm                       : asterisk<br>
       default_voicemail_extension         :<br>
       disable_multi_domain                : false<br>
       endpoint_identifier_order           : ip,username,anonymous<br>
    </p>
    <p>--snip--</p>
    <p> user_agent                          : Asterisk PBX 13.16.0<br>
      <br>
    </p>
    <p>any ideas?</p>
    <p>Marek<br>
    </p>
    <p><br>
    </p>
  </body>
</html>