<div dir="ltr">Once again, Joshua. You saved the day.<div><br></div><div>I had previously sync'd the config of another box to this one before having problems. I had recompiled and made samples again. But didn't make install. Which I assume is what would've placed the correct doc in place again. Either way replacing that file with the one from the source tar fixed it. Thank you!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 5, 2022 at 3:43 PM Joshua C. Colp <<a href="mailto:jcolp@sangoma.com">jcolp@sangoma.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Dec 5, 2022 at 4:31 PM Nick Olsen <<a href="mailto:nick@141networks.com" target="_blank">nick@141networks.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>On a fresh install of 18.9 Cert2 (Or the latest 19 if I recall the previous version I tried.</div><div><br></div><div>PJSIP fails to load properly. It seems that the new res_geolocation module fails to load. But I can't seem to figure out why. And being that it's a fairly new module (So it seems) google-fo isn't being very helpful. This is running on Debian 11 and a freshly compiled install with only "make samples" done to create the config files. Any help would be appreciated!</div><div><br></div><div>newasterisk*CLI> module load res_pjsip.so<br>Unable to load module res_pjsip.so<br>Command 'module load res_pjsip.so ' failed.<br>[Dec  5 15:26:18] ERROR[2420]: loader.c:283 module_load_error: res_pjsip loaded before dependency res_geolocation!</div><div><br>newasterisk*CLI> module load res_geolocation.so<br>Unable to load module res_geolocation.so<br>Command 'module load res_geolocation.so ' failed.<br>[Dec  5 15:26:28] WARNING[2420]: config_options.c:1102 xmldoc_update_config_type: Cannot update type 'location' in module 'res_geolocation' because it has no existing documentation!<br>[Dec  5 15:26:28] ERROR[2420]: res_geolocation/geoloc_config.c:672 geoloc_config_load: Failed to register geoloc location object with sorcery</div></div></blockquote><div><br></div><div>This would mean that the documentation isn't in the core-en_US.xml file, normally located in the /var/lib/asterisk/documentation directory. I just built 18.9-cert3 and it is definitely there for me:</div><div><br></div></div><div> jcolp@kappa:~/development/asterisk/public [certified/18.9-cert3| …2⚑ 4]> grep "geolocation" /var/lib/asterisk/documentation/core-en_US.xml <br>        <use type="module">res_geolocation</use><br><module language="en_US" name="res_pjsip_geolocation"><br>      <depend>res_geolocation</depend><br><module language="en_US" name="res_geolocation"><br>      <configInfo name="res_geolocation" language="en_US"><br>                <configFile name="geolocation.conf"><br>                          <xi:include xpointer="xpointer(/docs/configInfo[@name='res_geolocation']/configFile[@name='geolocation.conf']/configObject[@name='location']/configOption[@name='format'])"/><br>                         <xi:include xpointer="xpointer(/docs/configInfo[@name='res_geolocation']/configFile[@name='geolocation.conf']/configObject[@name='location']/configOption[@name='location_info'])"/><br>                          <xi:include xpointer="xpointer(/docs/configInfo[@name='res_geolocation']/configFile[@name='geolocation.conf']/configObject[@name='location']/configOption[@name='confidence'])"/><br>                             <xi:include xpointer="xpointer(/docs/configInfo[@name='res_geolocation']/configFile[@name='geolocation.conf']/configObject[@name='location']/configOption[@name='location_source'])"/><br>                                <xi:include xpointer="xpointer(/docs/configInfo[@name='res_geolocation']/configFile[@name='geolocation.conf']/configObject[@name='location']/configOption[@name='method'])"/><br>                 Get or Set a field in a geolocation profile<br>                                           This geolocation profile will be applied to all calls received<br>                                                This geolocation profile will be applied to all calls received<br></div><div><br></div>And the module loads fine:<div><br></div><div>*CLI> module show like geolocation<br>Module                         Description                              Use Count  Status      Support Level<br>res_geolocation.so             res_geolocation Module for Asterisk      2          Running              core<br>res_pjsip_geolocation.so       res_pjsip_geolocation Module for Asteris 0          Running              core<br>2 modules loaded<br><div><br></div><div>Did you build Asterisk putting things in other directory locations? Is there an old core-en_US.xml file somewhere?</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Project Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>