Compare commits

...

5 Commits

Author SHA1 Message Date
George Joseph
7fc2c4b784 Update for 13.14.0 2017-02-13 14:51:51 -05:00
George Joseph
ec97c41ac8 Update for 13.14.0-rc2 2017-02-08 14:13:23 -05:00
Mark Michelson
3f3290ce4f Revert "Update qualifies when AOR configuration changes."
This reverts commit 6492e91392.

The change in question was intended to prevent the need to reload in
order to update qualifies on contacts when an AOR changes. However, this
ended up causing a deadlock instead.

Change-Id: I1a835c90a5bb65b6dc3a1e94cddc12a4afc3d71e
2017-02-08 12:04:56 -06:00
Joshua Colp
1f2ae7908d srv: Fix crash when ast_srv_lookup is used and 0 records are returned.
When performing an SRV lookup using the ast_srv_lookup function it
did not properly handle the situation where 0 records are returned.
If this happened it would wrongly assume that at least one record
was present.

This change fixes the code so it will exit early if an error occurs
or if 0 records are returned.

ASTERISK-26772
patches:
  srv_lookup.patch submitted by nappsoft (license 6822)

Change-Id: I09b19081c74e0ad11c12bf54a257243b1bcb2351
2017-02-07 12:13:38 -06:00
George Joseph
7dbe77d639 Update for 13.14.0-rc1 2017-02-06 11:27:18 -05:00
23 changed files with 54470 additions and 59 deletions

1
.lastclean Normal file
View File

@@ -0,0 +1 @@
40

1
.version Normal file
View File

@@ -0,0 +1 @@
13.14.0

