mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Update for 13.36.0-rc1
This commit is contained in:
1
.lastclean
Normal file
1
.lastclean
Normal file
@@ -0,0 +1 @@
|
||||
40
|
58
asterisk-13.36.0-rc1-summary.html
Normal file
58
asterisk-13.36.0-rc1-summary.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<!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.36.0-rc1</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-13.36.0-rc1</h3><h3 align="center">Date: 2020-08-20</h3><h3 align="center"><asteriskteam@digium.com></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.35.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%">5 Sean Bright <sean.bright@gmail.com><br/>2 Joshua C. Colp <jcolp@sangoma.com><br/>1 Michael Neuhauser <mike@firmix.at><br/>1 Asterisk Development Team <asteriskteam@digium.com><br/>1 George Joseph <gjoseph@digium.com><br/>1 Nickolay Shmyrev <nshmyrev@alphacephei.com><br/>1 Dennis Buteyn <dennis.buteyn@xorcom.com><br/>1 sungtae kim <sungtae@messagebird.com><br/></td><td width="33%"><td width="33%">1 Dennis <dennis.buteyn@xorcom.com><br/>1 Michael Neuhauser<br/>1 tootai <admin@tootai.net><br/>1 David Cunningham <dcunningham@voisonics.com><br/>1 Andrew Yager <andrew@rwts.com.au><br/>1 Michael Neuhauser <mike@firmix.at><br/>1 Nickolay V. Shmyrev <nshmyrev@alphacephei.com><br/>1 sungtae kim <pchero21@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: Channels/chan_sip/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29011">ASTERISK-29011</a>: chan_sip: ToHost property not cleared on reload<br/>Reported by: Dennis<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=56f446482b612a60b05d964a857e4331fbac8cbe">[56f446482b]</a> Dennis Buteyn -- chan_sip: Clear ToHost property on peer when changing to dynamic host</li>
|
||||
</ul><br><h4>Category: Core/ACL</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28978">ASTERISK-28978</a>: acl: named_acl rule misconfiguration results in segfault on reading rule from realtime<br/>Reported by: Andrew Yager<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ff90e006773c6d219fcc3646420d373fdbd32f33">[ff90e00677]</a> Sean Bright -- acl.c: Coerce a NULL pointer into the empty string</li>
|
||||
</ul><br><h4>Category: Resources/res_http_websocket</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28975">ASTERISK-28975</a>: res_http_websocket: Text payload data doesn't necessary include trailing zero<br/>Reported by: Nickolay V. Shmyrev<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f8f934b5451c4671dcdd5f02a1de4aa386944b53">[f8f934b545]</a> Nickolay Shmyrev -- res_http_websocket: Avoid reading past end of string</li>
|
||||
</ul><br><h4>Category: Resources/res_musiconhold</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28927">ASTERISK-28927</a>: Asterisk crash in music on hold<br/>Reported by: David Cunningham<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7379a544242498d2fe99e22372bcd75100dd34c7">[7379a54424]</a> Sean Bright -- res_musiconhold.c: Prevent crash with realtime MoH</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28995">ASTERISK-28995</a>: res_pjsip_registrar: Expires on statically configured contacts is not correct<br/>Reported by: tootai<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5c0d247d69252caeed7be39aaeccd92e72d74fd0">[5c0d247d69]</a> Joshua C. Colp -- res_pjsip_registrar: Don't specify an expiration for static contacts.</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip_registrar</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28995">ASTERISK-28995</a>: res_pjsip_registrar: Expires on statically configured contacts is not correct<br/>Reported by: tootai<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5c0d247d69252caeed7be39aaeccd92e72d74fd0">[5c0d247d69]</a> Joshua C. Colp -- res_pjsip_registrar: Don't specify an expiration for static contacts.</li>
|
||||
</ul><br><h4>Category: Resources/res_stasis</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28987">ASTERISK-28987</a>: BridgeCreated ARI event shows wrong video_mode info<br/>Reported by: sungtae kim<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=53f9bbdc2de3059cf96825ddce0c3eb4cca4fc09">[53f9bbdc2d]</a> sungtae kim -- stasis_bridge.c: Fixed wrong video_mode shown</li>
|
||||
</ul><br><h4>Category: pjproject/pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28973">ASTERISK-28973</a>: Malformed IP address in SDP of 2nd SIP timer triggered INVITE when NAT is active (UDP transport with external_media_address)<br/>Reported by: Michael Neuhauser<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dd739f8a08ea32671b3ecc2400ccc9a2b4554cc2">[dd739f8a08]</a> Michael Neuhauser -- pjproject: clone sdp to protect against (nat) modifications</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=46fb9fb663102c742266c2d165d82f17cd69df73">46fb9fb663</a></td><td>Sean Bright</td><td>vector.h: Fix implementation of AST_VECTOR_COMPACT() for empty vectors</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=718efe9365683ebfb39ead0486e21f616e2e1503">718efe9365</a></td><td>Sean Bright</td><td>utf8.c: Add UTF-8 validation and utility functions</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4fec6da25bab644a040606d2d0bcc49e0f79818b">4fec6da25b</a></td><td>Sean Bright</td><td>vector.h: Add AST_VECTOR_SORT()</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f6afac1b3747e1803c8585e41a6ced8e977b5f51">f6afac1b37</a></td><td>George Joseph</td><td>CI: Force publishAsteriskDocs to use python2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bcdc3ec645f6f824c423e93826774ccde454320c">bcdc3ec645</a></td><td>Joshua C. Colp</td><td>pjsip: Include timer patch to prevent cancelling timer 0.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=77a5383957504d58889d4347ce72792aac6e51ea">77a5383957</a></td><td>Asterisk Development Team</td><td>Update CHANGES and UPGRADE.txt for 13.35.0</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 |70720 -------------------
|
||||
asterisk-13.35.0-summary.html | 132
|
||||
asterisk-13.35.0-summary.txt | 344
|
||||
b/channels/chan_sip.c | 1
|
||||
b/include/asterisk/utf8.h | 188
|
||||
b/include/asterisk/vector.h | 50
|
||||
b/main/acl.c | 2
|
||||
b/main/asterisk.c | 2
|
||||
b/main/bridge.c | 1
|
||||
b/main/utf8.c | 382
|
||||
b/res/res_http_websocket.c | 3
|
||||
b/res/res_musiconhold.c | 122
|
||||
b/res/res_pjsip_registrar.c | 6
|
||||
b/res/res_stasis.c | 2
|
||||
b/res/stasis/stasis_bridge.c | 5
|
||||
b/tests/CI/publishAsteriskDocs.sh | 3
|
||||
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, 715 insertions(+), 73882 deletions(-)</pre><br></html>
|
197
asterisk-13.36.0-rc1-summary.txt
Normal file
197
asterisk-13.36.0-rc1-summary.txt
Normal file
@@ -0,0 +1,197 @@
|
||||
Release Summary
|
||||
|
||||
asterisk-13.36.0-rc1
|
||||
|
||||
Date: 2020-08-20
|
||||
|
||||
<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.35.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
|
||||
5 Sean Bright 1 Dennis
|
||||
2 Joshua C. Colp 1 Michael Neuhauser
|
||||
1 Michael Neuhauser 1 tootai
|
||||
1 Asterisk Development Team 1 David Cunningham
|
||||
1 George Joseph 1 Andrew Yager
|
||||
1 Nickolay Shmyrev 1 Michael Neuhauser
|
||||
1 Dennis Buteyn 1 Nickolay V. Shmyrev
|
||||
1 sungtae kim 1 sungtae kim
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
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: Channels/chan_sip/General
|
||||
|
||||
ASTERISK-29011: chan_sip: ToHost property not cleared on reload
|
||||
Reported by: Dennis
|
||||
* [56f446482b] Dennis Buteyn -- chan_sip: Clear ToHost property on peer
|
||||
when changing to dynamic host
|
||||
|
||||
Category: Core/ACL
|
||||
|
||||
ASTERISK-28978: acl: named_acl rule misconfiguration results in segfault
|
||||
on reading rule from realtime
|
||||
Reported by: Andrew Yager
|
||||
* [ff90e00677] Sean Bright -- acl.c: Coerce a NULL pointer into the
|
||||
empty string
|
||||
|
||||
Category: Resources/res_http_websocket
|
||||
|
||||
ASTERISK-28975: res_http_websocket: Text payload data doesn't necessary
|
||||
include trailing zero
|
||||
Reported by: Nickolay V. Shmyrev
|
||||
* [f8f934b545] Nickolay Shmyrev -- res_http_websocket: Avoid reading
|
||||
past end of string
|
||||
|
||||
Category: Resources/res_musiconhold
|
||||
|
||||
ASTERISK-28927: Asterisk crash in music on hold
|
||||
Reported by: David Cunningham
|
||||
* [7379a54424] Sean Bright -- res_musiconhold.c: Prevent crash with
|
||||
realtime MoH
|
||||
|
||||
Category: Resources/res_pjsip
|
||||
|
||||
ASTERISK-28995: res_pjsip_registrar: Expires on statically configured
|
||||
contacts is not correct
|
||||
Reported by: tootai
|
||||
* [5c0d247d69] Joshua C. Colp -- res_pjsip_registrar: Don't specify an
|
||||
expiration for static contacts.
|
||||
|
||||
Category: Resources/res_pjsip_registrar
|
||||
|
||||
ASTERISK-28995: res_pjsip_registrar: Expires on statically configured
|
||||
contacts is not correct
|
||||
Reported by: tootai
|
||||
* [5c0d247d69] Joshua C. Colp -- res_pjsip_registrar: Don't specify an
|
||||
expiration for static contacts.
|
||||
|
||||
Category: Resources/res_stasis
|
||||
|
||||
ASTERISK-28987: BridgeCreated ARI event shows wrong video_mode info
|
||||
Reported by: sungtae kim
|
||||
* [53f9bbdc2d] sungtae kim -- stasis_bridge.c: Fixed wrong video_mode
|
||||
shown
|
||||
|
||||
Category: pjproject/pjsip
|
||||
|
||||
ASTERISK-28973: Malformed IP address in SDP of 2nd SIP timer triggered
|
||||
INVITE when NAT is active (UDP transport with external_media_address)
|
||||
Reported by: Michael Neuhauser
|
||||
* [dd739f8a08] Michael Neuhauser -- pjproject: clone sdp to protect
|
||||
against (nat) modifications
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
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 |
|
||||
|------------+------------------+----------------------------------------|
|
||||
| 46fb9fb663 | Sean Bright | vector.h: Fix implementation of |
|
||||
| | | AST_VECTOR_COMPACT() for empty vectors |
|
||||
|------------+------------------+----------------------------------------|
|
||||
| 718efe9365 | Sean Bright | utf8.c: Add UTF-8 validation and |
|
||||
| | | utility functions |
|
||||
|------------+------------------+----------------------------------------|
|
||||
| 4fec6da25b | Sean Bright | vector.h: Add AST_VECTOR_SORT() |
|
||||
|------------+------------------+----------------------------------------|
|
||||
| f6afac1b37 | George Joseph | CI: Force publishAsteriskDocs to use |
|
||||
| | | python2 |
|
||||
|------------+------------------+----------------------------------------|
|
||||
| bcdc3ec645 | Joshua C. Colp | pjsip: Include timer patch to prevent |
|
||||
| | | cancelling timer 0. |
|
||||
|------------+------------------+----------------------------------------|
|
||||
| 77a5383957 | Asterisk | Update CHANGES and UPGRADE.txt for |
|
||||
| | Development Team | 13.35.0 |
|
||||
+------------------------------------------------------------------------+
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
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 |70720 -------------------
|
||||
asterisk-13.35.0-summary.html | 132
|
||||
asterisk-13.35.0-summary.txt | 344
|
||||
b/channels/chan_sip.c | 1
|
||||
b/include/asterisk/utf8.h | 188
|
||||
b/include/asterisk/vector.h | 50
|
||||
b/main/acl.c | 2
|
||||
b/main/asterisk.c | 2
|
||||
b/main/bridge.c | 1
|
||||
b/main/utf8.c | 382
|
||||
b/res/res_http_websocket.c | 3
|
||||
b/res/res_musiconhold.c | 122
|
||||
b/res/res_pjsip_registrar.c | 6
|
||||
b/res/res_stasis.c | 2
|
||||
b/res/stasis/stasis_bridge.c | 5
|
||||
b/tests/CI/publishAsteriskDocs.sh | 3
|
||||
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, 715 insertions(+), 73882 deletions(-)
|
33
contrib/realtime/mysql/mysql_cdr.sql
Normal file
33
contrib/realtime/mysql/mysql_cdr.sql
Normal 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');
|
||||
|
1195
contrib/realtime/mysql/mysql_config.sql
Normal file
1195
contrib/realtime/mysql/mysql_config.sql
Normal file
File diff suppressed because it is too large
Load Diff
35
contrib/realtime/mysql/mysql_voicemail.sql
Normal file
35
contrib/realtime/mysql/mysql_voicemail.sql
Normal 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';
|
||||
|
37
contrib/realtime/postgresql/postgresql_cdr.sql
Normal file
37
contrib/realtime/postgresql/postgresql_cdr.sql
Normal 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;
|
||||
|
1293
contrib/realtime/postgresql/postgresql_config.sql
Normal file
1293
contrib/realtime/postgresql/postgresql_config.sql
Normal file
File diff suppressed because it is too large
Load Diff
39
contrib/realtime/postgresql/postgresql_voicemail.sql
Normal file
39
contrib/realtime/postgresql/postgresql_voicemail.sql
Normal 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;
|
||||
|
Reference in New Issue
Block a user