Compare commits

...

1 Commits

Author SHA1 Message Date
Asterisk Development Team
951d914aab Update for 16.6.0-rc1 2019-09-12 16:08:20 -05:00
11 changed files with 88962 additions and 0 deletions

1
.lastclean Normal file
View File

@@ -0,0 +1 @@
40

1
.version Normal file
View File

@@ -0,0 +1 @@
16.6.0-rc1

85620
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,166 @@
<!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-16.6.0-rc1</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-16.6.0-rc1</h3><h3 align="center">Date: 2019-09-12</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-16.5.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%">12 George Joseph <gjoseph@digium.com><br/>8 Sean Bright <sean.bright@gmail.com><br/>5 Tzafrir Cohen <tzafrir.cohen@xorcom.com><br/>4 Kevin Harwell <kharwell@digium.com><br/>3 Alexei Gradinari <alex2grad@gmail.com> (license 5691)<br/>3 Joshua Colp <jcolp@digium.com><br/>3 Igor Goncharovsky <igor.goncharovsky@gmail.com><br/>2 Frederic LE FOLL <frederic.lefoll@c-s.fr><br/>2 Dan Cropp <dan@amtelco.com><br/>1 Rodrigo Ramírez Norambuena <a@rodrigoramirez.com><br/>1 Walter Doekes <walter+asterisk@wjd.nu><br/>1 Leonid Fainshtein <leonid.fainshtein@xorcom.com><br/>1 Torrey Searle <torrey@voxbone.com><br/>1 Asterisk Development Team <asteriskteam@digium.com><br/>1 Chris-Savinovich <csavinovich@digium.com><br/>1 sungtae kim <pchero21@gmail.com><br/>1 Stas Kobzar <stas@modulis.ca><br/></td><td width="33%">1 tests/test_utils.c.<br/></td><td width="33%">2 Dan Cropp <dan@amtelco.com><br/>2 Alexei Gradinari <alex2grad@gmail.com><br/>2 Frederic LE FOLL <frederic.lefoll@c-s.fr><br/>2 Dan Cropp<br/>2 Ruddy G <plugworld@micnes.com><br/>1 Dennis <dennis.buteyn@xorcom.com><br/>1 dennis <dennis@arena1.com><br/>1 Kilburn <kilburna@gmail.com><br/>1 Walter Doekes <walter+asterisk@wjd.nu><br/>1 Alexander Traud <pabstraud@compuserve.com><br/>1 Byron Clark <bclark@getjive.com><br/>1 Gregory Massel <greg@csurf.co.za><br/>1 Chris Savinovich <csavinovich@digium.com><br/>1 Stas Kobzar <stas@modulis.ca><br/>1 Torrey Searle <tsearle@gmail.com><br/>1 Joshua C. Colp <jcolp@digium.com><br/>1 Jonas Swiatek <jonas@telzio.com><br/>1 Ian Jones <tech@iljones.net><br/>1 Alexander Traud<br/>1 Salah Ahmed <txrubel@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>Security</h3><h4>Category: Resources/res_pjsip_t38</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28495">ASTERISK-28495</a>: res_pjsip_t38: 200 OK with SDP answer with declined stream causes crash<br/>Reported by: Alexei Gradinari<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=965df3c228d49bcde3503e0482f3c831dcbf6c77">[965df3c228]</a> Alexei Gradinari -- AST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media</li>
</ul><br><h3>Bug</h3><h4>Category: .Release/Targets</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28488">ASTERISK-28488</a>: pjsip mwi: n+1 sip notify's sent on re-register<br/>Reported by: Chris Savinovich<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7db5f5df6ae6b807849277e169624a70e45a2077">[7db5f5df6a]</a> Kevin Harwell -- res_pjsip_mwi: add better handling of solicited vs unsolicited subscriptions</li>
</ul><br><h4>Category: Applications/app_chanisavail</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28527">ASTERISK-28527</a>: ChanIsAvail() creates a CDR if unanswered=yes is set in cdr.conf<br/>Reported by: Frederic LE FOLL<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8cf3ad389ffbcf96e3079fc776a27da737f79b7">[c8cf3ad389]</a> Frederic LE FOLL -- ChanIsAvail() generates a CDR when unanswered=yes in cdr.conf.</li>
</ul><br><h4>Category: Applications/app_transfer</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26968">ASTERISK-26968</a>: chan_pjsip: Transfer() does not result in TRANSFERSTATUS reflecting SIP response to transfer<br/>Reported by: Dan Cropp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f4896703b95b8d34301f4a919b3e488a7f042bb2">[f4896703b9]</a> Dan Cropp -- chan_pjsip: Transmit REFER waits for the REFER result setting TRANSFERSTATUS</li>
</ul><br><h4>Category: Applications/app_voicemail/IMAP</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28505">ASTERISK-28505</a>: app_voicemail/IMAP: segfault in leave_voicemail because not checking mailstream<br/>Reported by: Alexei Gradinari<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ff180a5bfc3090485ee7b2746ce7bee58e754746">[ff180a5bfc]</a> Alexei Gradinari -- app_voicemail/IMAP: check mailstream not NULL in leave_voicemail</li>
</ul><br><h4>Category: Channels/chan_dahdi</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28525">ASTERISK-28525</a>: chan_dahdi: set CHANNEL(hangupsource) when a PRI channel hangs up<br/>Reported by: Frederic LE FOLL<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c6b17b521231dde9da890d95ee705c93953bab8c">[c6b17b5212]</a> Frederic LE FOLL -- chan_dahdi: set CHANNEL(hangupsource) when a PRI channel hangs up</li>
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26968">ASTERISK-26968</a>: chan_pjsip: Transfer() does not result in TRANSFERSTATUS reflecting SIP response to transfer<br/>Reported by: Dan Cropp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f4896703b95b8d34301f4a919b3e488a7f042bb2">[f4896703b9]</a> Dan Cropp -- chan_pjsip: Transmit REFER waits for the REFER result setting TRANSFERSTATUS</li>
</ul><br><h4>Category: Channels/chan_sip/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28282">ASTERISK-28282</a>: AST_SCHED_REPLACE_UNREF causes wait-on-self deadlocks (in chan_sip)<br/>Reported by: Walter Doekes<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=64d25d36fb4c1cdba3e8b4791462c4805715aee8">[64d25d36fb]</a> Walter Doekes -- sched: Don't allow ast_sched_del to deadlock ast_sched_runq from same thread</li>
</ul><br><h4>Category: Channels/chan_unistim</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25592">ASTERISK-25592</a>: chan_unistim: Clang Warning: variable sized type not at end of a struct<br/>Reported by: Alexander Traud<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=92261d60c876cb0be63eb75390525bd1732a5db8">[92261d60c8]</a> Igor Goncharovsky -- chan_unistim: Fix clang warning: variable sized type not at end of a struct</li>
</ul><br><h4>Category: Codecs/codec_resample</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28511">ASTERISK-28511</a>: codec_resample: Bad sound quality when up sampling from SLIN16 to SLIN32<br/>Reported by: Ruddy G<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bf527810efba18baabf84fcd931a2cb9fc65d707">[bf527810ef]</a> Sean Bright -- codec_resample: Ensure OUTSIDE_SPEEX is defined when necessary</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=cdbb9800e311e4d9ca98215ba14348fe5d9e224e">[cdbb9800e3]</a> Sean Bright -- codec_resample: Upgrade speex_resample to fix up-sampling bug</li>
</ul><br><h4>Category: Core/BuildSystem</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28487">ASTERISK-28487</a>: compile menuselect on gentoo<br/>Reported by: Kilburn<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8399211eaf55fa27b845ff089fbeac5f3cf535ef">[8399211eaf]</a> Sean Bright -- menuselect: Fix curses build on Gentoo Linux</li>
</ul><br><h4>Category: Core/Channels</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28499">ASTERISK-28499</a>: translate: Crash when frame does not have a "src" field set<br/>Reported by: Gregory Massel<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2691ee7e106ee537e6347c4e69a3ef7e417667e6">[2691ee7e10]</a> Joshua Colp -- AST-2019-005 - translate: Don't assume all frames will have a src.</li>
</ul><br><h4>Category: Core/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28498">ASTERISK-28498</a>: cel / cdr: Event times may be incorrect<br/>Reported by: Joshua C. Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6350f4e278569c084f519eff3302a5f5eebec355">[6350f4e278]</a> Joshua Colp -- cdr / cel: Use event time at event creation instead of processing.</li>
</ul><br><h4>Category: Core/RTP</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28480">ASTERISK-28480</a>: json integer overflow in ssrc and timestamp<br/>Reported by: Salah Ahmed<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6bb14150c4b19407ad2d166ee6f0bc94415e9d21">[6bb14150c4]</a> Kevin Harwell -- various modules: json integer overflow</li>
</ul><br><h4>Category: Core/UDPTL</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28483">ASTERISK-28483</a>: packet lost on UDPTL wrap around<br/>Reported by: Torrey Searle<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=83390327b2036b4e4d34c4e94fcbed0b057a8b03">[83390327b2]</a> Torrey Searle -- main/udptl.c: correctly handle udptl sequence wrap around</li>
</ul><br><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28472">ASTERISK-28472</a>: Asterisk occasionally passes a NULL as srtp->session to srtp_protect/unprotect causing SEGV<br/>Reported by: Jonas Swiatek<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d4766a82a28cce3c068fcb45cbb34fba0328b28c">[d4766a82a2]</a> Kevin Harwell -- srtp: Fix possible race condition, and add NULL checks</li>
</ul><br><h4>Category: Resources/res_config_sqlite3</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28477">ASTERISK-28477</a>: Crash when not specifying "dbfile" in res_config_sqlite3.conf<br/>Reported by: Dennis<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=28654308efcc677f61534c6e9d883db3fb396eca">[28654308ef]</a> Sean Bright -- res_config_sqlite3: Only join threads that we started</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28478">ASTERISK-28478</a>: Crash performing "core reload" with modified res_config_sqlite3.conf<br/>Reported by: Dennis<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=28654308efcc677f61534c6e9d883db3fb396eca">[28654308ef]</a> Sean Bright -- res_config_sqlite3: Only join threads that we started</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28228">ASTERISK-28228</a>: res_pjsip: pjsip show contacts prints double entries<br/>Reported by: Ian Jones<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c2b135729caad2c08526fabeca80f7e519aca2a2">[c2b135729c]</a> Joshua Colp -- res_pjsip: Fix multiple of the same contact in "pjsip show contacts".</li>
</ul><br><h4>Category: pjproject/pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28509">ASTERISK-28509</a>: PJSIP cnonce generated on Linux contains 36 characters, NEC only supports up to 32 characters<br/>Reported by: Dan Cropp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8cc530726f5f81c99bc4181c8b8c39a1842913f">[c8cc530726]</a> Dan Cropp -- pjproject: Configurable setting for cnonce to include hyphens or not</li>
</ul><br><h3>New Feature</h3><h4>Category: Resources/res_musiconhold</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-17808">ASTERISK-17808</a>: [patch] Unregister a realtime moh class<br/>Reported by: Byron Clark<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b478f46d59114733f716c41356585af54c10c1f8">[b478f46d59]</a> sungtae kim -- res_musiconhold: Added unregister realtime moh class</li>
</ul><br><h4>Category: pjproject/pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28489">ASTERISK-28489</a>: Channel variable SIPFROMDOMAIN for chan_pjsip to setup From header URI domain<br/>Reported by: Stas Kobzar<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fb984eda40f9753a5f98b59044386664129bbb52">[fb984eda40]</a> Stas Kobzar -- res_pjsip: Channel variable SIPFROMDOMAIN</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=688908fe7a6d26cfd3ef3b7213986103b749dd4e">688908fe7a</a></td><td>Asterisk Development Team</td><td>Update CHANGES and UPGRADE.txt for 16.6.0</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d566314e38d47313af73dc5150c259323e930528">d566314e38</a></td><td>George Joseph</td><td>ARI: External Media</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a321225fa443d1fb823ad992d72c2ef825df67ef">a321225fa4</a></td><td>Chris-Savinovich</td><td>test_utils.c: Skip test adsi_loaded_test if module not loaded.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=78d00c277cebad260577024a59227ef7fc0920e7">78d00c277c</a></td><td>Igor Goncharovsky</td><td>chan_unistim: Fix code, causing all incoming DTMF sent back to asterisk</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=821b7561f85b5fcbc337b4dfcec85709812c56e3">821b7561f8</a></td><td>Igor Goncharovsky</td><td>chan_unistim: Fix RTP port byte order for big-endian arch</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=aaaa1695ca76b659a9131ceaa86ae3fa4fb3aca0">aaaa1695ca</a></td><td>Alexei Gradinari</td><td>Fix misname 'res_external_mwi' to 'res_mwi_external' in comments.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c00a010fe8e4cac63f09406a8c7ff97166f5f773">c00a010fe8</a></td><td>George Joseph</td><td>chan_rtp: Accept hostname as well as ip address as destination</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6407ccd2d9887754d51b38de6d635e42fd775611">6407ccd2d9</a></td><td>George Joseph</td><td>dns_core: Create new API ast_dns_resolve_ipv6_and_ipv4</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f82d0b74fd870b94609c196c11bdc9c4d5b9663b">f82d0b74fd</a></td><td>George Joseph</td><td>res_ari.c: Prefer exact handler match over wildcard</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=51fd43206ba2655233f660f92da2424ffa2ab874">51fd43206b</a></td><td>Sean Bright</td><td>audiohook.c: Substitute silence for unavailable audio frames</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=92066b87469080831c678d16305f4043b1e26861">92066b8746</a></td><td>George Joseph</td><td>CI: Escape backslashes in printenv/sort/tr</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=db9684ad1e2a74329da744aede8bd8c5f293f41c">db9684ad1e</a></td><td>George Joseph</td><td>CI: Add "throttle" label and "skip_gate" capability</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2641081caa7f1c9755a782509d5a46a1c59e6b3a">2641081caa</a></td><td>George Joseph</td><td>CI: Make node labels job-specific</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=97183769028a8791f31d441e3495bb444bcc22a1">9718376902</a></td><td>Sean Bright</td><td>res_musiconhold: Use a vector instead of custom array allocation</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0ebfc4a19ddd6d2d53840ca18d7cd53a5a572b81">0ebfc4a19d</a></td><td>Sean Bright</td><td>manager: Send fewer packets</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d6af1acb8c21eb1552663e5c335aea93373e7fed">d6af1acb8c</a></td><td>Sean Bright</td><td>res_musiconhold: Use ast_pipe_nonblock() wrapper</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=05cf9c99128cff8a83711624f2e78c049957b54e">05cf9c9912</a></td><td>George Joseph</td><td>loader.c: Fix possible SEGV when a module fails to register</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=06780d2bc4c8304de2709e5ceb32f011559878e4">06780d2bc4</a></td><td>George Joseph</td><td>CI: Don't enable non-core modules in Certified branches</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3814faf8486214d57d9ffad9cf8e8a39254772c5">3814faf848</a></td><td>Leonid Fainshtein</td><td>openr2(6/6): Set hangup cause</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=06515707dff10a8016723a81bc6132ced28f21cb">06515707df</a></td><td>Tzafrir Cohen</td><td>openr2(5/6): added cli command -- mfcr2 destroy link &lt;index&gt;</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=93a093f6c4e01357ed598f426bb0233e9f9f9c4d">93a093f6c4</a></td><td>Tzafrir Cohen</td><td>openr2(4/6): added new cli command -- mfcr2 show links</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a45cfefb77e7f58254d48f65f61b57d457e66102">a45cfefb77</a></td><td>Tzafrir Cohen</td><td>openr2(3/6): Convert r2links to standard Asterisk AST_LIST*</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ec6e88592a94ac0e16a8c313df0584e052fe3dce">ec6e88592a</a></td><td>Tzafrir Cohen</td><td>openr2(2/6): Stop polling channels when DAHDI returns -ENODEV (e.g: plug-out)</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7b6df814a6dc731acc5f3acc8f4e730425256af3">7b6df814a6</a></td><td>Tzafrir Cohen</td><td>openr2(1/6): bugfix in configuration saving</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=356f4256cc53d5fa6d9ced1b92f0f2f80e1ae166">356f4256cc</a></td><td>George Joseph</td><td>CI: Add cleanWs to cleanup steps in jenkinsfiles</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9d694692032b85e7360c625e8240dbae4951d53c">9d69469203</a></td><td>Rodrigo Ramírez Norambuena</td><td>README.md: Update year</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c86c0973ff61f8379a729076c6bbb747384d41cf">c86c0973ff</a></td><td>George Joseph</td><td>CI: Add install-headers to the install make targets</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f62d9013c10cf5c677a61926696502639abc2fe0">f62d9013c1</a></td><td>George Joseph</td><td>Build: Add separate header install/uninstall targets</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=88ea395c333acea93791a21b948f361408e2f5a9">88ea395c33</a></td><td>Kevin Harwell</td><td>manager: Log AMI actions</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 |84898 ----------
asterisk-16.5.0-summary.html | 105
asterisk-16.5.0-summary.txt | 302
b/CHANGES | 49
b/Makefile | 30
b/README.md | 2
b/UPGRADE.txt | 14
b/apps/app_agent_pool.c | 4
b/apps/app_chanisavail.c | 3
b/apps/app_mixmonitor.c | 13
b/apps/app_queue.c | 12
b/apps/app_voicemail.c | 2
b/channels/chan_dahdi.c | 425
b/channels/chan_iax2.c | 8
b/channels/chan_pjsip.c | 141
b/channels/chan_rtp.c | 19
b/channels/chan_unistim.c | 174
b/channels/sig_pri.c | 17
b/codecs/Makefile | 3
b/codecs/speex/arch.h | 13
b/codecs/speex/fixed_generic.h | 4
b/codecs/speex/resample.c | 332
b/codecs/speex/speex_resampler.h | 4
b/funcs/func_talkdetect.c | 2
b/include/asterisk/audiohook.h | 2
b/include/asterisk/cel.h | 22
b/include/asterisk/dns_core.h | 22
b/include/asterisk/sched.h | 16
b/main/aoc.c | 8
b/main/audiohook.c | 11
b/main/ccss.c | 4
b/main/cdr.c | 52
b/main/cel.c | 82
b/main/channel.c | 4
b/main/core_local.c | 6
b/main/dns_core.c | 72
b/main/loader.c | 2
b/main/manager.c | 105
b/main/rtp_engine.c | 27
b/main/sched.c | 30
b/main/stasis_channels.c | 4
b/main/translate.c | 2
b/main/udptl.c | 18
b/menuselect/Makefile | 8
b/menuselect/autoconfig.h.in | 3
b/menuselect/configure | 334
b/menuselect/configure.ac | 12
b/menuselect/makeopts.in | 3
b/res/ari/ari_model_validators.c | 56
b/res/ari/ari_model_validators.h | 22
b/res/ari/resource_channels.c | 192
b/res/ari/resource_channels.h | 42
b/res/res_ari.c | 23
b/res/res_ari_channels.c | 135
b/res/res_config_sqlite3.c | 6
b/res/res_musiconhold.c | 238
b/res/res_pjsip.c | 4
b/res/res_pjsip/location.c | 6
b/res/res_pjsip_mwi.c | 289
b/res/res_pjsip_sdp_rtp.c | 2
b/res/res_pjsip_session.c | 12
b/res/res_pjsip_t38.c | 72
b/res/res_srtp.c | 33
b/rest-api/api-docs/channels.json | 146
b/tests/CI/buildAsterisk.sh | 10
b/tests/CI/gates.jenkinsfile | 30
b/tests/CI/installAsterisk.sh | 2
b/tests/CI/periodics-daily.jenkinsfile | 9
b/tests/CI/ref_debug.jenkinsfile | 15
b/tests/CI/unittests.jenkinsfile | 9
b/tests/test_utils.c | 5
b/third-party/pjproject/patches/0020-patch_cnonce_only_digits_option.patch | 23
contrib/realtime/mysql/mysql_cdr.sql | 41
contrib/realtime/mysql/mysql_config.sql | 1237
contrib/realtime/mysql/mysql_voicemail.sql | 35
contrib/realtime/postgresql/postgresql_cdr.sql | 45
contrib/realtime/postgresql/postgresql_config.sql | 1335
contrib/realtime/postgresql/postgresql_voicemail.sql | 39
80 files changed, 2839 insertions(+), 88701 deletions(-)</pre><br></html>