47776
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,336 @@
<!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.14.0</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-13.14.0</h3><h3 align="center">Date: 2017-02-13</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="#open_issues">Open 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.13.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%">35 Richard Mudgett <rmudgett@digium.com><br/>19 George Joseph <gjoseph@digium.com><br/>8 Joshua Colp <jcolp@digium.com><br/>8 Mark Michelson <mmichelson@digium.com><br/>4 Badalyan Vyacheslav <v.badalyan@open-bs.ru><br/>4 Tzafrir Cohen <tzafrir.cohen@xorcom.com><br/>3 Sean Bright <sean.bright@gmail.com><br/>3 Kirill Katsnelson <kkm@smartaction.com><br/>2 Michael Kuron <m.kuron@gmx.de><br/>2 Kevin Harwell <kharwell@digium.com><br/>2 Alexander Traud <pabstraud@compuserve.com><br/>2 Matt Jordan <mjordan@digium.com><br/>2 Timo Teräs <timo.teras@iki.fi><br/>1 Walter Doekes <walter+asterisk@wjd.nu><br/>1 Alexei Gradinari <alex2grad@gmail.com><br/>1 Martin Tomec <tomec.martin@gmail.com><br/>1 Guido Falsi <madpilot@freebsd.org><br/>1 Joshua Elson <josh@fluentstream.com><br/>1 jassim mishal <jmishal@yahoo.com><br/>1 Aaron An <anjb@ti-net.com.cn><br/>1 nappsoft <infos@nappsoft.com><br/>1 JoshE <josh@fluentstream.com><br/>1 Corey Farrell <git@cfware.com><br/>1 gestoip2 <gestoip2@ull.edu.es><br/>1 Eduardo Scudeller Libardi <eslibardi@gmail.com><br/>1 David M. Lee <dlee@digium.com><br/>1 Torrey Searle <tsearle@gmail.com><br/></td><td width="33%">1 AaronAn<br/></td><td width="33%">6 Richard Mudgett <rmudgett@digium.com><br/>4 Tzafrir Cohen <tzafrir.cohen@xorcom.com><br/>4 George Joseph <gjoseph@digium.com><br/>3 Michael Kuron <m.kuron@gmx.de><br/>3 Joshua Colp <jcolp@digium.com><br/>3 Kirill Katsnelson <kkm@smartaction.com><br/>3 Tom Pawelek <tompaw@tompaw.net><br/>2 Rusty Newton <rnewton@digium.com><br/>2 Morten Tryfoss <morten@tryfoss.no><br/>2 Alexander Traud <pabstraud@compuserve.com><br/>2 Michael Maier <m1278468@mailbox.org><br/>1 Walter Doekes <walter+asterisk@wjd.nu><br/>1 Alexei Gradinari <alex2grad@gmail.com><br/>1 Ustinov Artem <artem198315@gmail.com><br/>1 Dmitriy <codeworld@bk.ru><br/>1 Michael Keuter <lists@mksolutions.info><br/>1 Jonas Kellens <jonas.kellens@telenet.be><br/>1 Guido Falsi <madpilot@freebsd.org><br/>1 Ross Beer <ross.beer@voicehost.co.uk><br/>1 Mikheili Dautashvili <mishadaut@gmail.com><br/>1 Juris Breicis <juris.breicis@gmail.com><br/>1 Aaron An <anjb@ti-net.com.cn><br/>1 nappsoft <infos@nappsoft.com><br/>1 JoshE <josh@fluentstream.com><br/>1 Hector Royo Concepcion <hectorroyo92@gmail.com><br/>1 Frankie Chin <fchin@biamp.com><br/>1 Eduardo S. Libardi<br/>1 Eduardo Scudeller Libardi <eslibardi@gmail.com><br/>1 Badalian Vyacheslav <slavon.net@gmail.com><br/>1 Doug Lytle <support@drdos.info><br/>1 David Woolley <david.woolley@bts.co.uk><br/>1 David Woolley <forums@david-woolley.me.uk><br/>1 Jonathan Rose <jrose@digium.com><br/>1 Joshua Elson <josh@fluentstream.com><br/>1 Anthony Messina <amessina@messinet.com><br/>1 Marek Cervenka <marek.cervenka@gmail.com><br/>1 Florian Loyau <florian.loyau@astrium-eu-projects.eu><br/>1 cervajs, Inaki Baz Castillo<br/>1 Jørgen H <asterisk.org@hovland.cx><br/>1 Mark Michelson <mmichelson@digium.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>New Feature</h3><h4>Category: Core/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26630">ASTERISK-26630</a>: Make logging PJPROJECT messages a bit easier<br/>Reported by: Richard Mudgett<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=44fe4a576968a61fc3c0f6633e5ea9fc2c104105">[44fe4a5769]</a> Richard Mudgett -- PJPROJECT logging: Made easier to get available logging levels.</li>
</ul><br><h4>Category: Resources/res_pjsip/Bundling</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26630">ASTERISK-26630</a>: Make logging PJPROJECT messages a bit easier<br/>Reported by: Richard Mudgett<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=44fe4a576968a61fc3c0f6633e5ea9fc2c104105">[44fe4a5769]</a> Richard Mudgett -- PJPROJECT logging: Made easier to get available logging levels.</li>
</ul><br><h3>Bug</h3><h4>Category: Applications/app_dial</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24499">ASTERISK-24499</a>: Need more explicit debug when PJSIP dialstring is invalid<br/>Reported by: Rusty Newton<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=91145741885859471c6f07124ffda91d1b2bdd58">[9114574188]</a> Richard Mudgett -- res_pjsip: Add/update ERROR msg if invalid URI.</li>
</ul><br><h4>Category: Applications/app_mixmonitor</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-21094">ASTERISK-21094</a>: MixMonitorMute mutes through stream if already slinear (e.g. Originate)<br/>Reported by: David Woolley<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3aee19991355fc8c4bad6066dd7a0b1cf003c077">[3aee199913]</a> Sean Bright -- audiohooks: Muting a hook can mute underlying frames</li>
</ul><br><h4>Category: Applications/app_queue</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26755">ASTERISK-26755</a>: app_queue: Random queues disappear on "core reload queue all"<br/>Reported by: Kirill Katsnelson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=be92f10a16aaa575a91c00b065abd9562b0cc133">[be92f10a16]</a> Kirill Katsnelson -- app_queue: Fix queues randomly disappearing on reload</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26621">ASTERISK-26621</a>: app_queue: Queue application does not ring members with Local interface<br/>Reported by: Jonas Kellens<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d13be4eff699449172efbd9fed0ee97f6a790b6a">[d13be4eff6]</a> Martin Tomec -- app_queue: Ensure member is removed from pending when hanging up.</li>
</ul><br><h4>Category: Applications/app_stasis</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26716">ASTERISK-26716</a>: ari: Channels with pre-dial handlers cannot be hung up via ARI<br/>Reported by: Tom Pawelek<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=43f0ff4b69358687a5f958a57dd8ba4bffc4a5f4">[43f0ff4b69]</a> Richard Mudgett -- channel.c: Fix unbalanced read queue deadlocking local channels.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a199f94908601be10c0b43e3b3b7d67c41c5025f">[a199f94908]</a> Richard Mudgett -- res_agi: Prevent an AGI from eating frames it should not. (Re-do)</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6bed318a660c5258925c84f5d3f7012f3183c2de">[6bed318a66]</a> Richard Mudgett -- Frame deferral: Revert API refactoring.</li>
</ul><br><h4>Category: Applications/app_voicemail</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26503">ASTERISK-26503</a>: app_voicemail: Asterisk crashes when MailboxExists is used<br/>Reported by: Doug Lytle<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9c761b8f45892211b52d2c6655d2641aa4a64cd6">[9c761b8f45]</a> Joshua Colp -- app_voicemail: Clear voice mailbox in MailboxExists and MAILBOX_EXISTS.</li>
</ul><br><h4>Category: Channels/chan_dahdi</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25494">ASTERISK-25494</a>: build: GCC 5.1.x catches some new const, array bounds and missing paren issues<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4b285d226d2e9d92f1be53e84435c7d4cbf290be">[4b285d226d]</a> Richard Mudgett -- chan_dahdi.c: Fix bounds check regression.</li>
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26673">ASTERISK-26673</a>: chan_pjsip: Crash when using CHANNEL dialplan function around masquerade<br/>Reported by: Joshua Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=34e728cfb9f175d85b463547ebf9977305b76c1b">[34e728cfb9]</a> Joshua Colp -- chan_pjsip: Use session for retrieving CHANNEL() information.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26603">ASTERISK-26603</a>: [patch] chan_pjsip: not switching sending codec to receiving codec when asymmetric_rtp_codec=no<br/>Reported by: Alexei Gradinari<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=cf6d13180effc92a2483dccc68f2f188689a40fa">[cf6d13180e]</a> Alexei Gradinari -- chan_pjsip: fix switching sending codec when asymmetric_rtp_codec=no</li>
</ul><br><h4>Category: Channels/chan_rtp</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26672">ASTERISK-26672</a>: Crash when setting remote address on RTP instance<br/>Reported by: Richard Mudgett<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a9e459f8ace24f4d0c4febc2eb7fa17162c577c6">[a9e459f8ac]</a> Richard Mudgett -- res_rtp_asterisk.c: Fix uninitialized memory crash.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bcdd282adaae7d47c91172d4e38306fc3b3566c7">[bcdd282ada]</a> Richard Mudgett -- res_rtp_asterisk.c: Initialize ourip passed to ast_find_ourip().</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ac31233dbe996b4e2a1ccf9b7b2b35f6ed19e43c">[ac31233dbe]</a> Richard Mudgett -- acl.c: Improve ast_ouraddrfor() diagnostic messages.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0aa5db4b38e80a059c3cd2c1d70ee9c509c0f488">[0aa5db4b38]</a> Richard Mudgett -- chan_rtp.c: Fix uninitialized memory crash.</li>
</ul><br><h4>Category: Channels/chan_sip/CodecHandling</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26691">ASTERISK-26691</a>: Remember SDP negotiation on SIP_CODEC_INBOUND.<br/>Reported by: Alexander Traud<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=367128e70be203f1c2a7b5371cd8f72a5dc69905">[367128e70b]</a> Alexander Traud -- chan_sip: Remember SDP negotiation on SIP_CODEC_INBOUND.</li>
</ul><br><h4>Category: Channels/chan_sip/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25494">ASTERISK-25494</a>: build: GCC 5.1.x catches some new const, array bounds and missing paren issues<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4b285d226d2e9d92f1be53e84435c7d4cbf290be">[4b285d226d]</a> Richard Mudgett -- chan_dahdi.c: Fix bounds check regression.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26523">ASTERISK-26523</a>: chan_sip: Asterisk 13.12.1 disconnects incoming calls after 2 minutes - rtptimeout behaving badly - regression<br/>Reported by: Michael Keuter<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a3614d75f650abd3a9028fccabfcd88649381284">[a3614d75f6]</a> Kevin Harwell -- Revert "chan_sip: Fix lastrtprx always updated"</li>
</ul><br><h4>Category: Channels/chan_sip/Interoperability</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26433">ASTERISK-26433</a>: chan_sip: Allows To-tag checks to be bypassed, setting up new calls<br/>Reported by: Walter Doekes<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=41c6319c4e1261f40813e60017e3b65f4115c94d">[41c6319c4e]</a> Walter Doekes -- chan_sip: Do not allow non-SP/HTAB between header key and colon.</li>
</ul><br><h4>Category: Channels/chan_sip/TCP-TLS</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26586">ASTERISK-26586</a>: chan_sip: Segfaults upon reload if client with MWI wasn't registered<br/>Reported by: Michael Kuron<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=493849dcd7224145388fac81bc791d219f17aae1">[493849dcd7]</a> Corey Farrell -- chan_sip: Reorder unload_module to deal with stuck TCP threads.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0cc8351484ffbad5c5d7294f68016a83de00b7c6">[0cc8351484]</a> Michael Kuron -- chan_sip: Fix segfault during module unload</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26604">ASTERISK-26604</a>: chan_sip: sip reload doesn't apply changes to tlscertfile, tlsciphers, etc.<br/>Reported by: Michael Kuron<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8e77d6f52039e3ba20374c8a0083ad73bcce9e98">[8e77d6f520]</a> Michael Kuron -- tcptls: Use new certificate upon sip reload</li>
</ul><br><h4>Category: Channels/chan_sip/WebSocket</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24330">ASTERISK-24330</a>: Requirement for 'wss' value in Contact header transport parameter on inbound traffic violates RFC7118<br/>Reported by: Marek Cervenka<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=09c36a65356093e2a40cd2b23ff9f945e1028589">[09c36a6535]</a> Matt Jordan -- res_pjsip/chan_sip: Advertise 'ws' in the SIP URI transport parameter</li>
</ul><br><h4>Category: Channels/chan_skinny</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25494">ASTERISK-25494</a>: build: GCC 5.1.x catches some new const, array bounds and missing paren issues<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4b285d226d2e9d92f1be53e84435c7d4cbf290be">[4b285d226d]</a> Richard Mudgett -- chan_dahdi.c: Fix bounds check regression.</li>
</ul><br><h4>Category: Codecs/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24858">ASTERISK-24858</a>: [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte order on Intel platform when using slin codec<br/>Reported by: Frankie Chin<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=339c30f2b65b005817b073bc9b7c8ad2e7e3fde9">[339c30f2b6]</a> Sean Bright -- res_rtp_asterisk: Swap byte-order when sending signed linear</li>
</ul><br><h4>Category: Core/BuildSystem</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26546">ASTERISK-26546</a>: mips64el and x32 - undefined reference to symbol 'dlopen@@GLIBC_2.2'<br/>Reported by: Tzafrir Cohen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bfb8c962c4485815a1e0552113408738fff30eb2">[bfb8c962c4]</a> Tzafrir Cohen -- autoconf: more variants for OSARCH linux-gnu</li>
</ul><br><h4>Category: Core/DNS</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26772">ASTERISK-26772</a>: Crash in srv.c on startup with pjsip<br/>Reported by: nappsoft<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1f2ae7908d265e2c565f1aae5717b4047e2e4504">[1f2ae7908d]</a> nappsoft -- srv: Fix crash when ast_srv_lookup is used and 0 records are returned.</li>
</ul><br><h4>Category: Core/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26632">ASTERISK-26632</a>: core: Possibility of a frame "imbalance" leading to stuck channels.<br/>Reported by: Mark Michelson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=43f0ff4b69358687a5f958a57dd8ba4bffc4a5f4">[43f0ff4b69]</a> Richard Mudgett -- channel.c: Fix unbalanced read queue deadlocking local channels.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26753">ASTERISK-26753</a>: AMI disconnect causes "ast_careful_fwrite: fwrite() returned error: Broken pipe"<br/>Reported by: Kirill Katsnelson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=555e8cd2ba3d6e24ce678e7ebc0fb9a8895ead65">[555e8cd2ba]</a> Kirill Katsnelson -- ast_careful_fwrite to support EPIPE gracefully</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25083">ASTERISK-25083</a>: Message.c: Message channel becomes saturated with frames leading to spammy log messages<br/>Reported by: Jonathan Rose<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=75a6afbec53141f26ad41c94c1b3499116b23508">[75a6afbec5]</a> Richard Mudgett -- MESSAGE: Flush Message/ast_msg_queue channel alert pipe.</li>
</ul><br><h4>Category: Core/RTP</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24858">ASTERISK-24858</a>: [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte order on Intel platform when using slin codec<br/>Reported by: Frankie Chin<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=339c30f2b65b005817b073bc9b7c8ad2e7e3fde9">[339c30f2b6]</a> Sean Bright -- res_rtp_asterisk: Swap byte-order when sending signed linear</li>
</ul><br><h4>Category: Documentation</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26704">ASTERISK-26704</a>: res_odbc.conf contains deprecated configuration: 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'.<br/>Reported by: Anthony Messina<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=70aff89e5dc7f04235e24382b034cb93b4262321">[70aff89e5d]</a> Sean Bright -- res_odbc: Remove deprecated settings from sample configuration file</li>
</ul><br><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26754">ASTERISK-26754</a>: build_tools: make_build_h does not handle \ in user name <br/>Reported by: Kirill Katsnelson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3c8f84786e7700d678a09d2060838ec2a4815b7d">[3c8f84786e]</a> Kirill Katsnelson -- make_build_h: handle backslashes in external strings</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26546">ASTERISK-26546</a>: mips64el and x32 - undefined reference to symbol 'dlopen@@GLIBC_2.2'<br/>Reported by: Tzafrir Cohen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bfb8c962c4485815a1e0552113408738fff30eb2">[bfb8c962c4]</a> Tzafrir Cohen -- autoconf: more variants for OSARCH linux-gnu</li>
</ul><br><h4>Category: Resources/res_agi</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25951">ASTERISK-25951</a>: res_agi: run_agi eats frames it shouldn't<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a199f94908601be10c0b43e3b3b7d67c41c5025f">[a199f94908]</a> Richard Mudgett -- res_agi: Prevent an AGI from eating frames it should not. (Re-do)</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26343">ASTERISK-26343</a>: ASTERISK-25951 causes issues for callerid manipulation through agi<br/>Reported by: Morten Tryfoss<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a199f94908601be10c0b43e3b3b7d67c41c5025f">[a199f94908]</a> Richard Mudgett -- res_agi: Prevent an AGI from eating frames it should not. (Re-do)</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6bed318a660c5258925c84f5d3f7012f3183c2de">[6bed318a66]</a> Richard Mudgett -- Frame deferral: Revert API refactoring.</li>
</ul><br><h4>Category: Resources/res_format_attr_opus</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26579">ASTERISK-26579</a>: codec_opus: Recursiveness when parsing fmtp line<br/>Reported by: Jørgen H<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=888142e89160169220bff1bae742f6ef558a7b11">[888142e891]</a> Joshua Colp -- res_format_attr_opus: Fix crash when fmtp contains spaces.</li>
</ul><br><h4>Category: Resources/res_http_websocket</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24330">ASTERISK-24330</a>: Requirement for 'wss' value in Contact header transport parameter on inbound traffic violates RFC7118<br/>Reported by: Marek Cervenka<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=09c36a65356093e2a40cd2b23ff9f945e1028589">[09c36a6535]</a> Matt Jordan -- res_pjsip/chan_sip: Advertise 'ws' in the SIP URI transport parameter</li>
</ul><br><h4>Category: Resources/res_odbc</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26704">ASTERISK-26704</a>: res_odbc.conf contains deprecated configuration: 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'.<br/>Reported by: Anthony Messina<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=70aff89e5dc7f04235e24382b034cb93b4262321">[70aff89e5d]</a> Sean Bright -- res_odbc: Remove deprecated settings from sample configuration file</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26679">ASTERISK-26679</a>: Crash on invalid contact domain (pjsip aor)<br/>Reported by: Dmitriy<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e371e13b9eb6ce1f60bf31a8d25c7d4bdcd01d8d">[e371e13b9e]</a> Joshua Colp -- res_pjsip: Handle invocation of callback on outgoing request when error occurs.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26699">ASTERISK-26699</a>: res_pjsip: Assertion when sending OPTIONS request to endpoint<br/>Reported by: Ross Beer<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e371e13b9eb6ce1f60bf31a8d25c7d4bdcd01d8d">[e371e13b9e]</a> Joshua Colp -- res_pjsip: Handle invocation of callback on outgoing request when error occurs.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26743">ASTERISK-26743</a>: PJPROJECT: Detecting compiled max log level does not work.<br/>Reported by: Richard Mudgett<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=30cb4eb57fe25e14a14e99008f5706b0f994d10b">[30cb4eb57f]</a> Richard Mudgett -- PJPROJECT logging: Fix detection of max supported log level.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26684">ASTERISK-26684</a>: res_pjsip: Various issues with compact SIP headers<br/>Reported by: Joshua Elson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a398f98b08f98538ec6c70b67f46a5a24fe4d001">[a398f98b08]</a> Joshua Elson -- res_pjsip: Fix known compact header issues</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24499">ASTERISK-24499</a>: Need more explicit debug when PJSIP dialstring is invalid<br/>Reported by: Rusty Newton<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=91145741885859471c6f07124ffda91d1b2bdd58">[9114574188]</a> Richard Mudgett -- res_pjsip: Add/update ERROR msg if invalid URI.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26490">ASTERISK-26490</a>: res_pjsip: sends 481 Call/Transaction Does Not Exist when transaction branch parameter contains "_"<br/>Reported by: Juris Breicis<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d506874477d2b2d64f50fa5d2fa77565934656d6">[d506874477]</a> Richard Mudgett -- Bundled pjproject: Fix finding SIP transactions.</li>
</ul><br><h4>Category: Resources/res_pjsip/Bundling</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26743">ASTERISK-26743</a>: PJPROJECT: Detecting compiled max log level does not work.<br/>Reported by: Richard Mudgett<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=30cb4eb57fe25e14a14e99008f5706b0f994d10b">[30cb4eb57f]</a> Richard Mudgett -- PJPROJECT logging: Fix detection of max supported log level.</li>
</ul><br><h4>Category: Resources/res_pjsip_endpoint_identifier_ip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26735">ASTERISK-26735</a>: res_pjsip_endpoint_identifier_ip: "srv_lookups" after match in .conf has no effect<br/>Reported by: Michael Maier<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=aae9df06433512f58701daf66ae99c292d6c9908">[aae9df0643]</a> Joshua Colp -- res_pjsip_endpoint_identifier_ip: Fix memory leak of hosts when resolving.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6d23b2e360789f44923b527fa97564a2ff648268">[6d23b2e360]</a> Joshua Colp -- res_pjsip_endpoint_identifier_ip: Read settings before resolving.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26693">ASTERISK-26693</a>: res_pjsip_endpoint_identifier_ip: Add support for SRV<br/>Reported by: Joshua Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a2f0adccbd0fc3ea18a222783aeecd09cf427815">[a2f0adccbd]</a> Joshua Colp -- res_pjsip_endpoint_identifier_ip: Ensure error defaults to 0.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=37aaaa2da24ee7f3631a63b26c96fd3586cedbcb">[37aaaa2da2]</a> Joshua Colp -- res_pjsip_endpoint_identifier_ip: Add support for SRV lookups.</li>
</ul><br><h4>Category: Resources/res_pjsip_registrar</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26644">ASTERISK-26644</a>: PJSIPShowRegistrationsInbound just dumps all aors<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ebc67d305398caf8738dcc4b7c88b9e40fa3d58e">[ebc67d3053]</a> gtjoseph -- res_pjsip_registrar: AMI Add RegistrationInboundContactStatuses command</li>
</ul><br><h4>Category: Resources/res_pjsip_session</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26670">ASTERISK-26670</a>: [patch] Outgoing SIP-URI Dialing via PJSIP<br/>Reported by: Alexander Traud<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=569dac8e50dd9213dd6c0f9f060fe697377e6f70">[569dac8e50]</a> Alexander Traud -- res_pjsip_session: Access SIPDOMAIN via Dialplan.</li>
</ul><br><h4>Category: Resources/res_rtp_asterisk</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-24858">ASTERISK-24858</a>: [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte order on Intel platform when using slin codec<br/>Reported by: Frankie Chin<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=339c30f2b65b005817b073bc9b7c8ad2e7e3fde9">[339c30f2b6]</a> Sean Bright -- res_rtp_asterisk: Swap byte-order when sending signed linear</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26710">ASTERISK-26710</a>: [patch] res_rtp_asterisk: CHANNEL arguments, (rtcp,all_rtt),(rtcp,all_loss),(rtcp,all_jitter) always return 0<br/>Reported by: Aaron An<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0047b1bc4962b5051608c8f7a02a8b03ee4d7ec5">[0047b1bc49]</a> Aaron An -- res_rtp_asterisk: Fix bug in function CHANNEL(rtcp, all_rtt)</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26672">ASTERISK-26672</a>: Crash when setting remote address on RTP instance<br/>Reported by: Richard Mudgett<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a9e459f8ace24f4d0c4febc2eb7fa17162c577c6">[a9e459f8ac]</a> Richard Mudgett -- res_rtp_asterisk.c: Fix uninitialized memory crash.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bcdd282adaae7d47c91172d4e38306fc3b3566c7">[bcdd282ada]</a> Richard Mudgett -- res_rtp_asterisk.c: Initialize ourip passed to ast_find_ourip().</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ac31233dbe996b4e2a1ccf9b7b2b35f6ed19e43c">[ac31233dbe]</a> Richard Mudgett -- acl.c: Improve ast_ouraddrfor() diagnostic messages.</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0aa5db4b38e80a059c3cd2c1d70ee9c509c0f488">[0aa5db4b38]</a> Richard Mudgett -- chan_rtp.c: Fix uninitialized memory crash.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26617">ASTERISK-26617</a>: res_rtp_asterisk: Can't bind on systems without IPv6<br/>Reported by: Guido Falsi<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2ceb609edb64e930300806e75dc1a45386f800ef">[2ceb609edb]</a> Guido Falsi -- res_rtp: Fix regression when IPv6 is not available.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26566">ASTERISK-26566</a>: res_rtp_asterisk: RTT miscalculation in RTCP<br/>Reported by: Hector Royo Concepcion<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8756ce64b7874dbcc0cd9a47aa09fc21cb4f9f81">[8756ce64b7]</a> gestoip2 -- res_rtp_asterisk: RTT miscalculation in RTCP</li>
</ul><br><h4>Category: Resources/res_sorcery_memory_cache</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26731">ASTERISK-26731</a>: res_sorcery_memory_cache: memory leak on every sorcery memory cache populate<br/>Reported by: Ustinov Artem<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=75497c33ea4f52d969c0d845ab30d0c152c34c4d">[75497c33ea]</a> Mark Michelson -- Free endpoint ACLs when destroying PJSIP endpoints.</li>
</ul><br><h4>Category: Tests/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26740">ASTERISK-26740</a>: voicemail API test: uses varlibdir instead of datadir for a sound file<br/>Reported by: Tzafrir Cohen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=cd2677f966574980caeb6da2cdcaa2dc5ec1e83f">[cd2677f966]</a> Tzafrir Cohen -- tests: use datadir for sound files</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26739">ASTERISK-26739</a>: voicemail API test: confuses expected and actual values<br/>Reported by: Tzafrir Cohen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b62f84bfb1cec9ad7099aaa6f63ac4cfc08cb829">[b62f84bfb1]</a> Tzafrir Cohen -- test_voicemail_api: order of params to VERIFY macros</li>
</ul><br><h4>Category: Third-Party/pjproject</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26653">ASTERISK-26653</a>: pjproject_bundled doesn't verify already downloaded tarballs<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=cd46e86491e3f8946bbe9c97b8a1d7eaf708dda9">[cd46e86491]</a> gtjoseph -- pjproject_bundled: Retry download if previously saved tarball is bad</li>
</ul><br><h4>Category: pjproject/pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26655">ASTERISK-26655</a>: [patch]pjsip: Transfers Broken with Compact Headers Enabled<br/>Reported by: JoshE<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0ab9d103f614c6339334c60bc032c1f8f941326c">[0ab9d103f6]</a> JoshE -- res_pjsip_refer: Handle compact Refer-To header.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26490">ASTERISK-26490</a>: res_pjsip: sends 481 Call/Transaction Does Not Exist when transaction branch parameter contains "_"<br/>Reported by: Juris Breicis<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d506874477d2b2d64f50fa5d2fa77565934656d6">[d506874477]</a> Richard Mudgett -- Bundled pjproject: Fix finding SIP transactions.</li>
</ul><br><h3>Improvement</h3><h4>Category: Applications/app_controlplayback</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26562">ASTERISK-26562</a>: app_controlplayback: Transmit Silence on ControlPlayback pause<br/>Reported by: Mikheili Dautashvili<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=12c4e664bc864e4272688fe9ce10a99d0630bc34">[12c4e664bc]</a> Mikheili Dautashvili -- main/app.c: Transmit Silence on ControlPlayback pause</li>
</ul><br><h4>Category: Resources/res_calendar_caldav</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26624">ASTERISK-26624</a>: res_calendar_caldav: Add support for gmail<br/>Reported by: Eduardo Scudeller Libardi<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=53459cdaa958bbbebc3edb18f460e522bbf56b2f">[53459cdaa9]</a> Eduardo S. Libardi -- res_calendar_caldav: Add support reading gmail calendar</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-23828">ASTERISK-23828</a>: pjsip - Need a command to list active SIP subscriptions<br/>Reported by: Rusty Newton<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e3dcb9ddd957fb64ddd43a7656463c0fe0c444cf">[e3dcb9ddd9]</a> Richard Mudgett -- res_pjsip_pubsub.c: Implement "pjsip show subscriptions" commands.</li>
</ul><br><h4>Category: Tests/testsuite</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26527">ASTERISK-26527</a>: Testsuite: increase timeout to check "core fullybooted wait" up to 30 sec<br/>Reported by: Badalian Vyacheslav<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=61ba2a014a25a8423f775b61b7ac56f951be3df8">[61ba2a014a]</a> Richard Mudgett -- res_pjsip_outbound_registration.c: Filter redundant statsd reporting.</li>
</ul><br><hr><a name="open_issues"><h2 align="center">Open Issues</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all open issues from the issue tracker that were referenced by changes that went into this release.</p><h3>Bug</h3><h4>Category: Core/BuildSystem</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26109">ASTERISK-26109</a>: Asterisk fails building with OpenSSL 1.1.0<br/>Reported by: Tzafrir Cohen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b0c9f07f040dfa1713899f6b5ad1e3321bd56481">[b0c9f07f04]</a> Tzafrir Cohen -- OpenSSL 1.1.0 support</li>
</ul><br><h4>Category: Core/Jitterbuffer</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25270">ASTERISK-25270</a>: chan_sip: rtptimeout doesn't work at all when using JitterBuffers of any kind<br/>Reported by: Florian Loyau<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a3614d75f650abd3a9028fccabfcd88649381284">[a3614d75f6]</a> Kevin Harwell -- Revert "chan_sip: Fix lastrtprx always updated"</li>
</ul><br><h4>Category: Core/RTP</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25270">ASTERISK-25270</a>: chan_sip: rtptimeout doesn't work at all when using JitterBuffers of any kind<br/>Reported by: Florian Loyau<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a3614d75f650abd3a9028fccabfcd88649381284">[a3614d75f6]</a> Kevin Harwell -- Revert "chan_sip: Fix lastrtprx always updated"</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=ec97c41ac817bce13d8bd9436c35ad3ef95a9f72">ec97c41ac8</a></td><td>gtjoseph</td><td>Update for 13.14.0-rc2</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3f3290ce4f83c00a8ab4c25378ebf0c0e797453b">3f3290ce4f</a></td><td>Mark Michelson</td><td>Revert "Update qualifies when AOR configuration changes."</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7dbe77d63946ce204611a75d5f79d37f9d624ee1">7dbe77d639</a></td><td>gtjoseph</td><td>Update for 13.14.0-rc1</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6492e91392b8fd394193e411c6eb64b45486093f">6492e91392</a></td><td>Mark Michelson</td><td>Update qualifies when AOR configuration changes.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7fd28cefdb2a41308b22b6e29d9a10ff38acb2e5">7fd28cefdb</a></td><td>gtjoseph</td><td>debug_utilities: Install ast_logescalator to /var/lib/asterisk/scripts</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=456bc3c704ffce7807caa6f5f4bc92ed1720c871">456bc3c704</a></td><td>gtjoseph</td><td>debug_utilities: Add ast_logescalator</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=54b027916a71f2b83b2050cef5ef704ea5de39b2">54b027916a</a></td><td>Torrey Searle</td><td>libastssl/pj: libastssl/pj should have an so_version</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9e3150b98ddf4ecfe09e281c73c634b89ba2514e">9e3150b98d</a></td><td>Mark Michelson</td><td>Add reload options to CLI/AMI stale object commands.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c54f9d2bf01ab943c122c5326da52decf6e492cd">c54f9d2bf0</a></td><td>Richard Mudgett</td><td>T.140: Fix format ref and memory leaks.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=607b3ac736e9bdd69acb69f85c2d5a66271a4bb2">607b3ac736</a></td><td>Richard Mudgett</td><td>astobj2.c: Add excessive ref count trap.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ab8cb5a7ce227ed2c889d58a04d7167aa49e3f63">ab8cb5a7ce</a></td><td>Richard Mudgett</td><td>main/app.c: Memory corruption from early format destruction.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dcd8e4b1a0fd5159e6799a71d15ba56e16c374a7">dcd8e4b1a0</a></td><td>Richard Mudgett</td><td>frame.c: Fix off-nominal format ref leaks.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=00a227e93dec78170a0637a1216f619f70f73df9">00a227e93d</a></td><td>Richard Mudgett</td><td>stasis_bridge.c: Fix off-nominal stasis control ref leak.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=38a2021c68df5352f601439c7317cac5082d10a8">38a2021c68</a></td><td>Richard Mudgett</td><td>res_musiconhold.c: Fix format ref leak when parsing MOH config class.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ab7a9fc5b29c274651159b18f7057c9b150fede3">ab7a9fc5b2</a></td><td>Richard Mudgett</td><td>chan_oss.c: Fix format ref leak in oss_read().</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1484a991e17bb3320fbf8d1cfbe92d7ba5d6ea01">1484a991e1</a></td><td>Richard Mudgett</td><td>Add notes about embedded ast_frame structs holding a format ref.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=17f4989d49c7117684c04bff8a3e6fed1c6e6aad">17f4989d49</a></td><td>gtjoseph</td><td>ari: Implement 'debug all' and request/response logging</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=177e81ee47708a30b0a042acf4be19b4b812676e">177e81ee47</a></td><td>gtjoseph</td><td>pjproject_bundled: Fix setting max log level</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a969bf357708514104b67274a6c07d4697ea0eff">a969bf3577</a></td><td>Richard Mudgett</td><td>LISTFILTER: Remove outdated ERROR message.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3890337e7a14bb04bcd2d60b2112de588ec93828">3890337e7a</a></td><td>Richard Mudgett</td><td>res_pjsip_pubsub.c: Fix AMI event list counts.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fe4801c4f95a89ecc83cec14bec9f90a40994528">fe4801c4f9</a></td><td>Richard Mudgett</td><td>res_pjsip_pubsub.c: Fix incorrect message string wrapping.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=46484b87300e249b1a8584fe0f45a57e8362f723">46484b8730</a></td><td>Richard Mudgett</td><td>res_pjsip_pubsub.c: Eliminate trivial SCOPED_LOCK usage.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8160474d7db9b5975172c88d27cc6c1880700831">8160474d7d</a></td><td>Richard Mudgett</td><td>res_pjsip: alloca can never fail.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c628a7acacea0d519e0e5919a2a1db1ba5851ee0">c628a7acac</a></td><td>gtjoseph</td><td>debug_utilities: Create ast_loggrabber</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e335b706ee4e592c168e23dca5a813f84988778f">e335b706ee</a></td><td>Richard Mudgett</td><td>res_pjsip_outbound_authenticator_digest.c: Fix spacing in warning messages.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=883e7fde31ab9db886c482f12383f6baa57e9e92">883e7fde31</a></td><td>Kevin Harwell</td><td>abstract/fixed/adpative jitter buffer: disallow frame re-inserts</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=473330983b47618772b1dd414df8e063e5da6a53">473330983b</a></td><td>Richard Mudgett</td><td>taskprocessor.c: Change when high water warning logged.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=47474cfd54a9185c1433464ccfd6301427a03957">47474cfd54</a></td><td>gtjoseph</td><td>debug_utilities: Create the ast_coredumper utility</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f8cd73ec3c159f2e6c464952c92d8fdb69394371">f8cd73ec3c</a></td><td>gtjoseph</td><td>pjproject_bundled: Fix compilation with MALLOC_DEBUG</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d7e5a747c312de18647213359103ce6022776864">d7e5a747c3</a></td><td>gtjoseph</td><td>pjproject_bundled: Compile pjsua with max log level = 2</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=21151408f7d984c7652f479f03ddd452e1d275f7">21151408f7</a></td><td>Richard Mudgett</td><td>bridge_native_rtp.c: Minor code cleanups.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9dcf9e9cea87b7bf7f2bbdbaddd51377a6138bfa">9dcf9e9cea</a></td><td>Richard Mudgett</td><td>bridge_native_rtp.c: Fix native rtp bridge data race.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e2fa3c7edabd52b62830a32930b0b4aaf4bcb9ac">e2fa3c7eda</a></td><td>Richard Mudgett</td><td>res_rtp_asterisk.c: Fix off nominal memory leak.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=815f7551550908c83220196ba08742af0c745772">815f755155</a></td><td>gtjoseph</td><td>pjproject_bundled: Make build single threaded</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ab447f8a6a3d05908395ed52ec3b981c1e8943c1">ab447f8a6a</a></td><td>David M. Lee</td><td>configure: fix with-pjproject-bundled</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=35736d419a85b877072fe3688f410376b8ce4613">35736d419a</a></td><td>Richard Mudgett</td><td>autosupport: Add 'pjproject show buildopts'</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=91485734a48e9e44292b80b8993fb464bc3817b0">91485734a4</a></td><td>gtjoseph</td><td>res_sorcery_memory_cache: Change an error to a debug message</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=22820e10fe866df47373bb2ef18d159cea40079b">22820e10fe</a></td><td>Badalyan Vyacheslav</td><td>chan_sip: Delete unneeded check</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6aa2c5e5f967128a89a95e40c8846bbd091eb6fb">6aa2c5e5f9</a></td><td>Badalyan Vyacheslav</td><td>Small code cleanup in chan_sip</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b596fac8384c470af6fc656953609882c629fe7d">b596fac838</a></td><td>Badalyan Vyacheslav</td><td>Fix typo in chan_sip</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=483ed9f1aa2575a94f9ccfd6c490e72d4611f249">483ed9f1aa</a></td><td>Badalyan Vyacheslav</td><td>res_pjsip: Fix 'A = B != C' kind.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4b233675d86fef64e6ccce82a0f7b038d3c7e032">4b233675d8</a></td><td>gtjoseph</td><td>pjproject_bundled: Fix missing inclusion of symbols</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=580f83dac713614bd8904f8722a900299ff4f8bc">580f83dac7</a></td><td>Richard Mudgett</td><td>Remove files that got merged in error somehow to the 13 branch.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=17b0b91afa1aa6b8b503a75e96b054f13612356a">17b0b91afa</a></td><td>Mark Michelson</td><td>Frame deferral: Re-queue deferred frames one-at-a-time.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a33ed3327aa7530b9c9dbd98bd575f85c15ec8a4">a33ed3327a</a></td><td>Matt Jordan</td><td>res/res_pjsip: Fix documentation whitespace issues</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=29e887e9e11d3a60ebc0f177ba3dcddb2e07e8fe">29e887e9e1</a></td><td>gtjoseph</td><td>build_tools: Fix download_externals to handle certified branches</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a1fa9090337aeb14cc5e86cd7d212d35cc95b37a">a1fa909033</a></td><td>Timo Teräs</td><td>codec_dahdi: Fix poll.h include.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=86d824b7fff5c9135694dbff6dc2a64b51964752">86d824b7ff</a></td><td>Timo Teräs</td><td>addons/chan_mobile: do not use strerror_r</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=425da14927f10205911f5db6d6b193b22203c224">425da14927</a></td><td>gtjoseph</td><td>build: Backport addition of librt check to configure.ac</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2a40c3a8679f1a02d88c48f0424fa41df09203a8">2a40c3a867</a></td><td>gtjoseph</td><td>pjproject_bundled: Improve reliability of pjproject download</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ee73af1d88c9ff6db90f70f934f5ea57b8ab0625">ee73af1d88</a></td><td>gtjoseph</td><td>Update for 13.12.2</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7d7b52c434eb23ef470ad51d08ee4029a7078b78">7d7b52c434</a></td><td>Mark Michelson</td><td>Update for 13.12.1</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=226a7e36c538de73cee76de4183b1569bd5501e5">226a7e36c5</a></td><td>Mark Michelson</td><td>Update for 13.12.0</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=df75b647da03eba6920020bac0cc950032a1e930">df75b647da</a></td><td>Mark Michelson</td><td>Update for 13.12.0-rc1</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>asterisk-13.13.0-summary.html | 304 -
asterisk-13.13.0-summary.txt | 767 ----
b/.version | 2
b/CHANGES | 50
b/ChangeLog | 1614 +++++++++-
b/addons/chan_mobile.c | 13
b/apps/app_queue.c | 40
b/apps/app_voicemail.c | 6
b/asterisk-13.14.0-rc2-summary.html | 20
b/asterisk-13.14.0-rc2-summary.txt | 104
b/bootstrap.sh | 2
b/bridges/bridge_native_rtp.c | 81
b/build_tools/download_externals | 4
b/build_tools/make_build_h | 10
b/channels/chan_dahdi.c | 4
b/channels/chan_oss.c | 2
b/channels/chan_pjsip.c | 9
b/channels/chan_rtp.c | 7
b/channels/chan_sip.c | 111
b/channels/pjsip/dialplan_functions.c | 62
b/codecs/codec_dahdi.c | 2
b/configs/samples/ast_debug_tools.conf.sample | 57
b/configs/samples/pjproject.conf.sample | 25
b/configs/samples/res_odbc.conf.sample | 6
b/configure | 12
b/configure.ac | 10
b/contrib/Makefile | 14
b/contrib/ast-db-manage/config/versions/28ab27a7826d_add_srv_lookups_to_identify.py | 31
b/contrib/realtime/mssql/mssql_config.sql | 14
b/contrib/realtime/mysql/mysql_config.sql | 6
b/contrib/realtime/oracle/oracle_config.sql | 14
b/contrib/realtime/postgresql/postgresql_config.sql | 6
b/contrib/scripts/ast_coredumper | 533 +++
b/contrib/scripts/ast_logescalator | 399 ++
b/contrib/scripts/ast_loggrabber | 255 +
b/contrib/scripts/autosupport | 4
b/funcs/func_strings.c | 1
b/include/asterisk/abstract_jb.h | 3
b/include/asterisk/ari.h | 24
b/include/asterisk/channel.h | 72
b/include/asterisk/frame.h | 2
b/include/asterisk/mod_format.h | 6
b/include/asterisk/options.h | 41
b/include/asterisk/res_pjsip.h | 10
b/include/asterisk/rtp_engine.h | 4
b/include/asterisk/stasis_app.h | 49
b/include/asterisk/tcptls.h | 4
b/include/asterisk/translate.h | 2
b/include/asterisk/utils.h | 9
b/include/jitterbuf.h | 3
b/main/Makefile | 12
b/main/abstract_jb.c | 31
b/main/acl.c | 36
b/main/app.c | 36
b/main/asterisk.c | 35
b/main/astobj2.c | 13
b/main/audiohook.c | 40
b/main/autoservice.c | 66
b/main/channel.c | 217 -
b/main/channel_internal_api.c | 68
b/main/fixedjitterbuf.c | 6
b/main/fixedjitterbuf.h | 3
b/main/format_compatibility.c | 4
b/main/frame.c | 69
b/main/jitterbuf.c | 5
b/main/libasteriskpj.c | 2
b/main/libasteriskssl.c | 4
b/main/manager.c | 6
b/main/message.c | 9
b/main/rtp_engine.c | 2
b/main/srv.c | 3
b/main/strings.c | 21
b/main/taskprocessor.c | 8
b/main/tcptls.c | 94
b/main/utils.c | 24
b/makeopts.in | 2
b/res/ari/ari_websockets.c | 14
b/res/ari/cli.c | 175 +
b/res/ari/resource_events.c | 9
b/res/res_agi.c | 10
b/res/res_ari.c | 77
b/res/res_ari_applications.c | 42
b/res/res_ari_asterisk.c | 120
b/res/res_ari_bridges.c | 162 -
b/res/res_ari_channels.c | 318 -
b/res/res_ari_device_states.c | 27
b/res/res_ari_endpoints.c | 45
b/res/res_ari_events.c | 18
b/res/res_ari_mailboxes.c | 27
b/res/res_ari_playbacks.c | 24
b/res/res_ari_recordings.c | 48
b/res/res_ari_sounds.c | 21
b/res/res_calendar_caldav.c | 4
b/res/res_format_attr_opus.c | 38
b/res/res_musiconhold.c | 2
b/res/res_pjproject.c | 156
b/res/res_pjsip.c | 72
b/res/res_pjsip/pjsip_configuration.c | 6
b/res/res_pjsip/pjsip_options.c | 17
b/res/res_pjsip_diversion.c | 3
b/res/res_pjsip_endpoint_identifier_ip.c | 160
b/res/res_pjsip_history.c | 91
b/res/res_pjsip_outbound_authenticator_digest.c | 12
b/res/res_pjsip_outbound_registration.c | 21
b/res/res_pjsip_pubsub.c | 635 +++
b/res/res_pjsip_refer.c | 8
b/res/res_pjsip_registrar.c | 70
b/res/res_pjsip_sdp_rtp.c | 7
b/res/res_pjsip_session.c | 8
b/res/res_pjsip_t38.c | 7
b/res/res_pjsip_transport_websocket.c | 5
b/res/res_rtp_asterisk.c | 117
b/res/res_sorcery_memory_cache.c | 41
b/res/res_stasis.c | 23
b/res/stasis/app.c | 73
b/res/stasis/app.h | 27
b/res/stasis/stasis_bridge.c | 6
b/rest-api-templates/param_parsing.mustache | 15
b/rest-api-templates/res_ari_resource.c.mustache | 3
b/tests/test_ari.c | 22
b/tests/test_substitution.c | 9
b/tests/test_voicemail_api.c | 52
b/third-party/Makefile | 2
b/third-party/Makefile.rules | 4
b/third-party/pjproject/Makefile | 61
b/third-party/pjproject/configure.m4 | 8
b/third-party/pjproject/patches/0000-set_apps_initial_log_level.patch | 13
res/stasis/cli.c | 216 -
res/stasis/cli.h | 43
129 files changed, 5945 insertions(+), 2895 deletions(-)</pre><br></html>

