<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div>It appears that res_odbc.so does not always load fast enough to allow the realtime mappings in the extconfig.conf to complete successfully at startup thus stopping the first load of the pjsip endpoints and other pjsip values. </div>
<div> </div>
<div>The resolution for this is to preload the res_odbc.so and res_config_odbc.so in the modules.conf. The realtime mappings then appear to complete correctly during startup and allows all the pjsip data to load correctly.</div>
<div><br />
Thanks<br />
<br />
Bryant</div>
<hr align="center" size="2" width="100%" />
<div>
<blockquote>
<p><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>Sent</b>: Wednesday, December 21, 2016 9:12 AM<br />
<b>Subject</b>: [asterisk-users] pjsip realtime - endpoints not loading.</span></p>
<div> </div>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">We are continuing to test our asterisk 13 pjsip deployments.</span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">I am running into an issue that I am assuming is a configuration problem, and am hoping someone can point me in the right direction. We are running pjsip in real-time mode using a database to store all the endpoint records. Our endpoint records with our carrier do not support registration.</span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;"> </span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">The issue I am having is when asterisk starts none of the non registration endpoints become available. They will not allow calls inbound or acknowledge qualify's. To get them to come on line we have to do a pjsip show endpoints, and then all works until asterisk is restarted.</span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;"> </span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">Is there any way to get the endpoints to load without manually doing the pjsip show endpoints?</span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;"> </span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">Any input is appreciated.</span></div>
<p> </p>
<div><br />
<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">Thanks</span></div>
<p> </p>
<div><span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;">Bryant</span></div>
</blockquote>
</div></span>