Update for 13.37.0-rc1

This commit is contained in:
Asterisk Development Team
2020-09-09 09:11:32 -05:00
parent 8ccae31f5d
commit 7a5b1ab47a
11 changed files with 74048 additions and 0 deletions

1
.lastclean Normal file
View File

@@ -0,0 +1 @@
40

1
.version Normal file
View File

@@ -0,0 +1 @@
13.37.0-rc1

71124
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,66 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><title>Release Summary - asterisk-13.37.0-rc1</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-13.37.0-rc1</h3><h3 align="center">Date: 2020-09-09</h3><h3 align="center">&lt;asteriskteam@digium.com&gt;</h3><hr><h2 align="center">Table of Contents</h2><ol>
<li><a href="#summary">Summary</a></li>
<li><a href="#contributors">Contributors</a></li>
<li><a href="#closed_issues">Closed Issues</a></li>
<li><a href="#commits">Other Changes</a></li>
<li><a href="#diffstat">Diffstat</a></li>
</ol><hr><a name="summary"><h2 align="center">Summary</h2></a><center><a href="#top">[Back to Top]</a></center><p>This release is a point release of an existing major version. The changes included were made to address problems that have been identified in this release series, or are minor, backwards compatible new features or improvements. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous version are strongly encouraged to review the UPGRADE.txt document as well as the CHANGES document for information about upgrading to this release series.</p><p>The data in this summary reflects changes that have been made since the previous release, asterisk-13.36.0.</p><hr><a name="contributors"><h2 align="center">Contributors</h2></a><center><a href="#top">[Back to Top]</a></center><p>This table lists the people who have submitted code, those that have tested patches, as well as those that reported issues on the issue tracker that were resolved in this release. For coders, the number is how many of their patches (of any size) were committed into this release. For testers, the number is the number of times their name was listed as assisting with testing a patch. Finally, for reporters, the number is the number of issues that they reported that were affected by commits that went into this release.</p><table width="100%" border="0">
<tr><th width="33%">Coders</th><th width="33%">Testers</th><th width="33%">Reporters</th></tr>
<tr valign="top"><td width="33%">3 Sean Bright <sean.bright@gmail.com><br/>3 Joshua C. Colp <jcolp@sangoma.com><br/>2 George Joseph <gjoseph@digium.com><br/>2 Alexander Traud <pabstraud@compuserve.com><br/>1 Kfir Itzhak <mastertheknife@gmail.com><br/>1 Kevin Harwell <kharwell@digium.com><br/>1 Torrey Searle <tsearle@voxbone.com><br/>1 Asterisk Development Team <asteriskteam@digium.com><br/>1 Patrick Verzele <patrick@verzele.be><br/>1 Nickolay Shmyrev <nshmyrev@alphacephei.com><br/>1 Tzafrir Cohen <tzafrir@debian.org><br/></td><td width="33%"><td width="33%">1 Dennis <dennis.buteyn@xorcom.com><br/>1 Nickolay V. Shmyrev <nshmyrev@alphacephei.com><br/>1 Ramarajan <pramarajan@sangoma.com><br/>1 Ove Aursand <oveaurs@gmail.com><br/>1 Thomas Johnson <tjohnson@microautomation.com><br/>1 Misha Vodsedalek <vmisha@seznam.cz><br/>1 Torrey Searle <tsearle@gmail.com><br/>1 Kfir Itzhak <mastertheknife@gmail.com><br/>1 Joshua C. Colp <jcolp@digium.com><br/>1 Karsten Wemheuer <kwe-digium@iptam.com><br/>1 Joseph Ades <josephades1@gmail.com><br/>1 Leandro Dardini <ldardini@gmail.com><br/></td></tr>
</table><hr><a name="closed_issues"><h2 align="center">Closed Issues</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p><h3>Bug</h3><h4>Category: Applications/app_queue</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25665">ASTERISK-25665</a>: Duplicate logging in queue log for EXITEMPTY events<br/>Reported by: Ove Aursand<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0064aa0107c377805293198e5214611f79778485">[0064aa0107]</a> Kfir Itzhak -- app_queue: Fix leave-empty not recording a call as abandoned</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29043">ASTERISK-29043</a>: app_queue: Leave empty sometimes not recorded as abandoned<br/>Reported by: Kfir Itzhak<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0064aa0107c377805293198e5214611f79778485">[0064aa0107]</a> Kfir Itzhak -- app_queue: Fix leave-empty not recording a call as abandoned</li>
</ul><br><h4>Category: Applications/app_voicemail</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29029">ASTERISK-29029</a>: Voicemail "pollmailboxes"-option not working, bug in function handle_subscribe<br/>Reported by: Karsten Wemheuer<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4cc8d29fd3dbf97c597a02cdb5815c925cc4f3e3">[4cc8d29fd3]</a> Sean Bright -- app_voicemail: Fix pollmailboxes</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-27273">ASTERISK-27273</a>: app_voicemail: When a voicemail is marked as "Urgent", it is not sent by email/processed by the mailcmd command<br/>Reported by: Leandro Dardini<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=273f819dfe29bf3decd4835a9f2989dffa3472fb">[273f819dfe]</a> Sean Bright -- app_voicemail: Process urgent messages with mailcmd</li>
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28878">ASTERISK-28878</a>: chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16<br/>Reported by: Joseph Ades<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bf139ff519670117735373c58c892f5b816429df">[bf139ff519]</a> Kevin Harwell -- chan_pjsip: disallow PJSIP_SEND_SESSION_REFRESH pre-answer execution</li>
</ul><br><h4>Category: PBX/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29046">ASTERISK-29046</a>: pbx: Deadlock when doing a reload, while simultaneously doing an ExtensionState on a pattern match hint that ends up adding an extension<br/>Reported by: Ramarajan<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e519d28fe05c37c1e59ef9386bc6fbf131f9c081">[e519d28fe0]</a> Joshua C. Colp -- pbx: Fix hints deadlock between reload and ExtensionState.</li>
</ul><br><h4>Category: Resources/res_parking</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29042">ASTERISK-29042</a>: res_parking: Parker UUID is no longer copied<br/>Reported by: Misha Vodsedalek<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dc6d3a746c2c1bdc458bc3249340686637624177">[dc6d3a746c]</a> Joshua C. Colp -- parking: Copy parker UUID as well.</li>
</ul><br><h4>Category: Resources/res_pjsip_diversion</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29001">ASTERISK-29001</a>: chan_pjsip does not process or forward 181 responses<br/>Reported by: Torrey Searle<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=efb682c8f29dc856c9d20326adeefec72a2c16d9">[efb682c8f2]</a> Torrey Searle -- res_pjsip_diversion: handle 181</li>
</ul><br><h4>Category: Resources/res_pjsip_session</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29033">ASTERISK-29033</a>: res_pjsip_session: Aggressively terminates session on failed re-INVITE<br/>Reported by: Joshua C. Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=02dee3986a6baccea7f1fe6c97b42ecd736c5008">[02dee3986a]</a> Joshua C. Colp -- res_pjsip_session: Don't aggressively terminate on failed re-INVITE.</li>
</ul><br><h4>Category: Resources/res_rtp_asterisk</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28974">ASTERISK-28974</a>: res_rtp_asterisk: T.140 messages have appended RTP string to each message block.<br/>Reported by: Thomas Johnson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=179530558da026d6b18cbf42d59fe49c7600fd03">[179530558d]</a> Sean Bright -- bridge_channel: Ensure text messages are zero terminated</li>
</ul><br><h4>Category: Resources/res_speech</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29040">ASTERISK-29040</a>: res_speech: Assertion on format<br/>Reported by: Nickolay V. Shmyrev<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fd49b4b43c9befd225e916911fe00af02b75f359">[fd49b4b43c]</a> Nickolay Shmyrev -- res_speech: Bump reference on format object</li>
</ul><br><h3>Improvement</h3><h4>Category: Applications/app_followme</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29010">ASTERISK-29010</a>: Allow disabling of FollowMe prompt<br/>Reported by: Dennis<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c1117777566161b27ab5ee97297ffd1ef72c1216">[c111777756]</a> Tzafrir Cohen -- followme: allow disabling callee prompt</li>
</ul><br><hr><a name="commits"><h2 align="center">Commits Not Associated with an Issue</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all changes that went into this release that did not reference a JIRA issue.</p><table width="100%" border="1">
<tr><th>Revision</th><th>Author</th><th>Summary</th></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8ccae31f5dceb4dc8c6f17f259450409f5a9e408">8ccae31f5d</a></td><td>Asterisk Development Team</td><td>Update CHANGES and UPGRADE.txt for 13.37.0</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d649ab4a30ee48fbe92616e2ced7a54e5f184102">d649ab4a30</a></td><td>Patrick Verzele</td><td>res_pjsip_session: Deferred re-INVITE without SDP send a=sendrecv instead of a=sendonly</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bc615ee4c4911856ef5b43b1b1174e604fdbb446">bc615ee4c4</a></td><td>George Joseph</td><td>ast_coredumper: Fix issues with naming</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=384f2638b295e5e5624596381394c93d9bea2f06">384f2638b2</a></td><td>Alexander Traud</td><td>sip_nat_settings: Update script for latest Linux.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8055807be2d695f9992d35562d7f92a8ef5f637f">8055807be2</a></td><td>Alexander Traud</td><td>samples: Fix keep_alive_interval default in pjsip.conf.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c7df06a07744216b165795e99f4efe2e65d9a3d2">c7df06a077</a></td><td>George Joseph</td><td>scope_trace: Updated macro stubs to match other branches</td></tr>
</table><hr><a name="diffstat"><h2 align="center">Diffstat Results</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a summary of the changes to the source code that went into this release that was generated using the diffstat utility.</p><pre>.lastclean | 1
.version | 1
ChangeLog |70953 -------------------
asterisk-13.36.0-summary.html | 64
asterisk-13.36.0-summary.txt | 226
b/CHANGES | 9
b/apps/app_followme.c | 90
b/apps/app_queue.c | 1
b/apps/app_voicemail.c | 30
b/channels/pjsip/dialplan_functions.c | 5
b/configs/samples/followme.conf.sample | 8
b/configs/samples/pjsip.conf.sample | 10
b/contrib/scripts/ast_coredumper | 4
b/contrib/scripts/sip_nat_settings | 19
b/include/asterisk/frame.h | 5
b/include/asterisk/logger.h | 81
b/main/bridge_channel.c | 37
b/res/res_pjsip_diversion.c | 2
contrib/realtime/mysql/mysql_cdr.sql | 33
contrib/realtime/mysql/mysql_config.sql | 1195
contrib/realtime/mysql/mysql_voicemail.sql | 35
contrib/realtime/postgresql/postgresql_cdr.sql | 37
contrib/realtime/postgresql/postgresql_config.sql | 1293
contrib/realtime/postgresql/postgresql_voicemail.sql | 39
24 files changed, 219 insertions(+), 73959 deletions(-)</pre><br></html>