View File

@@ -0,0 +1,878 @@
Release Summary
asterisk-13.14.0
Date: 2017-02-13
<asteriskteam@digium.com>
----------------------------------------------------------------------
Table of Contents
1. Summary
2. Contributors
3. Closed Issues
4. Open Issues
5. Other Changes
6. 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.13.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
35 Richard Mudgett 1 AaronAn 6 Richard Mudgett
19 George Joseph 4 Tzafrir Cohen
8 Joshua Colp 4 George Joseph
8 Mark Michelson 3 Michael Kuron
4 Badalyan Vyacheslav 3 Joshua Colp
4 Tzafrir Cohen 3 Kirill Katsnelson
3 Sean Bright 3 Tom Pawelek
3 Kirill Katsnelson 2 Rusty Newton
2 Michael Kuron 2 Morten Tryfoss
2 Kevin Harwell 2 Alexander Traud
2 Alexander Traud 2 Michael Maier
2 Matt Jordan 1 Walter Doekes
2 Timo TerACURs 1 Alexei Gradinari
1 Walter Doekes 1 Ustinov Artem
1 Alexei Gradinari 1 Dmitriy
1 Martin Tomec 1 Michael Keuter
1 Guido Falsi 1 Jonas Kellens
1 Joshua Elson 1 Guido Falsi
1 jassim mishal 1 Ross Beer
1 Aaron An 1 Mikheili Dautashvili
1 nappsoft 1 Juris Breicis
1 JoshE 1 Aaron An
1 Corey Farrell 1 nappsoft
1 gestoip2 1 JoshE
1 Eduardo Scudeller Libardi 1 Hector Royo Concepcion
1 David M. Lee 1 Frankie Chin
1 Torrey Searle 1 Eduardo S. Libardi
1 Eduardo Scudeller Libardi
1 Badalian Vyacheslav
1 Doug Lytle
1 David Woolley
1 David Woolley
1 Jonathan Rose
1 Joshua Elson
1 Anthony Messina
1 Marek Cervenka
1 Florian Loyau
1 cervajs, Inaki Baz Castillo
1 JA,rgen H
1 Mark Michelson
----------------------------------------------------------------------
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.
New Feature
Category: Core/General
ASTERISK-26630: Make logging PJPROJECT messages a bit easier
Reported by: Richard Mudgett
* [44fe4a5769] Richard Mudgett -- PJPROJECT logging: Made easier to get
available logging levels.
Category: Resources/res_pjsip/Bundling
ASTERISK-26630: Make logging PJPROJECT messages a bit easier
Reported by: Richard Mudgett
* [44fe4a5769] Richard Mudgett -- PJPROJECT logging: Made easier to get
available logging levels.
Bug
Category: Applications/app_dial
ASTERISK-24499: Need more explicit debug when PJSIP dialstring is invalid
Reported by: Rusty Newton
* [9114574188] Richard Mudgett -- res_pjsip: Add/update ERROR msg if
invalid URI.
Category: Applications/app_mixmonitor
ASTERISK-21094: MixMonitorMute mutes through stream if already slinear
(e.g. Originate)
Reported by: David Woolley
* [3aee199913] Sean Bright -- audiohooks: Muting a hook can mute
underlying frames
Category: Applications/app_queue
ASTERISK-26755: app_queue: Random queues disappear on "core reload queue
all"
Reported by: Kirill Katsnelson
* [be92f10a16] Kirill Katsnelson -- app_queue: Fix queues randomly
disappearing on reload
ASTERISK-26621: app_queue: Queue application does not ring members with
Local interface
Reported by: Jonas Kellens
* [d13be4eff6] Martin Tomec -- app_queue: Ensure member is removed from
pending when hanging up.
Category: Applications/app_stasis
ASTERISK-26716: ari: Channels with pre-dial handlers cannot be hung up via
ARI
Reported by: Tom Pawelek
* [43f0ff4b69] Richard Mudgett -- channel.c: Fix unbalanced read queue
deadlocking local channels.
* [a199f94908] Richard Mudgett -- res_agi: Prevent an AGI from eating
frames it should not. (Re-do)
* [6bed318a66] Richard Mudgett -- Frame deferral: Revert API
refactoring.
Category: Applications/app_voicemail
ASTERISK-26503: app_voicemail: Asterisk crashes when MailboxExists is used
Reported by: Doug Lytle
* [9c761b8f45] Joshua Colp -- app_voicemail: Clear voice mailbox in
MailboxExists and MAILBOX_EXISTS.
Category: Channels/chan_dahdi
ASTERISK-25494: build: GCC 5.1.x catches some new const, array bounds and
missing paren issues
Reported by: George Joseph
* [4b285d226d] Richard Mudgett -- chan_dahdi.c: Fix bounds check
regression.
Category: Channels/chan_pjsip
ASTERISK-26673: chan_pjsip: Crash when using CHANNEL dialplan function
around masquerade
Reported by: Joshua Colp
* [34e728cfb9] Joshua Colp -- chan_pjsip: Use session for retrieving
CHANNEL() information.
ASTERISK-26603: [patch] chan_pjsip: not switching sending codec to
receiving codec when asymmetric_rtp_codec=no
Reported by: Alexei Gradinari
* [cf6d13180e] Alexei Gradinari -- chan_pjsip: fix switching sending
codec when asymmetric_rtp_codec=no
Category: Channels/chan_rtp
ASTERISK-26672: Crash when setting remote address on RTP instance
Reported by: Richard Mudgett
* [a9e459f8ac] Richard Mudgett -- res_rtp_asterisk.c: Fix uninitialized
memory crash.
* [bcdd282ada] Richard Mudgett -- res_rtp_asterisk.c: Initialize ourip
passed to ast_find_ourip().
* [ac31233dbe] Richard Mudgett -- acl.c: Improve ast_ouraddrfor()
diagnostic messages.
* [0aa5db4b38] Richard Mudgett -- chan_rtp.c: Fix uninitialized memory
crash.
Category: Channels/chan_sip/CodecHandling
ASTERISK-26691: Remember SDP negotiation on SIP_CODEC_INBOUND.
Reported by: Alexander Traud
* [367128e70b] Alexander Traud -- chan_sip: Remember SDP negotiation on
SIP_CODEC_INBOUND.
Category: Channels/chan_sip/General
ASTERISK-25494: build: GCC 5.1.x catches some new const, array bounds and
missing paren issues
Reported by: George Joseph
* [4b285d226d] Richard Mudgett -- chan_dahdi.c: Fix bounds check
regression.
ASTERISK-26523: chan_sip: Asterisk 13.12.1 disconnects incoming calls
after 2 minutes - rtptimeout behaving badly - regression
Reported by: Michael Keuter
* [a3614d75f6] Kevin Harwell -- Revert "chan_sip: Fix lastrtprx always
updated"
Category: Channels/chan_sip/Interoperability
ASTERISK-26433: chan_sip: Allows To-tag checks to be bypassed, setting up
new calls
Reported by: Walter Doekes
* [41c6319c4e] Walter Doekes -- chan_sip: Do not allow non-SP/HTAB
between header key and colon.
Category: Channels/chan_sip/TCP-TLS
ASTERISK-26586: chan_sip: Segfaults upon reload if client with MWI wasn't
registered
Reported by: Michael Kuron
* [493849dcd7] Corey Farrell -- chan_sip: Reorder unload_module to deal
with stuck TCP threads.
* [0cc8351484] Michael Kuron -- chan_sip: Fix segfault during module
unload
ASTERISK-26604: chan_sip: sip reload doesn't apply changes to tlscertfile,
tlsciphers, etc.
Reported by: Michael Kuron
* [8e77d6f520] Michael Kuron -- tcptls: Use new certificate upon sip
reload
Category: Channels/chan_sip/WebSocket
ASTERISK-24330: Requirement for 'wss' value in Contact header transport
parameter on inbound traffic violates RFC7118
Reported by: Marek Cervenka
* [09c36a6535] Matt Jordan -- res_pjsip/chan_sip: Advertise 'ws' in the
SIP URI transport parameter
Category: Channels/chan_skinny
ASTERISK-25494: build: GCC 5.1.x catches some new const, array bounds and
missing paren issues
Reported by: George Joseph
* [4b285d226d] Richard Mudgett -- chan_dahdi.c: Fix bounds check
regression.
Category: Codecs/General
ASTERISK-24858: [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte
order on Intel platform when using slin codec
Reported by: Frankie Chin
* [339c30f2b6] Sean Bright -- res_rtp_asterisk: Swap byte-order when
sending signed linear
Category: Core/BuildSystem
ASTERISK-26546: mips64el and x32 - undefined reference to symbol
'dlopen@@GLIBC_2.2'
Reported by: Tzafrir Cohen
* [bfb8c962c4] Tzafrir Cohen -- autoconf: more variants for OSARCH
linux-gnu
Category: Core/DNS
ASTERISK-26772: Crash in srv.c on startup with pjsip
Reported by: nappsoft
* [1f2ae7908d] nappsoft -- srv: Fix crash when ast_srv_lookup is used
and 0 records are returned.
Category: Core/General
ASTERISK-26632: core: Possibility of a frame "imbalance" leading to stuck
channels.
Reported by: Mark Michelson
* [43f0ff4b69] Richard Mudgett -- channel.c: Fix unbalanced read queue
deadlocking local channels.
ASTERISK-26753: AMI disconnect causes "ast_careful_fwrite: fwrite()
returned error: Broken pipe"
Reported by: Kirill Katsnelson
* [555e8cd2ba] Kirill Katsnelson -- ast_careful_fwrite to support EPIPE
gracefully
ASTERISK-25083: Message.c: Message channel becomes saturated with frames
leading to spammy log messages
Reported by: Jonathan Rose
* [75a6afbec5] Richard Mudgett -- MESSAGE: Flush Message/ast_msg_queue
channel alert pipe.
Category: Core/RTP
ASTERISK-24858: [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte
order on Intel platform when using slin codec
Reported by: Frankie Chin
* [339c30f2b6] Sean Bright -- res_rtp_asterisk: Swap byte-order when
sending signed linear
Category: Documentation
ASTERISK-26704: res_odbc.conf contains deprecated configuration:
'pooling', 'shared_connections', 'limit', and 'idlecheck' options were
replaced by 'max_connections'.
Reported by: Anthony Messina
* [70aff89e5d] Sean Bright -- res_odbc: Remove deprecated settings from
sample configuration file
Category: General
ASTERISK-26754: build_tools: make_build_h does not handle \ in user name
Reported by: Kirill Katsnelson
* [3c8f84786e] Kirill Katsnelson -- make_build_h: handle backslashes in
external strings
ASTERISK-26546: mips64el and x32 - undefined reference to symbol
'dlopen@@GLIBC_2.2'
Reported by: Tzafrir Cohen
* [bfb8c962c4] Tzafrir Cohen -- autoconf: more variants for OSARCH
linux-gnu
Category: Resources/res_agi
ASTERISK-25951: res_agi: run_agi eats frames it shouldn't
Reported by: George Joseph
* [a199f94908] Richard Mudgett -- res_agi: Prevent an AGI from eating
frames it should not. (Re-do)
ASTERISK-26343: ASTERISK-25951 causes issues for callerid manipulation
through agi
Reported by: Morten Tryfoss
* [a199f94908] Richard Mudgett -- res_agi: Prevent an AGI from eating
frames it should not. (Re-do)
* [6bed318a66] Richard Mudgett -- Frame deferral: Revert API
refactoring.
Category: Resources/res_format_attr_opus
ASTERISK-26579: codec_opus: Recursiveness when parsing fmtp line
Reported by: JA,rgen H
* [888142e891] Joshua Colp -- res_format_attr_opus: Fix crash when fmtp
contains spaces.
Category: Resources/res_http_websocket
ASTERISK-24330: Requirement for 'wss' value in Contact header transport
parameter on inbound traffic violates RFC7118
Reported by: Marek Cervenka
* [09c36a6535] Matt Jordan -- res_pjsip/chan_sip: Advertise 'ws' in the
SIP URI transport parameter
Category: Resources/res_odbc
ASTERISK-26704: res_odbc.conf contains deprecated configuration:
'pooling', 'shared_connections', 'limit', and 'idlecheck' options were
replaced by 'max_connections'.
Reported by: Anthony Messina
* [70aff89e5d] Sean Bright -- res_odbc: Remove deprecated settings from
sample configuration file
Category: Resources/res_pjsip
ASTERISK-26679: Crash on invalid contact domain (pjsip aor)
Reported by: Dmitriy
* [e371e13b9e] Joshua Colp -- res_pjsip: Handle invocation of callback
on outgoing request when error occurs.
ASTERISK-26699: res_pjsip: Assertion when sending OPTIONS request to
endpoint
Reported by: Ross Beer
* [e371e13b9e] Joshua Colp -- res_pjsip: Handle invocation of callback
on outgoing request when error occurs.
ASTERISK-26743: PJPROJECT: Detecting compiled max log level does not work.
Reported by: Richard Mudgett
* [30cb4eb57f] Richard Mudgett -- PJPROJECT logging: Fix detection of
max supported log level.
ASTERISK-26684: res_pjsip: Various issues with compact SIP headers
Reported by: Joshua Elson
* [a398f98b08] Joshua Elson -- res_pjsip: Fix known compact header
issues
ASTERISK-24499: Need more explicit debug when PJSIP dialstring is invalid
Reported by: Rusty Newton
* [9114574188] Richard Mudgett -- res_pjsip: Add/update ERROR msg if
invalid URI.
ASTERISK-26490: res_pjsip: sends 481 Call/Transaction Does Not Exist when
transaction branch parameter contains "_"
Reported by: Juris Breicis
* [d506874477] Richard Mudgett -- Bundled pjproject: Fix finding SIP
transactions.
Category: Resources/res_pjsip/Bundling
ASTERISK-26743: PJPROJECT: Detecting compiled max log level does not work.
Reported by: Richard Mudgett
* [30cb4eb57f] Richard Mudgett -- PJPROJECT logging: Fix detection of
max supported log level.
Category: Resources/res_pjsip_endpoint_identifier_ip
ASTERISK-26735: res_pjsip_endpoint_identifier_ip: "srv_lookups" after
match in .conf has no effect
Reported by: Michael Maier
* [aae9df0643] Joshua Colp -- res_pjsip_endpoint_identifier_ip: Fix
memory leak of hosts when resolving.
* [6d23b2e360] Joshua Colp -- res_pjsip_endpoint_identifier_ip: Read
settings before resolving.
ASTERISK-26693: res_pjsip_endpoint_identifier_ip: Add support for SRV
Reported by: Joshua Colp
* [a2f0adccbd] Joshua Colp -- res_pjsip_endpoint_identifier_ip: Ensure
error defaults to 0.
* [37aaaa2da2] Joshua Colp -- res_pjsip_endpoint_identifier_ip: Add
support for SRV lookups.
Category: Resources/res_pjsip_registrar
ASTERISK-26644: PJSIPShowRegistrationsInbound just dumps all aors
Reported by: George Joseph
* [ebc67d3053] gtjoseph -- res_pjsip_registrar: AMI Add
RegistrationInboundContactStatuses command
Category: Resources/res_pjsip_session
ASTERISK-26670: [patch] Outgoing SIP-URI Dialing via PJSIP
Reported by: Alexander Traud
* [569dac8e50] Alexander Traud -- res_pjsip_session: Access SIPDOMAIN
via Dialplan.
Category: Resources/res_rtp_asterisk
ASTERISK-24858: [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte
order on Intel platform when using slin codec
Reported by: Frankie Chin
* [339c30f2b6] Sean Bright -- res_rtp_asterisk: Swap byte-order when
sending signed linear
ASTERISK-26710: [patch] res_rtp_asterisk: CHANNEL arguments,
(rtcp,all_rtt),(rtcp,all_loss),(rtcp,all_jitter) always return 0
Reported by: Aaron An
* [0047b1bc49] Aaron An -- res_rtp_asterisk: Fix bug in function
CHANNEL(rtcp, all_rtt)
ASTERISK-26672: Crash when setting remote address on RTP instance
Reported by: Richard Mudgett
* [a9e459f8ac] Richard Mudgett -- res_rtp_asterisk.c: Fix uninitialized
memory crash.
* [bcdd282ada] Richard Mudgett -- res_rtp_asterisk.c: Initialize ourip
passed to ast_find_ourip().
* [ac31233dbe] Richard Mudgett -- acl.c: Improve ast_ouraddrfor()
diagnostic messages.
* [0aa5db4b38] Richard Mudgett -- chan_rtp.c: Fix uninitialized memory
crash.
ASTERISK-26617: res_rtp_asterisk: Can't bind on systems without IPv6
Reported by: Guido Falsi
* [2ceb609edb] Guido Falsi -- res_rtp: Fix regression when IPv6 is not
available.
ASTERISK-26566: res_rtp_asterisk: RTT miscalculation in RTCP
Reported by: Hector Royo Concepcion
* [8756ce64b7] gestoip2 -- res_rtp_asterisk: RTT miscalculation in RTCP
Category: Resources/res_sorcery_memory_cache
ASTERISK-26731: res_sorcery_memory_cache: memory leak on every sorcery
memory cache populate
Reported by: Ustinov Artem
* [75497c33ea] Mark Michelson -- Free endpoint ACLs when destroying
PJSIP endpoints.
Category: Tests/General
ASTERISK-26740: voicemail API test: uses varlibdir instead of datadir for
a sound file
Reported by: Tzafrir Cohen
* [cd2677f966] Tzafrir Cohen -- tests: use datadir for sound files
ASTERISK-26739: voicemail API test: confuses expected and actual values
Reported by: Tzafrir Cohen
* [b62f84bfb1] Tzafrir Cohen -- test_voicemail_api: order of params to
VERIFY macros
Category: Third-Party/pjproject
ASTERISK-26653: pjproject_bundled doesn't verify already downloaded
tarballs
Reported by: George Joseph
* [cd46e86491] gtjoseph -- pjproject_bundled: Retry download if
previously saved tarball is bad
Category: pjproject/pjsip
ASTERISK-26655: [patch]pjsip: Transfers Broken with Compact Headers
Enabled
Reported by: JoshE
* [0ab9d103f6] JoshE -- res_pjsip_refer: Handle compact Refer-To header.
ASTERISK-26490: res_pjsip: sends 481 Call/Transaction Does Not Exist when
transaction branch parameter contains "_"
Reported by: Juris Breicis
* [d506874477] Richard Mudgett -- Bundled pjproject: Fix finding SIP
transactions.
Improvement
Category: Applications/app_controlplayback
ASTERISK-26562: app_controlplayback: Transmit Silence on ControlPlayback
pause
Reported by: Mikheili Dautashvili
* [12c4e664bc] Mikheili Dautashvili -- main/app.c: Transmit Silence on
ControlPlayback pause
Category: Resources/res_calendar_caldav
ASTERISK-26624: res_calendar_caldav: Add support for gmail
Reported by: Eduardo Scudeller Libardi
* [53459cdaa9] Eduardo S. Libardi -- res_calendar_caldav: Add support
reading gmail calendar
Category: Resources/res_pjsip
ASTERISK-23828: pjsip - Need a command to list active SIP subscriptions
Reported by: Rusty Newton
* [e3dcb9ddd9] Richard Mudgett -- res_pjsip_pubsub.c: Implement "pjsip
show subscriptions" commands.
Category: Tests/testsuite
ASTERISK-26527: Testsuite: increase timeout to check "core fullybooted
wait" up to 30 sec
Reported by: Badalian Vyacheslav
* [61ba2a014a] Richard Mudgett -- res_pjsip_outbound_registration.c:
Filter redundant statsd reporting.
----------------------------------------------------------------------
Open Issues
[Back to Top]
This is a list of all open issues from the issue tracker that were
referenced by changes that went into this release.
Bug
Category: Core/BuildSystem
ASTERISK-26109: Asterisk fails building with OpenSSL 1.1.0
Reported by: Tzafrir Cohen
* [b0c9f07f04] Tzafrir Cohen -- OpenSSL 1.1.0 support
Category: Core/Jitterbuffer
ASTERISK-25270: chan_sip: rtptimeout doesn't work at all when using
JitterBuffers of any kind
Reported by: Florian Loyau
* [a3614d75f6] Kevin Harwell -- Revert "chan_sip: Fix lastrtprx always
updated"
Category: Core/RTP
ASTERISK-25270: chan_sip: rtptimeout doesn't work at all when using
JitterBuffers of any kind
Reported by: Florian Loyau
* [a3614d75f6] Kevin Harwell -- Revert "chan_sip: Fix lastrtprx always
updated"
----------------------------------------------------------------------
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 |
|------------+-------------+---------------------------------------------|
| ec97c41ac8 | gtjoseph | Update for 13.14.0-rc2 |
|------------+-------------+---------------------------------------------|
| 3f3290ce4f | Mark | Revert "Update qualifies when AOR |
| | Michelson | configuration changes." |
|------------+-------------+---------------------------------------------|
| 7dbe77d639 | gtjoseph | Update for 13.14.0-rc1 |
|------------+-------------+---------------------------------------------|
| 6492e91392 | Mark | Update qualifies when AOR configuration |
| | Michelson | changes. |
|------------+-------------+---------------------------------------------|
| 7fd28cefdb | gtjoseph | debug_utilities: Install ast_logescalator |
| | | to /var/lib/asterisk/scripts |
|------------+-------------+---------------------------------------------|
| 456bc3c704 | gtjoseph | debug_utilities: Add ast_logescalator |
|------------+-------------+---------------------------------------------|
| 54b027916a | Torrey | libastssl/pj: libastssl/pj should have an |
| | Searle | so_version |
|------------+-------------+---------------------------------------------|
| 9e3150b98d | Mark | Add reload options to CLI/AMI stale object |
| | Michelson | commands. |
|------------+-------------+---------------------------------------------|
| c54f9d2bf0 | Richard | T.140: Fix format ref and memory leaks. |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| 607b3ac736 | Richard | astobj2.c: Add excessive ref count trap. |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| ab8cb5a7ce | Richard | main/app.c: Memory corruption from early |
| | Mudgett | format destruction. |
|------------+-------------+---------------------------------------------|
| dcd8e4b1a0 | Richard | frame.c: Fix off-nominal format ref leaks. |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| 00a227e93d | Richard | stasis_bridge.c: Fix off-nominal stasis |
| | Mudgett | control ref leak. |
|------------+-------------+---------------------------------------------|
| 38a2021c68 | Richard | res_musiconhold.c: Fix format ref leak when |
| | Mudgett | parsing MOH config class. |
|------------+-------------+---------------------------------------------|
| ab7a9fc5b2 | Richard | chan_oss.c: Fix format ref leak in |
| | Mudgett | oss_read(). |
|------------+-------------+---------------------------------------------|
| 1484a991e1 | Richard | Add notes about embedded ast_frame structs |
| | Mudgett | holding a format ref. |
|------------+-------------+---------------------------------------------|
| 17f4989d49 | gtjoseph | ari: Implement 'debug all' and |
| | | request/response logging |
|------------+-------------+---------------------------------------------|
| 177e81ee47 | gtjoseph | pjproject_bundled: Fix setting max log |
| | | level |
|------------+-------------+---------------------------------------------|
| a969bf3577 | Richard | LISTFILTER: Remove outdated ERROR message. |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| 3890337e7a | Richard | res_pjsip_pubsub.c: Fix AMI event list |
| | Mudgett | counts. |
|------------+-------------+---------------------------------------------|
| fe4801c4f9 | Richard | res_pjsip_pubsub.c: Fix incorrect message |
| | Mudgett | string wrapping. |
|------------+-------------+---------------------------------------------|
| 46484b8730 | Richard | res_pjsip_pubsub.c: Eliminate trivial |
| | Mudgett | SCOPED_LOCK usage. |
|------------+-------------+---------------------------------------------|
| 8160474d7d | Richard | res_pjsip: alloca can never fail. |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| c628a7acac | gtjoseph | debug_utilities: Create ast_loggrabber |
|------------+-------------+---------------------------------------------|
| e335b706ee | Richard | res_pjsip_outbound_authenticator_digest.c: |
| | Mudgett | Fix spacing in warning messages. |
|------------+-------------+---------------------------------------------|
| 883e7fde31 | Kevin | abstract/fixed/adpative jitter buffer: |
| | Harwell | disallow frame re-inserts |
|------------+-------------+---------------------------------------------|
| 473330983b | Richard | taskprocessor.c: Change when high water |
| | Mudgett | warning logged. |
|------------+-------------+---------------------------------------------|
| 47474cfd54 | gtjoseph | debug_utilities: Create the ast_coredumper |
| | | utility |
|------------+-------------+---------------------------------------------|
| f8cd73ec3c | gtjoseph | pjproject_bundled: Fix compilation with |
| | | MALLOC_DEBUG |
|------------+-------------+---------------------------------------------|
| d7e5a747c3 | gtjoseph | pjproject_bundled: Compile pjsua with max |
| | | log level = 2 |
|------------+-------------+---------------------------------------------|
| 21151408f7 | Richard | bridge_native_rtp.c: Minor code cleanups. |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| 9dcf9e9cea | Richard | bridge_native_rtp.c: Fix native rtp bridge |
| | Mudgett | data race. |
|------------+-------------+---------------------------------------------|
| e2fa3c7eda | Richard | res_rtp_asterisk.c: Fix off nominal memory |
| | Mudgett | leak. |
|------------+-------------+---------------------------------------------|
| 815f755155 | gtjoseph | pjproject_bundled: Make build single |
| | | threaded |
|------------+-------------+---------------------------------------------|
| ab447f8a6a | David M. | configure: fix with-pjproject-bundled |
| | Lee | |
|------------+-------------+---------------------------------------------|
| 35736d419a | Richard | autosupport: Add 'pjproject show buildopts' |
| | Mudgett | |
|------------+-------------+---------------------------------------------|
| 91485734a4 | gtjoseph | res_sorcery_memory_cache: Change an error |
| | | to a debug message |
|------------+-------------+---------------------------------------------|
| 22820e10fe | Badalyan | chan_sip: Delete unneeded check |
| | Vyacheslav | |
|------------+-------------+---------------------------------------------|
| 6aa2c5e5f9 | Badalyan | Small code cleanup in chan_sip |
| | Vyacheslav | |
|------------+-------------+---------------------------------------------|
| b596fac838 | Badalyan | Fix typo in chan_sip |
| | Vyacheslav | |
|------------+-------------+---------------------------------------------|
| 483ed9f1aa | Badalyan | res_pjsip: Fix 'A = B != C' kind. |
| | Vyacheslav | |
|------------+-------------+---------------------------------------------|
| 4b233675d8 | gtjoseph | pjproject_bundled: Fix missing inclusion of |
| | | symbols |
|------------+-------------+---------------------------------------------|
| 580f83dac7 | Richard | Remove files that got merged in error |
| | Mudgett | somehow to the 13 branch. |
|------------+-------------+---------------------------------------------|
| 17b0b91afa | Mark | Frame deferral: Re-queue deferred frames |
| | Michelson | one-at-a-time. |
|------------+-------------+---------------------------------------------|
| a33ed3327a | Matt Jordan | res/res_pjsip: Fix documentation whitespace |
| | | issues |
|------------+-------------+---------------------------------------------|
| 29e887e9e1 | gtjoseph | build_tools: Fix download_externals to |
| | | handle certified branches |
|------------+-------------+---------------------------------------------|
| a1fa909033 | Timo | codec_dahdi: Fix poll.h include. |
| | TerACURs | |
|------------+-------------+---------------------------------------------|
| 86d824b7ff | Timo | addons/chan_mobile: do not use strerror_r |
| | TerACURs | |
|------------+-------------+---------------------------------------------|
| 425da14927 | gtjoseph | build: Backport addition of librt check to |
| | | configure.ac |
|------------+-------------+---------------------------------------------|
| 2a40c3a867 | gtjoseph | pjproject_bundled: Improve reliability of |
| | | pjproject download |
|------------+-------------+---------------------------------------------|
| ee73af1d88 | gtjoseph | Update for 13.12.2 |
|------------+-------------+---------------------------------------------|
| 7d7b52c434 | Mark | Update for 13.12.1 |
| | Michelson | |
|------------+-------------+---------------------------------------------|
| 226a7e36c5 | Mark | Update for 13.12.0 |
| | Michelson | |
|------------+-------------+---------------------------------------------|
| df75b647da | Mark | Update for 13.12.0-rc1 |
| | Michelson | |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
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.
asterisk-13.13.0-summary.html | 304 -
asterisk-13.13.0-summary.txt | 767 ----
b/.version | 2
b/CHANGES | 50
b/ChangeLog | 1614 +++++++++-
b/addons/chan_mobile.c | 13
b/apps/app_queue.c | 40
b/apps/app_voicemail.c | 6
b/asterisk-13.14.0-rc2-summary.html | 20
b/asterisk-13.14.0-rc2-summary.txt | 104
b/bootstrap.sh | 2
b/bridges/bridge_native_rtp.c | 81
b/build_tools/download_externals | 4
b/build_tools/make_build_h | 10
b/channels/chan_dahdi.c | 4
b/channels/chan_oss.c | 2
b/channels/chan_pjsip.c | 9
b/channels/chan_rtp.c | 7
b/channels/chan_sip.c | 111
b/channels/pjsip/dialplan_functions.c | 62
b/codecs/codec_dahdi.c | 2
b/configs/samples/ast_debug_tools.conf.sample | 57
b/configs/samples/pjproject.conf.sample | 25
b/configs/samples/res_odbc.conf.sample | 6
b/configure | 12
b/configure.ac | 10
b/contrib/Makefile | 14
b/contrib/ast-db-manage/config/versions/28ab27a7826d_add_srv_lookups_to_identify.py | 31
b/contrib/realtime/mssql/mssql_config.sql | 14
b/contrib/realtime/mysql/mysql_config.sql | 6
b/contrib/realtime/oracle/oracle_config.sql | 14
b/contrib/realtime/postgresql/postgresql_config.sql | 6
b/contrib/scripts/ast_coredumper | 533 +++
b/contrib/scripts/ast_logescalator | 399 ++
b/contrib/scripts/ast_loggrabber | 255 +
b/contrib/scripts/autosupport | 4
b/funcs/func_strings.c | 1
b/include/asterisk/abstract_jb.h | 3
b/include/asterisk/ari.h | 24
b/include/asterisk/channel.h | 72
b/include/asterisk/frame.h | 2
b/include/asterisk/mod_format.h | 6
b/include/asterisk/options.h | 41
b/include/asterisk/res_pjsip.h | 10
b/include/asterisk/rtp_engine.h | 4
b/include/asterisk/stasis_app.h | 49
b/include/asterisk/tcptls.h | 4
b/include/asterisk/translate.h | 2
b/include/asterisk/utils.h | 9
b/include/jitterbuf.h | 3
b/main/Makefile | 12
b/main/abstract_jb.c | 31
b/main/acl.c | 36
b/main/app.c | 36
b/main/asterisk.c | 35
b/main/astobj2.c | 13
b/main/audiohook.c | 40
b/main/autoservice.c | 66
b/main/channel.c | 217 -
b/main/channel_internal_api.c | 68
b/main/fixedjitterbuf.c | 6
b/main/fixedjitterbuf.h | 3
b/main/format_compatibility.c | 4
b/main/frame.c | 69
b/main/jitterbuf.c | 5
b/main/libasteriskpj.c | 2
b/main/libasteriskssl.c | 4
b/main/manager.c | 6
b/main/message.c | 9
b/main/rtp_engine.c | 2
b/main/srv.c | 3
b/main/strings.c | 21
b/main/taskprocessor.c | 8
b/main/tcptls.c | 94
b/main/utils.c | 24
b/makeopts.in | 2
b/res/ari/ari_websockets.c | 14
b/res/ari/cli.c | 175 +
b/res/ari/resource_events.c | 9
b/res/res_agi.c | 10
b/res/res_ari.c | 77
b/res/res_ari_applications.c | 42
b/res/res_ari_asterisk.c | 120
b/res/res_ari_bridges.c | 162 -
b/res/res_ari_channels.c | 318 -
b/res/res_ari_device_states.c | 27
b/res/res_ari_endpoints.c | 45
b/res/res_ari_events.c | 18
b/res/res_ari_mailboxes.c | 27
b/res/res_ari_playbacks.c | 24
b/res/res_ari_recordings.c | 48
b/res/res_ari_sounds.c | 21
b/res/res_calendar_caldav.c | 4
b/res/res_format_attr_opus.c | 38
b/res/res_musiconhold.c | 2
b/res/res_pjproject.c | 156
b/res/res_pjsip.c | 72
b/res/res_pjsip/pjsip_configuration.c | 6
b/res/res_pjsip/pjsip_options.c | 17
b/res/res_pjsip_diversion.c | 3
b/res/res_pjsip_endpoint_identifier_ip.c | 160
b/res/res_pjsip_history.c | 91
b/res/res_pjsip_outbound_authenticator_digest.c | 12
b/res/res_pjsip_outbound_registration.c | 21
b/res/res_pjsip_pubsub.c | 635 +++
b/res/res_pjsip_refer.c | 8
b/res/res_pjsip_registrar.c | 70
b/res/res_pjsip_sdp_rtp.c | 7
b/res/res_pjsip_session.c | 8
b/res/res_pjsip_t38.c | 7
b/res/res_pjsip_transport_websocket.c | 5
b/res/res_rtp_asterisk.c | 117
b/res/res_sorcery_memory_cache.c | 41
b/res/res_stasis.c | 23
b/res/stasis/app.c | 73
b/res/stasis/app.h | 27
b/res/stasis/stasis_bridge.c | 6
b/rest-api-templates/param_parsing.mustache | 15
b/rest-api-templates/res_ari_resource.c.mustache | 3
b/tests/test_ari.c | 22
b/tests/test_substitution.c | 9
b/tests/test_voicemail_api.c | 52
b/third-party/Makefile | 2
b/third-party/Makefile.rules | 4
b/third-party/pjproject/Makefile | 61
b/third-party/pjproject/configure.m4 | 8
b/third-party/pjproject/patches/0000-set_apps_initial_log_level.patch | 13
res/stasis/cli.c | 216 -
res/stasis/cli.h | 43
129 files changed, 5945 insertions(+), 2895 deletions(-)

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -0,0 +1,32 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- 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');

View File

@@ -0,0 +1,964 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- Running upgrade -> 4da0c5f79a9c
CREATE TABLE sippeers (
id INTEGER NOT NULL AUTO_INCREMENT,
name VARCHAR(40) NOT NULL,
ipaddr VARCHAR(45),
port INTEGER,
regseconds INTEGER,
defaultuser VARCHAR(40),
fullcontact VARCHAR(80),
regserver VARCHAR(20),
useragent VARCHAR(20),
lastms INTEGER,
host VARCHAR(40),
type ENUM('friend','user','peer'),
context VARCHAR(40),
permit VARCHAR(95),
deny VARCHAR(95),
secret VARCHAR(40),
md5secret VARCHAR(40),
remotesecret VARCHAR(40),
transport ENUM('udp','tcp','tls','ws','wss','udp,tcp','tcp,udp'),
dtmfmode ENUM('rfc2833','info','shortinfo','inband','auto'),
directmedia ENUM('yes','no','nonat','update'),
nat VARCHAR(29),
callgroup VARCHAR(40),
pickupgroup VARCHAR(40),
language VARCHAR(40),
disallow VARCHAR(200),
allow VARCHAR(200),
insecure VARCHAR(40),
trustrpid ENUM('yes','no'),
progressinband ENUM('yes','no','never'),
promiscredir ENUM('yes','no'),
useclientcode ENUM('yes','no'),
accountcode VARCHAR(40),
setvar VARCHAR(200),
callerid VARCHAR(40),
amaflags VARCHAR(40),
callcounter ENUM('yes','no'),
busylevel INTEGER,
allowoverlap ENUM('yes','no'),
allowsubscribe ENUM('yes','no'),
videosupport ENUM('yes','no'),
maxcallbitrate INTEGER,
rfc2833compensate ENUM('yes','no'),
mailbox VARCHAR(40),
`session-timers` ENUM('accept','refuse','originate'),
`session-expires` INTEGER,
`session-minse` INTEGER,
`session-refresher` ENUM('uac','uas'),
t38pt_usertpsource VARCHAR(40),
regexten VARCHAR(40),
fromdomain VARCHAR(40),
fromuser VARCHAR(40),
qualify VARCHAR(40),
defaultip VARCHAR(45),
rtptimeout INTEGER,
rtpholdtimeout INTEGER,
sendrpid ENUM('yes','no'),
outboundproxy VARCHAR(40),
callbackextension VARCHAR(40),
timert1 INTEGER,
timerb INTEGER,
qualifyfreq INTEGER,
constantssrc ENUM('yes','no'),
contactpermit VARCHAR(95),
contactdeny VARCHAR(95),
usereqphone ENUM('yes','no'),
textsupport ENUM('yes','no'),
faxdetect ENUM('yes','no'),
buggymwi ENUM('yes','no'),
auth VARCHAR(40),
fullname VARCHAR(40),
trunkname VARCHAR(40),
cid_number VARCHAR(40),
callingpres ENUM('allowed_not_screened','allowed_passed_screen','allowed_failed_screen','allowed','prohib_not_screened','prohib_passed_screen','prohib_failed_screen','prohib'),
mohinterpret VARCHAR(40),
mohsuggest VARCHAR(40),
parkinglot VARCHAR(40),
hasvoicemail ENUM('yes','no'),
subscribemwi ENUM('yes','no'),
vmexten VARCHAR(40),
autoframing ENUM('yes','no'),
rtpkeepalive INTEGER,
`call-limit` INTEGER,
g726nonstandard ENUM('yes','no'),
ignoresdpversion ENUM('yes','no'),
allowtransfer ENUM('yes','no'),
dynamic ENUM('yes','no'),
path VARCHAR(256),
supportpath ENUM('yes','no'),
PRIMARY KEY (id),
UNIQUE (name)
);
CREATE INDEX sippeers_name ON sippeers (name);
CREATE INDEX sippeers_name_host ON sippeers (name, host);
CREATE INDEX sippeers_ipaddr_port ON sippeers (ipaddr, port);
CREATE INDEX sippeers_host_port ON sippeers (host, port);
CREATE TABLE iaxfriends (
id INTEGER NOT NULL AUTO_INCREMENT,
name VARCHAR(40) NOT NULL,
type ENUM('friend','user','peer'),
username VARCHAR(40),
mailbox VARCHAR(40),
secret VARCHAR(40),
dbsecret VARCHAR(40),
context VARCHAR(40),
regcontext VARCHAR(40),
host VARCHAR(40),
ipaddr VARCHAR(40),
port INTEGER,
defaultip VARCHAR(20),
sourceaddress VARCHAR(20),
mask VARCHAR(20),
regexten VARCHAR(40),
regseconds INTEGER,
accountcode VARCHAR(20),
mohinterpret VARCHAR(20),
mohsuggest VARCHAR(20),
inkeys VARCHAR(40),
outkeys VARCHAR(40),
language VARCHAR(10),
callerid VARCHAR(100),
cid_number VARCHAR(40),
sendani ENUM('yes','no'),
fullname VARCHAR(40),
trunk ENUM('yes','no'),
auth VARCHAR(20),
maxauthreq INTEGER,
requirecalltoken ENUM('yes','no','auto'),
encryption ENUM('yes','no','aes128'),
transfer ENUM('yes','no','mediaonly'),
jitterbuffer ENUM('yes','no'),
forcejitterbuffer ENUM('yes','no'),
disallow VARCHAR(200),
allow VARCHAR(200),
codecpriority VARCHAR(40),
qualify VARCHAR(10),
qualifysmoothing ENUM('yes','no'),
qualifyfreqok VARCHAR(10),
qualifyfreqnotok VARCHAR(10),
timezone VARCHAR(20),
adsi ENUM('yes','no'),
amaflags VARCHAR(20),
setvar VARCHAR(200),
PRIMARY KEY (id),
UNIQUE (name)
);
CREATE INDEX iaxfriends_name ON iaxfriends (name);
CREATE INDEX iaxfriends_name_host ON iaxfriends (name, host);
CREATE INDEX iaxfriends_name_ipaddr_port ON iaxfriends (name, ipaddr, port);
CREATE INDEX iaxfriends_ipaddr_port ON iaxfriends (ipaddr, port);
CREATE INDEX iaxfriends_host_port ON iaxfriends (host, port);
CREATE TABLE voicemail (
uniqueid INTEGER NOT NULL AUTO_INCREMENT,
context VARCHAR(80) NOT NULL,
mailbox VARCHAR(80) NOT NULL,
password VARCHAR(80) NOT NULL,
fullname VARCHAR(80),
alias VARCHAR(80),
email VARCHAR(80),
pager VARCHAR(80),
attach ENUM('yes','no'),
attachfmt VARCHAR(10),
serveremail VARCHAR(80),
language VARCHAR(20),
tz VARCHAR(30),
deletevoicemail ENUM('yes','no'),
saycid ENUM('yes','no'),
sendvoicemail ENUM('yes','no'),
review ENUM('yes','no'),
tempgreetwarn ENUM('yes','no'),
operator ENUM('yes','no'),
envelope ENUM('yes','no'),
sayduration INTEGER,
forcename ENUM('yes','no'),
forcegreetings ENUM('yes','no'),
callback VARCHAR(80),
dialout VARCHAR(80),
exitcontext VARCHAR(80),
maxmsg INTEGER,
volgain NUMERIC(5, 2),
imapuser VARCHAR(80),
imappassword VARCHAR(80),
imapserver VARCHAR(80),
imapport VARCHAR(8),
imapflags VARCHAR(80),
stamp DATETIME,
PRIMARY KEY (uniqueid)
);
CREATE INDEX voicemail_mailbox ON voicemail (mailbox);
CREATE INDEX voicemail_context ON voicemail (context);
CREATE INDEX voicemail_mailbox_context ON voicemail (mailbox, context);
CREATE INDEX voicemail_imapuser ON voicemail (imapuser);
CREATE TABLE meetme (
bookid INTEGER NOT NULL AUTO_INCREMENT,
confno VARCHAR(80) NOT NULL,
starttime DATETIME,
endtime DATETIME,
pin VARCHAR(20),
adminpin VARCHAR(20),
opts VARCHAR(20),
adminopts VARCHAR(20),
recordingfilename VARCHAR(80),
recordingformat VARCHAR(10),
maxusers INTEGER,
members INTEGER NOT NULL,
PRIMARY KEY (bookid)
);
CREATE INDEX meetme_confno_start_end ON meetme (confno, starttime, endtime);
CREATE TABLE musiconhold (
name VARCHAR(80) NOT NULL,
mode ENUM('custom','files','mp3nb','quietmp3nb','quietmp3'),
directory VARCHAR(255),
application VARCHAR(255),
digit VARCHAR(1),
sort VARCHAR(10),
format VARCHAR(10),
stamp DATETIME,
PRIMARY KEY (name)
);
INSERT INTO alembic_version (version_num) VALUES ('4da0c5f79a9c');
-- Running upgrade 4da0c5f79a9c -> 43956d550a44
CREATE TABLE ps_endpoints (
id VARCHAR(40) NOT NULL,
transport VARCHAR(40),
aors VARCHAR(200),
auth VARCHAR(40),
context VARCHAR(40),
disallow VARCHAR(200),
allow VARCHAR(200),
direct_media ENUM('yes','no'),
connected_line_method ENUM('invite','reinvite','update'),
direct_media_method ENUM('invite','reinvite','update'),
direct_media_glare_mitigation ENUM('none','outgoing','incoming'),
disable_direct_media_on_nat ENUM('yes','no'),
dtmf_mode ENUM('rfc4733','inband','info'),
external_media_address VARCHAR(40),
force_rport ENUM('yes','no'),
ice_support ENUM('yes','no'),
identify_by ENUM('username'),
mailboxes VARCHAR(40),
moh_suggest VARCHAR(40),
outbound_auth VARCHAR(40),
outbound_proxy VARCHAR(40),
rewrite_contact ENUM('yes','no'),
rtp_ipv6 ENUM('yes','no'),
rtp_symmetric ENUM('yes','no'),
send_diversion ENUM('yes','no'),
send_pai ENUM('yes','no'),
send_rpid ENUM('yes','no'),
timers_min_se INTEGER,
timers ENUM('forced','no','required','yes'),
timers_sess_expires INTEGER,
callerid VARCHAR(40),
callerid_privacy ENUM('allowed_not_screened','allowed_passed_screened','allowed_failed_screened','allowed','prohib_not_screened','prohib_passed_screened','prohib_failed_screened','prohib','unavailable'),
callerid_tag VARCHAR(40),
`100rel` ENUM('no','required','yes'),
aggregate_mwi ENUM('yes','no'),
trust_id_inbound ENUM('yes','no'),
trust_id_outbound ENUM('yes','no'),
use_ptime ENUM('yes','no'),
use_avpf ENUM('yes','no'),
media_encryption ENUM('no','sdes','dtls'),
inband_progress ENUM('yes','no'),
call_group VARCHAR(40),
pickup_group VARCHAR(40),
named_call_group VARCHAR(40),
named_pickup_group VARCHAR(40),
device_state_busy_at INTEGER,
fax_detect ENUM('yes','no'),
t38_udptl ENUM('yes','no'),
t38_udptl_ec ENUM('none','fec','redundancy'),
t38_udptl_maxdatagram INTEGER,
t38_udptl_nat ENUM('yes','no'),
t38_udptl_ipv6 ENUM('yes','no'),
tone_zone VARCHAR(40),
language VARCHAR(40),
one_touch_recording ENUM('yes','no'),
record_on_feature VARCHAR(40),
record_off_feature VARCHAR(40),
rtp_engine VARCHAR(40),
allow_transfer ENUM('yes','no'),
allow_subscribe ENUM('yes','no'),
sdp_owner VARCHAR(40),
sdp_session VARCHAR(40),
tos_audio INTEGER,
tos_video INTEGER,
cos_audio INTEGER,
cos_video INTEGER,
sub_min_expiry INTEGER,
from_domain VARCHAR(40),
from_user VARCHAR(40),
mwi_fromuser VARCHAR(40),
dtls_verify VARCHAR(40),
dtls_rekey VARCHAR(40),
dtls_cert_file VARCHAR(200),
dtls_private_key VARCHAR(200),
dtls_cipher VARCHAR(200),
dtls_ca_file VARCHAR(200),
dtls_ca_path VARCHAR(200),
dtls_setup ENUM('active','passive','actpass'),
srtp_tag_32 ENUM('yes','no'),
UNIQUE (id)
);
CREATE INDEX ps_endpoints_id ON ps_endpoints (id);
CREATE TABLE ps_auths (
id VARCHAR(40) NOT NULL,
auth_type ENUM('md5','userpass'),
nonce_lifetime INTEGER,
md5_cred VARCHAR(40),
password VARCHAR(80),
realm VARCHAR(40),
username VARCHAR(40),
UNIQUE (id)
);
CREATE INDEX ps_auths_id ON ps_auths (id);
CREATE TABLE ps_aors (
id VARCHAR(40) NOT NULL,
contact VARCHAR(40),
default_expiration INTEGER,
mailboxes VARCHAR(80),
max_contacts INTEGER,
minimum_expiration INTEGER,
remove_existing ENUM('yes','no'),
qualify_frequency INTEGER,
authenticate_qualify ENUM('yes','no'),
UNIQUE (id)
);
CREATE INDEX ps_aors_id ON ps_aors (id);
CREATE TABLE ps_contacts (
id VARCHAR(40) NOT NULL,
uri VARCHAR(40),
expiration_time VARCHAR(40),
qualify_frequency INTEGER,
UNIQUE (id)
);
CREATE INDEX ps_contacts_id ON ps_contacts (id);
CREATE TABLE ps_domain_aliases (
id VARCHAR(40) NOT NULL,
domain VARCHAR(80),
UNIQUE (id)
);
CREATE INDEX ps_domain_aliases_id ON ps_domain_aliases (id);
CREATE TABLE ps_endpoint_id_ips (
id VARCHAR(40) NOT NULL,
endpoint VARCHAR(40),
`match` VARCHAR(80),
UNIQUE (id)
);
CREATE INDEX ps_endpoint_id_ips_id ON ps_endpoint_id_ips (id);
UPDATE alembic_version SET version_num='43956d550a44' WHERE alembic_version.version_num = '4da0c5f79a9c';
-- Running upgrade 43956d550a44 -> 581a4264e537
CREATE TABLE extensions (
id BIGINT NOT NULL AUTO_INCREMENT,
context VARCHAR(40) NOT NULL,
exten VARCHAR(40) NOT NULL,
priority INTEGER NOT NULL,
app VARCHAR(40) NOT NULL,
appdata VARCHAR(256) NOT NULL,
PRIMARY KEY (id),
UNIQUE (context, exten, priority),
UNIQUE (id)
);
UPDATE alembic_version SET version_num='581a4264e537' WHERE alembic_version.version_num = '43956d550a44';
-- Running upgrade 581a4264e537 -> 2fc7930b41b3
CREATE TABLE ps_systems (
id VARCHAR(40) NOT NULL,
timer_t1 INTEGER,
timer_b INTEGER,
compact_headers ENUM('yes','no'),
threadpool_initial_size INTEGER,
threadpool_auto_increment INTEGER,
threadpool_idle_timeout INTEGER,
threadpool_max_size INTEGER,
UNIQUE (id)
);
CREATE INDEX ps_systems_id ON ps_systems (id);
CREATE TABLE ps_globals (
id VARCHAR(40) NOT NULL,
max_forwards INTEGER,
user_agent VARCHAR(40),
default_outbound_endpoint VARCHAR(40),
UNIQUE (id)
);
CREATE INDEX ps_globals_id ON ps_globals (id);
CREATE TABLE ps_transports (
id VARCHAR(40) NOT NULL,
async_operations INTEGER,
bind VARCHAR(40),
ca_list_file VARCHAR(200),
cert_file VARCHAR(200),
cipher VARCHAR(200),
domain VARCHAR(40),
external_media_address VARCHAR(40),
external_signaling_address VARCHAR(40),
external_signaling_port INTEGER,
method ENUM('default','unspecified','tlsv1','sslv2','sslv3','sslv23'),
local_net VARCHAR(40),
password VARCHAR(40),
priv_key_file VARCHAR(200),
protocol ENUM('udp','tcp','tls','ws','wss'),
require_client_cert ENUM('yes','no'),
verify_client ENUM('yes','no'),
verifiy_server ENUM('yes','no'),
tos ENUM('yes','no'),
cos ENUM('yes','no'),
UNIQUE (id)
);
CREATE INDEX ps_transports_id ON ps_transports (id);
CREATE TABLE ps_registrations (
id VARCHAR(40) NOT NULL,
auth_rejection_permanent ENUM('yes','no'),
client_uri VARCHAR(40),
contact_user VARCHAR(40),
expiration INTEGER,
max_retries INTEGER,
outbound_auth VARCHAR(40),
outbound_proxy VARCHAR(40),
retry_interval INTEGER,
forbidden_retry_interval INTEGER,
server_uri VARCHAR(40),
transport VARCHAR(40),
support_path ENUM('yes','no'),
UNIQUE (id)
);
CREATE INDEX ps_registrations_id ON ps_registrations (id);
ALTER TABLE ps_endpoints ADD COLUMN media_address VARCHAR(40);
ALTER TABLE ps_endpoints ADD COLUMN redirect_method ENUM('user','uri_core','uri_pjsip');
ALTER TABLE ps_endpoints ADD COLUMN set_var TEXT;
ALTER TABLE ps_endpoints CHANGE mwi_fromuser mwi_from_user VARCHAR(40) NULL;
ALTER TABLE ps_contacts ADD COLUMN outbound_proxy VARCHAR(40);
ALTER TABLE ps_contacts ADD COLUMN path TEXT;
ALTER TABLE ps_aors ADD COLUMN maximum_expiration INTEGER;
ALTER TABLE ps_aors ADD COLUMN outbound_proxy VARCHAR(40);
ALTER TABLE ps_aors ADD COLUMN support_path ENUM('yes','no');
UPDATE alembic_version SET version_num='2fc7930b41b3' WHERE alembic_version.version_num = '581a4264e537';
-- Running upgrade 2fc7930b41b3 -> 21e526ad3040
ALTER TABLE ps_globals ADD COLUMN debug VARCHAR(40);
UPDATE alembic_version SET version_num='21e526ad3040' WHERE alembic_version.version_num = '2fc7930b41b3';
-- Running upgrade 21e526ad3040 -> 28887f25a46f
CREATE TABLE queues (
name VARCHAR(128) NOT NULL,
musiconhold VARCHAR(128),
announce VARCHAR(128),
context VARCHAR(128),
timeout INTEGER,
ringinuse ENUM('yes','no'),
setinterfacevar ENUM('yes','no'),
setqueuevar ENUM('yes','no'),
setqueueentryvar ENUM('yes','no'),
monitor_format VARCHAR(8),
membermacro VARCHAR(512),
membergosub VARCHAR(512),
queue_youarenext VARCHAR(128),
queue_thereare VARCHAR(128),
queue_callswaiting VARCHAR(128),
queue_quantity1 VARCHAR(128),
queue_quantity2 VARCHAR(128),
queue_holdtime VARCHAR(128),
queue_minutes VARCHAR(128),
queue_minute VARCHAR(128),
queue_seconds VARCHAR(128),
queue_thankyou VARCHAR(128),
queue_callerannounce VARCHAR(128),
queue_reporthold VARCHAR(128),
announce_frequency INTEGER,
announce_to_first_user ENUM('yes','no'),
min_announce_frequency INTEGER,
announce_round_seconds INTEGER,
announce_holdtime VARCHAR(128),
announce_position VARCHAR(128),
announce_position_limit INTEGER,
periodic_announce VARCHAR(50),
periodic_announce_frequency INTEGER,
relative_periodic_announce ENUM('yes','no'),
random_periodic_announce ENUM('yes','no'),
retry INTEGER,
wrapuptime INTEGER,
penaltymemberslimit INTEGER,
autofill ENUM('yes','no'),
monitor_type VARCHAR(128),
autopause ENUM('yes','no','all'),
autopausedelay INTEGER,
autopausebusy ENUM('yes','no'),
autopauseunavail ENUM('yes','no'),
maxlen INTEGER,
servicelevel INTEGER,
strategy ENUM('ringall','leastrecent','fewestcalls','random','rrmemory','linear','wrandom','rrordered'),
joinempty VARCHAR(128),
leavewhenempty VARCHAR(128),
reportholdtime ENUM('yes','no'),
memberdelay INTEGER,
weight INTEGER,
timeoutrestart ENUM('yes','no'),
defaultrule VARCHAR(128),
timeoutpriority VARCHAR(128),
PRIMARY KEY (name)
);
CREATE TABLE queue_members (
queue_name VARCHAR(80) NOT NULL,
interface VARCHAR(80) NOT NULL,
uniqueid VARCHAR(80) NOT NULL,
membername VARCHAR(80),
state_interface VARCHAR(80),
penalty INTEGER,
paused INTEGER,
PRIMARY KEY (queue_name, interface)
);
UPDATE alembic_version SET version_num='28887f25a46f' WHERE alembic_version.version_num = '21e526ad3040';
-- Running upgrade 28887f25a46f -> 4c573e7135bd
ALTER TABLE ps_endpoints MODIFY tos_audio VARCHAR(10) NULL;
ALTER TABLE ps_endpoints MODIFY tos_video VARCHAR(10) NULL;
ALTER TABLE ps_endpoints DROP COLUMN cos_audio;
ALTER TABLE ps_endpoints DROP COLUMN cos_video;
ALTER TABLE ps_endpoints ADD COLUMN cos_audio INTEGER;
ALTER TABLE ps_endpoints ADD COLUMN cos_video INTEGER;
ALTER TABLE ps_transports MODIFY tos VARCHAR(10) NULL;
ALTER TABLE ps_transports DROP COLUMN cos;
ALTER TABLE ps_transports ADD COLUMN cos INTEGER;
UPDATE alembic_version SET version_num='4c573e7135bd' WHERE alembic_version.version_num = '28887f25a46f';
-- Running upgrade 4c573e7135bd -> 3855ee4e5f85
ALTER TABLE ps_endpoints ADD COLUMN message_context VARCHAR(40);
ALTER TABLE ps_contacts ADD COLUMN user_agent VARCHAR(40);
UPDATE alembic_version SET version_num='3855ee4e5f85' WHERE alembic_version.version_num = '4c573e7135bd';
-- Running upgrade 3855ee4e5f85 -> e96a0b8071c
ALTER TABLE ps_globals MODIFY user_agent VARCHAR(255) NULL;
ALTER TABLE ps_contacts MODIFY id VARCHAR(255) NULL;
ALTER TABLE ps_contacts MODIFY uri VARCHAR(255) NULL;
ALTER TABLE ps_contacts MODIFY user_agent VARCHAR(255) NULL;
ALTER TABLE ps_registrations MODIFY client_uri VARCHAR(255) NULL;
ALTER TABLE ps_registrations MODIFY server_uri VARCHAR(255) NULL;
UPDATE alembic_version SET version_num='e96a0b8071c' WHERE alembic_version.version_num = '3855ee4e5f85';
-- Running upgrade e96a0b8071c -> c6d929b23a8
CREATE TABLE ps_subscription_persistence (
id VARCHAR(40) NOT NULL,
packet VARCHAR(2048),
src_name VARCHAR(128),
src_port INTEGER,
transport_key VARCHAR(64),
local_name VARCHAR(128),
local_port INTEGER,
cseq INTEGER,
tag VARCHAR(128),
endpoint VARCHAR(40),
expires INTEGER,
UNIQUE (id)
);
CREATE INDEX ps_subscription_persistence_id ON ps_subscription_persistence (id);
UPDATE alembic_version SET version_num='c6d929b23a8' WHERE alembic_version.version_num = 'e96a0b8071c';
-- Running upgrade c6d929b23a8 -> 51f8cb66540e
ALTER TABLE ps_endpoints ADD COLUMN force_avp ENUM('yes','no');
ALTER TABLE ps_endpoints ADD COLUMN media_use_received_transport ENUM('yes','no');
UPDATE alembic_version SET version_num='51f8cb66540e' WHERE alembic_version.version_num = 'c6d929b23a8';
-- Running upgrade 51f8cb66540e -> 1d50859ed02e
ALTER TABLE ps_endpoints ADD COLUMN accountcode VARCHAR(20);
UPDATE alembic_version SET version_num='1d50859ed02e' WHERE alembic_version.version_num = '51f8cb66540e';
-- Running upgrade 1d50859ed02e -> 1758e8bbf6b
ALTER TABLE sippeers MODIFY useragent VARCHAR(255) NULL;
UPDATE alembic_version SET version_num='1758e8bbf6b' WHERE alembic_version.version_num = '1d50859ed02e';
-- Running upgrade 1758e8bbf6b -> 5139253c0423
ALTER TABLE queue_members DROP COLUMN uniqueid;
ALTER TABLE queue_members ADD COLUMN uniqueid INTEGER NOT NULL;
ALTER TABLE queue_members ADD UNIQUE (uniqueid);
ALTER TABLE queue_members MODIFY uniqueid INTEGER NOT NULL AUTO_INCREMENT;
UPDATE alembic_version SET version_num='5139253c0423' WHERE alembic_version.version_num = '1758e8bbf6b';
-- Running upgrade 5139253c0423 -> d39508cb8d8
CREATE TABLE queue_rules (
rule_name VARCHAR(80) NOT NULL,
time VARCHAR(32) NOT NULL,
min_penalty VARCHAR(32) NOT NULL,
max_penalty VARCHAR(32) NOT NULL
);
UPDATE alembic_version SET version_num='d39508cb8d8' WHERE alembic_version.version_num = '5139253c0423';
-- Running upgrade d39508cb8d8 -> 5950038a6ead
ALTER TABLE ps_transports CHANGE verifiy_server verify_server ENUM('yes','no') NULL;
UPDATE alembic_version SET version_num='5950038a6ead' WHERE alembic_version.version_num = 'd39508cb8d8';
-- Running upgrade 5950038a6ead -> 10aedae86a32
ALTER TABLE sippeers MODIFY directmedia ENUM('yes','no','nonat','update','outgoing') NULL;
UPDATE alembic_version SET version_num='10aedae86a32' WHERE alembic_version.version_num = '5950038a6ead';
-- Running upgrade 10aedae86a32 -> eb88a14f2a
ALTER TABLE ps_endpoints ADD COLUMN media_encryption_optimistic ENUM('yes','no');
UPDATE alembic_version SET version_num='eb88a14f2a' WHERE alembic_version.version_num = '10aedae86a32';
-- Running upgrade eb88a14f2a -> 371a3bf4143e
ALTER TABLE ps_endpoints ADD COLUMN user_eq_phone ENUM('yes','no');
UPDATE alembic_version SET version_num='371a3bf4143e' WHERE alembic_version.version_num = 'eb88a14f2a';
-- Running upgrade 371a3bf4143e -> 45e3f47c6c44
ALTER TABLE ps_globals ADD COLUMN endpoint_identifier_order VARCHAR(40);
UPDATE alembic_version SET version_num='45e3f47c6c44' WHERE alembic_version.version_num = '371a3bf4143e';
-- Running upgrade 45e3f47c6c44 -> 23530d604b96
ALTER TABLE ps_endpoints ADD COLUMN rpid_immediate ENUM('yes','no');
UPDATE alembic_version SET version_num='23530d604b96' WHERE alembic_version.version_num = '45e3f47c6c44';
-- Running upgrade 23530d604b96 -> 31cd4f4891ec
ALTER TABLE ps_endpoints MODIFY dtmf_mode ENUM('rfc4733','inband','info','auto') NULL;
UPDATE alembic_version SET version_num='31cd4f4891ec' WHERE alembic_version.version_num = '23530d604b96';
-- Running upgrade 31cd4f4891ec -> 461d7d691209
ALTER TABLE ps_aors ADD COLUMN qualify_timeout INTEGER;
ALTER TABLE ps_contacts ADD COLUMN qualify_timeout INTEGER;
UPDATE alembic_version SET version_num='461d7d691209' WHERE alembic_version.version_num = '31cd4f4891ec';
-- Running upgrade 461d7d691209 -> a541e0b5e89
ALTER TABLE ps_globals ADD COLUMN max_initial_qualify_time INTEGER;
UPDATE alembic_version SET version_num='a541e0b5e89' WHERE alembic_version.version_num = '461d7d691209';
-- Running upgrade a541e0b5e89 -> 28b8e71e541f
ALTER TABLE ps_endpoints ADD COLUMN g726_non_standard ENUM('yes','no');
UPDATE alembic_version SET version_num='28b8e71e541f' WHERE alembic_version.version_num = 'a541e0b5e89';
-- Running upgrade 28b8e71e541f -> 498357a710ae
ALTER TABLE ps_endpoints ADD COLUMN rtp_keepalive INTEGER;
UPDATE alembic_version SET version_num='498357a710ae' WHERE alembic_version.version_num = '28b8e71e541f';
-- Running upgrade 498357a710ae -> 26f10cadc157
ALTER TABLE ps_endpoints ADD COLUMN rtp_timeout INTEGER;
ALTER TABLE ps_endpoints ADD COLUMN rtp_timeout_hold INTEGER;
UPDATE alembic_version SET version_num='26f10cadc157' WHERE alembic_version.version_num = '498357a710ae';
-- Running upgrade 26f10cadc157 -> 154177371065
ALTER TABLE ps_globals ADD COLUMN default_from_user VARCHAR(80);
UPDATE alembic_version SET version_num='154177371065' WHERE alembic_version.version_num = '26f10cadc157';
-- Running upgrade 154177371065 -> 28ce1e718f05
ALTER TABLE ps_registrations ADD COLUMN fatal_retry_interval INTEGER;
UPDATE alembic_version SET version_num='28ce1e718f05' WHERE alembic_version.version_num = '154177371065';
-- Running upgrade 28ce1e718f05 -> 189a235b3fd7
ALTER TABLE ps_globals ADD COLUMN keep_alive_interval INTEGER;
UPDATE alembic_version SET version_num='189a235b3fd7' WHERE alembic_version.version_num = '28ce1e718f05';
-- Running upgrade 189a235b3fd7 -> 2d078ec071b7
ALTER TABLE ps_aors MODIFY contact VARCHAR(255) NULL;
UPDATE alembic_version SET version_num='2d078ec071b7' WHERE alembic_version.version_num = '189a235b3fd7';
-- Running upgrade 2d078ec071b7 -> 26d7f3bf0fa5
ALTER TABLE ps_endpoints ADD COLUMN bind_rtp_to_media_address ENUM('yes','no');
UPDATE alembic_version SET version_num='26d7f3bf0fa5' WHERE alembic_version.version_num = '2d078ec071b7';
-- Running upgrade 26d7f3bf0fa5 -> 136885b81223
ALTER TABLE ps_globals ADD COLUMN regcontext VARCHAR(80);
UPDATE alembic_version SET version_num='136885b81223' WHERE alembic_version.version_num = '26d7f3bf0fa5';
-- Running upgrade 136885b81223 -> 423f34ad36e2
ALTER TABLE ps_aors MODIFY qualify_timeout FLOAT NULL;
ALTER TABLE ps_contacts MODIFY qualify_timeout FLOAT NULL;
UPDATE alembic_version SET version_num='423f34ad36e2' WHERE alembic_version.version_num = '136885b81223';
-- Running upgrade 423f34ad36e2 -> dbc44d5a908
ALTER TABLE ps_systems ADD COLUMN disable_tcp_switch ENUM('yes','no');
ALTER TABLE ps_registrations ADD COLUMN line ENUM('yes','no');
ALTER TABLE ps_registrations ADD COLUMN endpoint VARCHAR(40);
UPDATE alembic_version SET version_num='dbc44d5a908' WHERE alembic_version.version_num = '423f34ad36e2';
-- Running upgrade dbc44d5a908 -> 3bcc0b5bc2c9
ALTER TABLE ps_transports ADD COLUMN allow_reload ENUM('yes','no');
UPDATE alembic_version SET version_num='3bcc0b5bc2c9' WHERE alembic_version.version_num = 'dbc44d5a908';
-- Running upgrade 3bcc0b5bc2c9 -> 5813202e92be
ALTER TABLE ps_globals ADD COLUMN contact_expiration_check_interval INTEGER;
UPDATE alembic_version SET version_num='5813202e92be' WHERE alembic_version.version_num = '3bcc0b5bc2c9';
-- Running upgrade 5813202e92be -> 1c688d9a003c
ALTER TABLE ps_globals ADD COLUMN default_voicemail_extension VARCHAR(40);
ALTER TABLE ps_aors ADD COLUMN voicemail_extension VARCHAR(40);
ALTER TABLE ps_endpoints ADD COLUMN voicemail_extension VARCHAR(40);
ALTER TABLE ps_endpoints ADD COLUMN mwi_subscribe_replaces_unsolicited INTEGER;
UPDATE alembic_version SET version_num='1c688d9a003c' WHERE alembic_version.version_num = '5813202e92be';
-- Running upgrade 1c688d9a003c -> 8d478ab86e29
ALTER TABLE ps_globals ADD COLUMN disable_multi_domain ENUM('yes','no');
UPDATE alembic_version SET version_num='8d478ab86e29' WHERE alembic_version.version_num = '1c688d9a003c';
-- Running upgrade 8d478ab86e29 -> 65eb22eb195
ALTER TABLE ps_globals ADD COLUMN unidentified_request_count INTEGER;
ALTER TABLE ps_globals ADD COLUMN unidentified_request_period INTEGER;
ALTER TABLE ps_globals ADD COLUMN unidentified_request_prune_interval INTEGER;
ALTER TABLE ps_globals ADD COLUMN default_realm VARCHAR(40);
UPDATE alembic_version SET version_num='65eb22eb195' WHERE alembic_version.version_num = '8d478ab86e29';
-- Running upgrade 65eb22eb195 -> 81b01a191a46
ALTER TABLE ps_contacts ADD COLUMN reg_server VARCHAR(20);
ALTER TABLE ps_contacts ADD CONSTRAINT ps_contacts_uq UNIQUE (id, reg_server);
UPDATE alembic_version SET version_num='81b01a191a46' WHERE alembic_version.version_num = '65eb22eb195';
-- Running upgrade 81b01a191a46 -> 6be31516058d
ALTER TABLE ps_contacts ADD COLUMN authenticate_qualify ENUM('yes','no');
UPDATE alembic_version SET version_num='6be31516058d' WHERE alembic_version.version_num = '81b01a191a46';
-- Running upgrade 6be31516058d -> bca7113d796f
ALTER TABLE ps_endpoints ADD COLUMN deny VARCHAR(95);
ALTER TABLE ps_endpoints ADD COLUMN permit VARCHAR(95);
ALTER TABLE ps_endpoints ADD COLUMN acl VARCHAR(40);
ALTER TABLE ps_endpoints ADD COLUMN contact_deny VARCHAR(95);
ALTER TABLE ps_endpoints ADD COLUMN contact_permit VARCHAR(95);
ALTER TABLE ps_endpoints ADD COLUMN contact_acl VARCHAR(40);
UPDATE alembic_version SET version_num='bca7113d796f' WHERE alembic_version.version_num = '6be31516058d';
-- Running upgrade bca7113d796f -> a845e4d8ade8
ALTER TABLE ps_contacts ADD COLUMN via_addr VARCHAR(40);
ALTER TABLE ps_contacts ADD COLUMN via_port INTEGER;
ALTER TABLE ps_contacts ADD COLUMN call_id VARCHAR(255);
UPDATE alembic_version SET version_num='a845e4d8ade8' WHERE alembic_version.version_num = 'bca7113d796f';
-- Running upgrade a845e4d8ade8 -> ef7efc2d3964
ALTER TABLE ps_contacts ADD COLUMN endpoint VARCHAR(40);
ALTER TABLE ps_contacts MODIFY expiration_time BIGINT NULL;
CREATE INDEX ps_contacts_qualifyfreq_exp ON ps_contacts (qualify_frequency, expiration_time);
CREATE INDEX ps_aors_qualifyfreq_contact ON ps_aors (qualify_frequency, contact);
UPDATE alembic_version SET version_num='ef7efc2d3964' WHERE alembic_version.version_num = 'a845e4d8ade8';
-- Running upgrade ef7efc2d3964 -> 9deac0ae4717
ALTER TABLE ps_endpoints ADD COLUMN subscribe_context VARCHAR(40);
UPDATE alembic_version SET version_num='9deac0ae4717' WHERE alembic_version.version_num = 'ef7efc2d3964';
-- Running upgrade 9deac0ae4717 -> 4a6c67fa9b7a
ALTER TABLE ps_endpoints ADD COLUMN fax_detect_timeout INTEGER;
UPDATE alembic_version SET version_num='4a6c67fa9b7a' WHERE alembic_version.version_num = '9deac0ae4717';
-- Running upgrade 4a6c67fa9b7a -> c7a44a5a0851
ALTER TABLE ps_globals ADD COLUMN mwi_tps_queue_high INTEGER;
ALTER TABLE ps_globals ADD COLUMN mwi_tps_queue_low INTEGER;
ALTER TABLE ps_globals ADD COLUMN mwi_disable_initial_unsolicited ENUM('yes','no');
UPDATE alembic_version SET version_num='c7a44a5a0851' WHERE alembic_version.version_num = '4a6c67fa9b7a';
-- Running upgrade c7a44a5a0851 -> 3772f8f828da
ALTER TABLE ps_endpoints MODIFY identify_by ENUM('username','auth_username') NULL;
UPDATE alembic_version SET version_num='3772f8f828da' WHERE alembic_version.version_num = 'c7a44a5a0851';
-- Running upgrade 3772f8f828da -> 4e2493ef32e6
ALTER TABLE ps_endpoints ADD COLUMN contact_user VARCHAR(80);
UPDATE alembic_version SET version_num='4e2493ef32e6' WHERE alembic_version.version_num = '3772f8f828da';
-- Running upgrade 4e2493ef32e6 -> a6ef36f1309
ALTER TABLE ps_globals ADD COLUMN ignore_uri_user_options ENUM('yes','no');
UPDATE alembic_version SET version_num='a6ef36f1309' WHERE alembic_version.version_num = '4e2493ef32e6';
-- Running upgrade a6ef36f1309 -> 4468b4a91372
ALTER TABLE ps_endpoints ADD COLUMN asymmetric_rtp_codec ENUM('yes','no');
UPDATE alembic_version SET version_num='4468b4a91372' WHERE alembic_version.version_num = 'a6ef36f1309';
-- Running upgrade 4468b4a91372 -> 28ab27a7826d
ALTER TABLE ps_endpoint_id_ips ADD COLUMN srv_lookups ENUM('yes','no');
UPDATE alembic_version SET version_num='28ab27a7826d' WHERE alembic_version.version_num = '4468b4a91372';

View File

@@ -0,0 +1,34 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- 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,38 @@
CREATE TABLE alembic_version (
version_num VARCHAR2(32 CHAR) NOT NULL
)
/
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR2(20 CHAR),
src VARCHAR2(80 CHAR),
dst VARCHAR2(80 CHAR),
dcontext VARCHAR2(80 CHAR),
clid VARCHAR2(80 CHAR),
channel VARCHAR2(80 CHAR),
dstchannel VARCHAR2(80 CHAR),
lastapp VARCHAR2(80 CHAR),
lastdata VARCHAR2(80 CHAR),
"start" DATE,
answer DATE,
end DATE,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR2(45 CHAR),
amaflags VARCHAR2(45 CHAR),
userfield VARCHAR2(256 CHAR),
uniqueid VARCHAR2(150 CHAR),
linkedid VARCHAR2(150 CHAR),
peeraccount VARCHAR2(20 CHAR),
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,48 @@
CREATE TABLE alembic_version (
version_num VARCHAR2(32 CHAR) NOT NULL
)
/
-- Running upgrade -> a2e9769475e
CREATE TABLE voicemail_messages (
dir VARCHAR2(255 CHAR) NOT NULL,
msgnum INTEGER NOT NULL,
context VARCHAR2(80 CHAR),
macrocontext VARCHAR2(80 CHAR),
callerid VARCHAR2(80 CHAR),
origtime INTEGER,
duration INTEGER,
recording BLOB,
flag VARCHAR2(30 CHAR),
category VARCHAR2(30 CHAR),
mailboxuser VARCHAR2(30 CHAR),
mailboxcontext VARCHAR2(30 CHAR),
msg_id VARCHAR2(40 CHAR)
)
/
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
/
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e'
/

View File

@@ -0,0 +1,36 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- 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,38 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- 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;

View File

@@ -211,7 +211,8 @@ int ast_srv_lookup(struct srv_context **context, const char *service, const char
}
AST_LIST_HEAD_INIT_NOLOCK(&(*context)->entries);
if ((ast_search_dns(*context, service, C_IN, T_SRV, srv_callback)) < 0) {
if (((ast_search_dns(*context, service, C_IN, T_SRV, srv_callback)) < 1) ||
AST_LIST_EMPTY(&(*context)->entries)) {
ast_free(*context);
*context = NULL;
return -1;

View File

@@ -4339,6 +4339,7 @@ AST_TEST_DEFINE(xml_sanitization_exceeds_buffer)
static int reload_configuration_task(void *obj)
{
ast_res_pjsip_reload_configuration();
ast_res_pjsip_init_options_handling(1);
ast_sip_initialize_dns();
return 0;
}

View File

@@ -183,18 +183,6 @@ void ast_sip_destroy_global_headers(void);
*/
int ast_res_pjsip_init_options_handling(int reload);
/*!
* \internal
* \brief Indicate OPTIONS handling for this AOR needs updating.
*
* When AOR configuration is retrieved, it is possible that the
* qualify frequency has changed. The OPTIONs code needs to update
* its qualifies to reflect these changes.
*
* \param aor The AOR that has been retrieved
*/
void ast_res_pjsip_update_options(struct ast_sip_aor *aor);
/*!
* \internal Initialize message IP updating handling.
*

View File

@@ -1144,12 +1144,6 @@ static int contact_apply_handler(const struct ast_sorcery *sorcery, void *object
return status ? 0 : -1;
}
static int aor_apply_handler(const struct ast_sorcery *sorcery, void *object)
{
ast_res_pjsip_update_options(object);
return 0;
}
/*! \brief Initialize sorcery with location support */
int ast_sip_initialize_sorcery_location(void)
{
@@ -1166,7 +1160,7 @@ int ast_sip_initialize_sorcery_location(void)
ast_sorcery_apply_default(sorcery, "aor", "config", "pjsip.conf,criteria=type=aor");
if (ast_sorcery_object_register(sorcery, "contact", contact_alloc, NULL, contact_apply_handler) ||
ast_sorcery_object_register(sorcery, "aor", aor_alloc, NULL, aor_apply_handler)) {
ast_sorcery_object_register(sorcery, "aor", aor_alloc, NULL, NULL)) {
return -1;
}

View File

@@ -528,18 +528,6 @@ static int qualify_contact_task(void *obj)
static int qualify_contact_sched(const void *obj)
{
struct sched_data *data = (struct sched_data *) obj;
struct ast_sip_aor *aor;
/* This helps us to determine if an AOR has been removed
* from configuration, and if so, stop qualifying the
* contact
*/
aor = ast_sip_location_retrieve_aor(data->contact->aor);
if (!aor) {
ao2_ref(data, -1);
return 0;
}
ao2_ref(aor, -1);
ao2_ref(data->contact, +1);
if (ast_sip_push_task(NULL, qualify_contact_task, data->contact)) {
@@ -1186,10 +1174,12 @@ static int qualify_and_schedule_all_cb(void *obj, void *arg, int flags)
struct ast_sip_aor *aor = obj;
struct ao2_container *contacts;
contacts = ast_sip_location_retrieve_aor_contacts(aor);
if (contacts) {
ao2_callback(contacts, OBJ_NODATA, qualify_and_schedule_cb_with_aor, aor);
ao2_ref(contacts, -1);
if (aor->permanent_contacts) {
contacts = ast_sip_location_retrieve_aor_contacts(aor);
if (contacts) {
ao2_callback(contacts, OBJ_NODATA, qualify_and_schedule_cb_with_aor, aor);
ao2_ref(contacts, -1);
}
}
return 0;
@@ -1516,29 +1506,6 @@ int ast_res_pjsip_init_options_handling(int reload)
return 0;
}
static int unschedule_for_aor_cb(void *obj, void *arg, int flags)
{
struct sched_data *data = obj;
struct ast_sip_aor *aor = arg;
if (!strcmp(ast_sorcery_object_get_id(aor), data->contact->aor)) {
AST_SCHED_DEL_UNREF(sched, data->id, ao2_ref(data, -1));
}
return 0;
}
void ast_res_pjsip_update_options(struct ast_sip_aor *aor)
{
/* This can happen if an AOR is created and applied before OPTIONs code has been initialized */
if (!sched_qualifies) {
return;
}
ao2_callback(sched_qualifies, OBJ_NODATA | OBJ_UNLINK, unschedule_for_aor_cb, aor);
qualify_and_schedule_all_cb(aor, NULL, 0);
}
void ast_res_pjsip_cleanup_options_handling(void)
{
ast_cli_unregister_multiple(cli_options, ARRAY_LEN(cli_options));

View File

@@ -456,6 +456,8 @@ static int register_aor_core(pjsip_rx_data *rdata,
}
contact_update->expiration_time = ast_tvadd(ast_tvnow(), ast_samp2tv(expiration, 1));
contact_update->qualify_frequency = aor->qualify_frequency;
contact_update->authenticate_qualify = aor->authenticate_qualify;
if (path_str) {
ast_string_field_set(contact_update, path, ast_str_buffer(path_str));
}