View File

@@ -0,0 +1,442 @@
Release Summary
asterisk-16.6.0-rc1
Date: 2019-09-12
<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-16.5.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
12 George Joseph 1 tests/test_utils.c. 2 Dan Cropp
8 Sean Bright 2 Alexei Gradinari
5 Tzafrir Cohen 2 Frederic LE FOLL
4 Kevin Harwell 2 Dan Cropp
3 Alexei Gradinari (license 5691) 2 Ruddy G
3 Joshua Colp 1 Dennis
3 Igor Goncharovsky 1 dennis
2 Frederic LE FOLL 1 Kilburn
2 Dan Cropp 1 Walter Doekes
1 Rodrigo RamÃrez Norambuena 1 Alexander Traud
1 Walter Doekes 1 Byron Clark
1 Leonid Fainshtein 1 Gregory Massel
1 Torrey Searle 1 Chris Savinovich
1 Asterisk Development Team 1 Stas Kobzar
1 Chris-Savinovich 1 Torrey Searle
1 sungtae kim 1 Joshua C. Colp
1 Stas Kobzar 1 Jonas Swiatek
1 Ian Jones
1 Alexander Traud
1 Salah Ahmed
----------------------------------------------------------------------
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.
Security
Category: Resources/res_pjsip_t38
ASTERISK-28495: res_pjsip_t38: 200 OK with SDP answer with declined stream
causes crash
Reported by: Alexei Gradinari
* [965df3c228] Alexei Gradinari -- AST-2019-004 - res_pjsip_t38.c: Add
NULL checks before using session media
Bug
Category: .Release/Targets
ASTERISK-28488: pjsip mwi: n+1 sip notify's sent on re-register
Reported by: Chris Savinovich
* [7db5f5df6a] Kevin Harwell -- res_pjsip_mwi: add better handling of
solicited vs unsolicited subscriptions
Category: Applications/app_chanisavail
ASTERISK-28527: ChanIsAvail() creates a CDR if unanswered=yes is set in
cdr.conf
Reported by: Frederic LE FOLL
* [c8cf3ad389] Frederic LE FOLL -- ChanIsAvail() generates a CDR when
unanswered=yes in cdr.conf.
Category: Applications/app_transfer
ASTERISK-26968: chan_pjsip: Transfer() does not result in TRANSFERSTATUS
reflecting SIP response to transfer
Reported by: Dan Cropp
* [f4896703b9] Dan Cropp -- chan_pjsip: Transmit REFER waits for the
REFER result setting TRANSFERSTATUS
Category: Applications/app_voicemail/IMAP
ASTERISK-28505: app_voicemail/IMAP: segfault in leave_voicemail because
not checking mailstream
Reported by: Alexei Gradinari
* [ff180a5bfc] Alexei Gradinari -- app_voicemail/IMAP: check mailstream
not NULL in leave_voicemail
Category: Channels/chan_dahdi
ASTERISK-28525: chan_dahdi: set CHANNEL(hangupsource) when a PRI channel
hangs up
Reported by: Frederic LE FOLL
* [c6b17b5212] Frederic LE FOLL -- chan_dahdi: set CHANNEL(hangupsource)
when a PRI channel hangs up
Category: Channels/chan_pjsip
ASTERISK-26968: chan_pjsip: Transfer() does not result in TRANSFERSTATUS
reflecting SIP response to transfer
Reported by: Dan Cropp
* [f4896703b9] Dan Cropp -- chan_pjsip: Transmit REFER waits for the
REFER result setting TRANSFERSTATUS
Category: Channels/chan_sip/General
ASTERISK-28282: AST_SCHED_REPLACE_UNREF causes wait-on-self deadlocks (in
chan_sip)
Reported by: Walter Doekes
* [64d25d36fb] Walter Doekes -- sched: Don't allow ast_sched_del to
deadlock ast_sched_runq from same thread
Category: Channels/chan_unistim
ASTERISK-25592: chan_unistim: Clang Warning: variable sized type not at
end of a struct
Reported by: Alexander Traud
* [92261d60c8] Igor Goncharovsky -- chan_unistim: Fix clang warning:
variable sized type not at end of a struct
Category: Codecs/codec_resample
ASTERISK-28511: codec_resample: Bad sound quality when up sampling from
SLIN16 to SLIN32
Reported by: Ruddy G
* [bf527810ef] Sean Bright -- codec_resample: Ensure OUTSIDE_SPEEX is
defined when necessary
* [cdbb9800e3] Sean Bright -- codec_resample: Upgrade speex_resample to
fix up-sampling bug
Category: Core/BuildSystem
ASTERISK-28487: compile menuselect on gentoo
Reported by: Kilburn
* [8399211eaf] Sean Bright -- menuselect: Fix curses build on Gentoo
Linux
Category: Core/Channels
ASTERISK-28499: translate: Crash when frame does not have a "src" field
set
Reported by: Gregory Massel
* [2691ee7e10] Joshua Colp -- AST-2019-005 - translate: Don't assume all
frames will have a src.
Category: Core/General
ASTERISK-28498: cel / cdr: Event times may be incorrect
Reported by: Joshua C. Colp
* [6350f4e278] Joshua Colp -- cdr / cel: Use event time at event
creation instead of processing.
Category: Core/RTP
ASTERISK-28480: json integer overflow in ssrc and timestamp
Reported by: Salah Ahmed
* [6bb14150c4] Kevin Harwell -- various modules: json integer overflow
Category: Core/UDPTL
ASTERISK-28483: packet lost on UDPTL wrap around
Reported by: Torrey Searle
* [83390327b2] Torrey Searle -- main/udptl.c: correctly handle udptl
sequence wrap around
Category: General
ASTERISK-28472: Asterisk occasionally passes a NULL as srtp->session to
srtp_protect/unprotect causing SEGV
Reported by: Jonas Swiatek
* [d4766a82a2] Kevin Harwell -- srtp: Fix possible race condition, and
add NULL checks
Category: Resources/res_config_sqlite3
ASTERISK-28477: Crash when not specifying "dbfile" in
res_config_sqlite3.conf
Reported by: Dennis
* [28654308ef] Sean Bright -- res_config_sqlite3: Only join threads that
we started
ASTERISK-28478: Crash performing "core reload" with modified
res_config_sqlite3.conf
Reported by: Dennis
* [28654308ef] Sean Bright -- res_config_sqlite3: Only join threads that
we started
Category: Resources/res_pjsip
ASTERISK-28228: res_pjsip: pjsip show contacts prints double entries
Reported by: Ian Jones
* [c2b135729c] Joshua Colp -- res_pjsip: Fix multiple of the same
contact in "pjsip show contacts".
Category: pjproject/pjsip
ASTERISK-28509: PJSIP cnonce generated on Linux contains 36 characters,
NEC only supports up to 32 characters
Reported by: Dan Cropp
* [c8cc530726] Dan Cropp -- pjproject: Configurable setting for cnonce
to include hyphens or not
New Feature
Category: Resources/res_musiconhold
ASTERISK-17808: [patch] Unregister a realtime moh class
Reported by: Byron Clark
* [b478f46d59] sungtae kim -- res_musiconhold: Added unregister realtime
moh class
Category: pjproject/pjsip
ASTERISK-28489: Channel variable SIPFROMDOMAIN for chan_pjsip to setup
From header URI domain
Reported by: Stas Kobzar
* [fb984eda40] Stas Kobzar -- res_pjsip: Channel variable SIPFROMDOMAIN
----------------------------------------------------------------------
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 |
|------------+----------------------+------------------------------------|
| 688908fe7a | Asterisk Development | Update CHANGES and UPGRADE.txt for |
| | Team | 16.6.0 |
|------------+----------------------+------------------------------------|
| d566314e38 | George Joseph | ARI: External Media |
|------------+----------------------+------------------------------------|
| | | test_utils.c: Skip test |
| a321225fa4 | Chris-Savinovich | adsi_loaded_test if module not |
| | | loaded. |
|------------+----------------------+------------------------------------|
| | | chan_unistim: Fix code, causing |
| 78d00c277c | Igor Goncharovsky | all incoming DTMF sent back to |
| | | asterisk |
|------------+----------------------+------------------------------------|
| 821b7561f8 | Igor Goncharovsky | chan_unistim: Fix RTP port byte |
| | | order for big-endian arch |
|------------+----------------------+------------------------------------|
| aaaa1695ca | Alexei Gradinari | Fix misname 'res_external_mwi' to |
| | | 'res_mwi_external' in comments. |
|------------+----------------------+------------------------------------|
| c00a010fe8 | George Joseph | chan_rtp: Accept hostname as well |
| | | as ip address as destination |
|------------+----------------------+------------------------------------|
| 6407ccd2d9 | George Joseph | dns_core: Create new API |
| | | ast_dns_resolve_ipv6_and_ipv4 |
|------------+----------------------+------------------------------------|
| f82d0b74fd | George Joseph | res_ari.c: Prefer exact handler |
| | | match over wildcard |
|------------+----------------------+------------------------------------|
| 51fd43206b | Sean Bright | audiohook.c: Substitute silence |
| | | for unavailable audio frames |
|------------+----------------------+------------------------------------|
| 92066b8746 | George Joseph | CI: Escape backslashes in |
| | | printenv/sort/tr |
|------------+----------------------+------------------------------------|
| db9684ad1e | George Joseph | CI: Add "throttle" label and |
| | | "skip_gate" capability |
|------------+----------------------+------------------------------------|
| 2641081caa | George Joseph | CI: Make node labels job-specific |
|------------+----------------------+------------------------------------|
| 9718376902 | Sean Bright | res_musiconhold: Use a vector |
| | | instead of custom array allocation |
|------------+----------------------+------------------------------------|
| 0ebfc4a19d | Sean Bright | manager: Send fewer packets |
|------------+----------------------+------------------------------------|
| d6af1acb8c | Sean Bright | res_musiconhold: Use |
| | | ast_pipe_nonblock() wrapper |
|------------+----------------------+------------------------------------|
| 05cf9c9912 | George Joseph | loader.c: Fix possible SEGV when a |
| | | module fails to register |
|------------+----------------------+------------------------------------|
| 06780d2bc4 | George Joseph | CI: Don't enable non-core modules |
| | | in Certified branches |
|------------+----------------------+------------------------------------|
| 3814faf848 | Leonid Fainshtein | openr2(6/6): Set hangup cause |
|------------+----------------------+------------------------------------|
| 06515707df | Tzafrir Cohen | openr2(5/6): added cli command -- |
| | | mfcr2 destroy link <index> |
|------------+----------------------+------------------------------------|
| 93a093f6c4 | Tzafrir Cohen | openr2(4/6): added new cli command |
| | | -- mfcr2 show links |
|------------+----------------------+------------------------------------|
| a45cfefb77 | Tzafrir Cohen | openr2(3/6): Convert r2links to |
| | | standard Asterisk AST_LIST* |
|------------+----------------------+------------------------------------|
| | | openr2(2/6): Stop polling channels |
| ec6e88592a | Tzafrir Cohen | when DAHDI returns -ENODEV (e.g: |
| | | plug-out) |
|------------+----------------------+------------------------------------|
| 7b6df814a6 | Tzafrir Cohen | openr2(1/6): bugfix in |
| | | configuration saving |
|------------+----------------------+------------------------------------|
| 356f4256cc | George Joseph | CI: Add cleanWs to cleanup steps |
| | | in jenkinsfiles |
|------------+----------------------+------------------------------------|
| 9d69469203 | Rodrigo RamÃrez | README.md: Update year |
| | Norambuena | |
|------------+----------------------+------------------------------------|
| c86c0973ff | George Joseph | CI: Add install-headers to the |
| | | install make targets |
|------------+----------------------+------------------------------------|
| f62d9013c1 | George Joseph | Build: Add separate header |
| | | install/uninstall targets |
|------------+----------------------+------------------------------------|
| 88ea395c33 | Kevin Harwell | manager: Log AMI actions |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
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 |84898 ----------
asterisk-16.5.0-summary.html | 105
asterisk-16.5.0-summary.txt | 302
b/CHANGES | 49
b/Makefile | 30
b/README.md | 2
b/UPGRADE.txt | 14
b/apps/app_agent_pool.c | 4
b/apps/app_chanisavail.c | 3
b/apps/app_mixmonitor.c | 13
b/apps/app_queue.c | 12
b/apps/app_voicemail.c | 2
b/channels/chan_dahdi.c | 425
b/channels/chan_iax2.c | 8
b/channels/chan_pjsip.c | 141
b/channels/chan_rtp.c | 19
b/channels/chan_unistim.c | 174
b/channels/sig_pri.c | 17
b/codecs/Makefile | 3
b/codecs/speex/arch.h | 13
b/codecs/speex/fixed_generic.h | 4
b/codecs/speex/resample.c | 332
b/codecs/speex/speex_resampler.h | 4
b/funcs/func_talkdetect.c | 2
b/include/asterisk/audiohook.h | 2
b/include/asterisk/cel.h | 22
b/include/asterisk/dns_core.h | 22
b/include/asterisk/sched.h | 16
b/main/aoc.c | 8
b/main/audiohook.c | 11
b/main/ccss.c | 4
b/main/cdr.c | 52
b/main/cel.c | 82
b/main/channel.c | 4
b/main/core_local.c | 6
b/main/dns_core.c | 72
b/main/loader.c | 2
b/main/manager.c | 105
b/main/rtp_engine.c | 27
b/main/sched.c | 30
b/main/stasis_channels.c | 4
b/main/translate.c | 2
b/main/udptl.c | 18
b/menuselect/Makefile | 8
b/menuselect/autoconfig.h.in | 3
b/menuselect/configure | 334
b/menuselect/configure.ac | 12
b/menuselect/makeopts.in | 3
b/res/ari/ari_model_validators.c | 56
b/res/ari/ari_model_validators.h | 22
b/res/ari/resource_channels.c | 192
b/res/ari/resource_channels.h | 42
b/res/res_ari.c | 23
b/res/res_ari_channels.c | 135
b/res/res_config_sqlite3.c | 6
b/res/res_musiconhold.c | 238
b/res/res_pjsip.c | 4
b/res/res_pjsip/location.c | 6
b/res/res_pjsip_mwi.c | 289
b/res/res_pjsip_sdp_rtp.c | 2
b/res/res_pjsip_session.c | 12
b/res/res_pjsip_t38.c | 72
b/res/res_srtp.c | 33
b/rest-api/api-docs/channels.json | 146
b/tests/CI/buildAsterisk.sh | 10
b/tests/CI/gates.jenkinsfile | 30
b/tests/CI/installAsterisk.sh | 2
b/tests/CI/periodics-daily.jenkinsfile | 9
b/tests/CI/ref_debug.jenkinsfile | 15
b/tests/CI/unittests.jenkinsfile | 9
b/tests/test_utils.c | 5
b/third-party/pjproject/patches/0020-patch_cnonce_only_digits_option.patch | 23
contrib/realtime/mysql/mysql_cdr.sql | 41
contrib/realtime/mysql/mysql_config.sql | 1237
contrib/realtime/mysql/mysql_voicemail.sql | 35
contrib/realtime/postgresql/postgresql_cdr.sql | 45
contrib/realtime/postgresql/postgresql_config.sql | 1335
contrib/realtime/postgresql/postgresql_voicemail.sql | 39
80 files changed, 2839 insertions(+), 88701 deletions(-)

View File

@@ -0,0 +1,41 @@
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');
-- Running upgrade 210693f3123d -> 54cde9847798
ALTER TABLE cdr MODIFY accountcode VARCHAR(80) NULL;
ALTER TABLE cdr MODIFY peeraccount VARCHAR(80) NULL;
UPDATE alembic_version SET version_num='54cde9847798' WHERE alembic_version.version_num = '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,45 @@
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');
-- Running upgrade 210693f3123d -> 54cde9847798
ALTER TABLE cdr ALTER COLUMN accountcode TYPE VARCHAR(80);
ALTER TABLE cdr ALTER COLUMN peeraccount TYPE VARCHAR(80);
UPDATE alembic_version SET version_num='54cde9847798' WHERE alembic_version.version_num = '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;