View File

@@ -0,0 +1,224 @@
Release Summary
asterisk-13.37.0-rc1
Date: 2020-09-09
<asteriskteam@digium.com>
----------------------------------------------------------------------
Table of Contents
1. Summary
2. Contributors
3. Closed Issues
4. Other Changes
5. Diffstat
----------------------------------------------------------------------
Summary
[Back to Top]
This release is a point release of an existing major version. The changes
included were made to address problems that have been identified in this
release series, or are minor, backwards compatible new features or
improvements. Users should be able to safely upgrade to this version if
this release series is already in use. Users considering upgrading from a
previous version are strongly encouraged to review the UPGRADE.txt
document as well as the CHANGES document for information about upgrading
to this release series.
The data in this summary reflects changes that have been made since the
previous release, asterisk-13.36.0.
----------------------------------------------------------------------
Contributors
[Back to Top]
This table lists the people who have submitted code, those that have
tested patches, as well as those that reported issues on the issue tracker
that were resolved in this release. For coders, the number is how many of
their patches (of any size) were committed into this release. For testers,
the number is the number of times their name was listed as assisting with
testing a patch. Finally, for reporters, the number is the number of
issues that they reported that were affected by commits that went into
this release.
Coders Testers Reporters
3 Sean Bright 1 Dennis
3 Joshua C. Colp 1 Nickolay V. Shmyrev
2 George Joseph 1 Ramarajan
2 Alexander Traud 1 Ove Aursand
1 Kfir Itzhak 1 Thomas Johnson
1 Kevin Harwell 1 Misha Vodsedalek
1 Torrey Searle 1 Torrey Searle
1 Asterisk Development Team 1 Kfir Itzhak
1 Patrick Verzele 1 Joshua C. Colp
1 Nickolay Shmyrev 1 Karsten Wemheuer
1 Tzafrir Cohen 1 Joseph Ades
1 Leandro Dardini
----------------------------------------------------------------------
Closed Issues
[Back to Top]
This is a list of all issues from the issue tracker that were closed by
changes that went into this release.
Bug
Category: Applications/app_queue
ASTERISK-25665: Duplicate logging in queue log for EXITEMPTY events
Reported by: Ove Aursand
* [0064aa0107] Kfir Itzhak -- app_queue: Fix leave-empty not recording a
call as abandoned
ASTERISK-29043: app_queue: Leave empty sometimes not recorded as abandoned
Reported by: Kfir Itzhak
* [0064aa0107] Kfir Itzhak -- app_queue: Fix leave-empty not recording a
call as abandoned
Category: Applications/app_voicemail
ASTERISK-29029: Voicemail "pollmailboxes"-option not working, bug in
function handle_subscribe
Reported by: Karsten Wemheuer
* [4cc8d29fd3] Sean Bright -- app_voicemail: Fix pollmailboxes
ASTERISK-27273: app_voicemail: When a voicemail is marked as "Urgent", it
is not sent by email/processed by the mailcmd command
Reported by: Leandro Dardini
* [273f819dfe] Sean Bright -- app_voicemail: Process urgent messages
with mailcmd
Category: Channels/chan_pjsip
ASTERISK-28878: chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16
Reported by: Joseph Ades
* [bf139ff519] Kevin Harwell -- chan_pjsip: disallow
PJSIP_SEND_SESSION_REFRESH pre-answer execution
Category: PBX/General
ASTERISK-29046: pbx: Deadlock when doing a reload, while simultaneously
doing an ExtensionState on a pattern match hint that ends up adding an
extension
Reported by: Ramarajan
* [e519d28fe0] Joshua C. Colp -- pbx: Fix hints deadlock between reload
and ExtensionState.
Category: Resources/res_parking
ASTERISK-29042: res_parking: Parker UUID is no longer copied
Reported by: Misha Vodsedalek
* [dc6d3a746c] Joshua C. Colp -- parking: Copy parker UUID as well.
Category: Resources/res_pjsip_diversion
ASTERISK-29001: chan_pjsip does not process or forward 181 responses
Reported by: Torrey Searle
* [efb682c8f2] Torrey Searle -- res_pjsip_diversion: handle 181
Category: Resources/res_pjsip_session
ASTERISK-29033: res_pjsip_session: Aggressively terminates session on
failed re-INVITE
Reported by: Joshua C. Colp
* [02dee3986a] Joshua C. Colp -- res_pjsip_session: Don't aggressively
terminate on failed re-INVITE.
Category: Resources/res_rtp_asterisk
ASTERISK-28974: res_rtp_asterisk: T.140 messages have appended RTP string
to each message block.
Reported by: Thomas Johnson
* [179530558d] Sean Bright -- bridge_channel: Ensure text messages are
zero terminated
Category: Resources/res_speech
ASTERISK-29040: res_speech: Assertion on format
Reported by: Nickolay V. Shmyrev
* [fd49b4b43c] Nickolay Shmyrev -- res_speech: Bump reference on format
object
Improvement
Category: Applications/app_followme
ASTERISK-29010: Allow disabling of FollowMe prompt
Reported by: Dennis
* [c111777756] Tzafrir Cohen -- followme: allow disabling callee prompt
----------------------------------------------------------------------
Commits Not Associated with an Issue
[Back to Top]
This is a list of all changes that went into this release that did not
reference a JIRA issue.
+------------------------------------------------------------------------+
| Revision | Author | Summary |
|------------+----------------------+------------------------------------|
| 8ccae31f5d | Asterisk Development | Update CHANGES and UPGRADE.txt for |
| | Team | 13.37.0 |
|------------+----------------------+------------------------------------|
| | | res_pjsip_session: Deferred |
| d649ab4a30 | Patrick Verzele | re-INVITE without SDP send |
| | | a=sendrecv instead of a=sendonly |
|------------+----------------------+------------------------------------|
| bc615ee4c4 | George Joseph | ast_coredumper: Fix issues with |
| | | naming |
|------------+----------------------+------------------------------------|
| 384f2638b2 | Alexander Traud | sip_nat_settings: Update script |
| | | for latest Linux. |
|------------+----------------------+------------------------------------|
| 8055807be2 | Alexander Traud | samples: Fix keep_alive_interval |
| | | default in pjsip.conf. |
|------------+----------------------+------------------------------------|
| c7df06a077 | George Joseph | scope_trace: Updated macro stubs |
| | | to match other branches |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
Diffstat Results
[Back to Top]
This is a summary of the changes to the source code that went into this
release that was generated using the diffstat utility.
.lastclean | 1
.version | 1
ChangeLog |70953 -------------------
asterisk-13.36.0-summary.html | 64
asterisk-13.36.0-summary.txt | 226
b/CHANGES | 9
b/apps/app_followme.c | 90
b/apps/app_queue.c | 1
b/apps/app_voicemail.c | 30
b/channels/pjsip/dialplan_functions.c | 5
b/configs/samples/followme.conf.sample | 8
b/configs/samples/pjsip.conf.sample | 10
b/contrib/scripts/ast_coredumper | 4
b/contrib/scripts/sip_nat_settings | 19
b/include/asterisk/frame.h | 5
b/include/asterisk/logger.h | 81
b/main/bridge_channel.c | 37
b/res/res_pjsip_diversion.c | 2
contrib/realtime/mysql/mysql_cdr.sql | 33
contrib/realtime/mysql/mysql_config.sql | 1195
contrib/realtime/mysql/mysql_voicemail.sql | 35
contrib/realtime/postgresql/postgresql_cdr.sql | 37
contrib/realtime/postgresql/postgresql_config.sql | 1293
contrib/realtime/postgresql/postgresql_voicemail.sql | 39
24 files changed, 219 insertions(+), 73959 deletions(-)

