[asterisk-users] pjsip transports from database.
Joshua Colp
jcolp at digium.com
Fri Nov 4 09:20:03 CDT 2016
On Fri, Nov 4, 2016, at 10:26 AM, Bryant Zimmerman wrote:
> Hey all
>
> I am trying to configure all my pjsip transports form a database table.
> The issue I am running into is that pjsip is auto binding to 0.0.0.0:5060
> before it reads my list of transports from the database. This means that
> my
> entries for port 5060 are already bound and the settings in the database
> are not loaded.
>
> When loading the transport form the .conf file it works as expected and
> does not do an auto binding, but uses what is in the .conf
>
> Is there a way to have asterisk pjsip hold the default binding override
> until after it has checked the database when sourcery .conf configures a
> transport location other then pjsip.conf?
PJSIP has no auto binding or default binding. It will only bind to what
is configured. Do you have it in both .conf and in realtime? Do you also
have chan_sip loaded?
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list