[asterisk-users] Alembic - Asterisk 11

Matthew Jordan mjordan at digium.com
Tue Apr 15 06:59:49 CDT 2014

On Mon, Apr 14, 2014 at 12:26 PM, Josh Metzger <joshdmetzger at gmail.com> wrote:
> I've had years of experience using ODBC for CDR, SIP, and extensions with
> Asterisk.  One thing that has been problematic in the past is with
> documentation as far as database tables changing between versions (even
> within minor releases, though that was back in the 1.4 days).  I was excited
> to see there is a plan for better managing that on Asterisk 12 via Alembic.
> All that being said, are there any plans to implement that with Asterisk 11,
> since that is the current LTS release?  Or are we pretty sure the table
> structure won't be changing within that version through the rest of its
> lifespan, making such an effort a waste?

There are no plans to implement Alembic in Asterisk 11. This is for a
few reasons:

(1) Asterisk 11 is an LTS and is already released. Simply introducing
Alembic at this time for it is potentially disruptive. Asterisk 12, as
a Standard release, was the appropriate place to introduce such a new

(2) Schema changes in Asterisk 11 are rare, and would only be done as
a result of a critical bug that absolutely required such a change.
Schema changes mid-release would be noted in the UPGRADE notes.
Asterisk 12, on the other hand, has limited support for new features.
Some of these new features - such as new parameters for the PJSIP
stack - require new database fields. As such, various schemas have
changed more frequently in this release; in this situation, Alembic is
far more useful.


Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

More information about the asterisk-users mailing list