View File

@@ -0,0 +1,33 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR(20),
src VARCHAR(80),
dst VARCHAR(80),
dcontext VARCHAR(80),
clid VARCHAR(80),
channel VARCHAR(80),
dstchannel VARCHAR(80),
lastapp VARCHAR(80),
lastdata VARCHAR(80),
start DATETIME,
answer DATETIME,
end DATETIME,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR(45),
amaflags VARCHAR(45),
userfield VARCHAR(256),
uniqueid VARCHAR(150),
linkedid VARCHAR(150),
peeraccount VARCHAR(20),
sequence INTEGER
);
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> a2e9769475e
CREATE TABLE voicemail_messages (
dir VARCHAR(255) NOT NULL,
msgnum INTEGER NOT NULL,
context VARCHAR(80),
macrocontext VARCHAR(80),
callerid VARCHAR(80),
origtime INTEGER,
duration INTEGER,
recording BLOB,
flag VARCHAR(30),
category VARCHAR(30),
mailboxuser VARCHAR(30),
mailboxcontext VARCHAR(30),
msg_id VARCHAR(40)
);
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages MODIFY recording BLOB(4294967295) NULL;
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';

View File

@@ -0,0 +1,37 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR(20),
src VARCHAR(80),
dst VARCHAR(80),
dcontext VARCHAR(80),
clid VARCHAR(80),
channel VARCHAR(80),
dstchannel VARCHAR(80),
lastapp VARCHAR(80),
lastdata VARCHAR(80),
start TIMESTAMP WITHOUT TIME ZONE,
answer TIMESTAMP WITHOUT TIME ZONE,
"end" TIMESTAMP WITHOUT TIME ZONE,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR(45),
amaflags VARCHAR(45),
userfield VARCHAR(256),
uniqueid VARCHAR(150),
linkedid VARCHAR(150),
peeraccount VARCHAR(20),
sequence INTEGER
);
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
COMMIT;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,39 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> a2e9769475e
CREATE TABLE voicemail_messages (
dir VARCHAR(255) NOT NULL,
msgnum INTEGER NOT NULL,
context VARCHAR(80),
macrocontext VARCHAR(80),
callerid VARCHAR(80),
origtime INTEGER,
duration INTEGER,
recording BYTEA,
flag VARCHAR(30),
category VARCHAR(30),
mailboxuser VARCHAR(30),
mailboxcontext VARCHAR(30),
msg_id VARCHAR(40)
);
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages ALTER COLUMN recording TYPE BYTEA;
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';
COMMIT;