<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div> </div>

<div><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>On </b>Friday, November 4, 2016 10:20 AM - Joshua Colp wrote:</span><br />
 </div>

<div>>>On Fri, Nov 4, 2016, at 10:26 AM, Bryant Zimmerman wrote:<br />
>> Hey all<br />
>><br />
>> I am trying to configure all my pjsip transports form a database table.<br />
>> The issue I am running into is that pjsip is auto binding to 0.0.0.0:5060<br />
>> before it reads my list of transports from the database. This means that<br />
>> my<br />
>> entries for port 5060 are already bound and the settings in the database<br />
>> are not loaded.<br />
>><br />
>> When loading the transport form the .conf file it works as expected and<br />
>> does not do an auto binding, but uses what is in the .conf<br />
>><br />
>> Is there a way to have asterisk pjsip hold the default binding override<br />
>> until after it has checked the database when sourcery .conf configures a<br />
>> transport location other then pjsip.conf?<br />
<br />
>>PJSIP has no auto binding or default binding. It will only bind to what<br />
>>Is configured. Do you have it in both .conf and in realtime? Do you also<br />
>>have chan_sip loaded?<br />
<br />
Joshua</div>

<div> </div>

<div>You were correct. There was an old chan_sip.so in the bin folder that was being auto loaded. It was binding to 0.0.0.0:5060 causing the transports from the database for pjsip to fail. I forced down asterisk and deleted the chan_sip.so from the bin folder and the issue resolved. Looks like I need to go through and clean up old garbage from an earlier build so I don't get caught in the future. I also added a noload for chan_sip.so just incase one ever gets dropped back in the folder. </div>

<div> </div>

<div>Much thanks for the direction here I spent a lot of time trying to figure out where the binding was coming from.</div>

<div> </div>

<div>Bryant</div></span>