Compare commits

...

6 Commits

Author SHA1 Message Date
Asterisk Autobuilder
c13803f4b4 Importing release summary for 13.3.0 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/13.3.0@433917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-04-01 17:35:40 +00:00
Asterisk Autobuilder
52caccfc68 Update .version, remove summaries, update ChangeLog
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/13.3.0@433895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-04-01 17:12:27 +00:00
Asterisk Autobuilder
e6b2cd0791 Create 13.3.0
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/13.3.0@433893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-04-01 16:59:26 +00:00
Asterisk Autobuilder
e3830dec04 Importing release summary for 13.3.0-rc1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/13.3.0-rc1@433313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-23 16:53:02 +00:00
Asterisk Autobuilder
f262d054af Importing files for 13.3.0-rc1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/13.3.0-rc1@433312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-23 16:52:56 +00:00
Asterisk Autobuilder
df0ce9f2b7 Creating tag for the release of asterisk-13.3.0-rc1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/13.3.0-rc1@433311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-23 16:49:03 +00:00
17 changed files with 29634 additions and 0 deletions

1
.lastclean Normal file
View File

@@ -0,0 +1 @@
40

1
.version Normal file
View File

@@ -0,0 +1 @@
13.3.0

24248
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,701 @@
<!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">
<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Release Summary - asterisk-13.3.0</title></head>
<body>
<h1 align="center"><a name="top">Release Summary</a></h1>
<h3 align="center">asterisk-13.3.0</h3>
<h3 align="center">Date: 2015-04-01</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="#issues">Closed Issues</a></li>
<li><a href="#commits">Other Changes</a></li>
<li><a href="#diffstat">Diffstat</a></li>
</ol>
<hr/>
<a name="summary"><h2 align="center">Summary</h2></a>
<center><a href="#top">[Back to Top]</a></center><br/><p>This release includes only bug fixes. The changes included were made only to address problems that have been identified in this release series. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous release series 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.2.0.</p>
<hr/>
<a name="contributors"><h2 align="center">Contributors</h2></a>
<center><a href="#top">[Back to Top]</a></center><br/><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 closed by commits that went into this release.</p>
<table width="100%" border="0">
<tr>
<td width="33%"><h3>Coders</h3></td>
<td width="33%"><h3>Testers</h3></td>
<td width="33%"><h3>Reporters</h3></td>
</tr>
<tr valign="top">
<td>
25 rmudgett<br/>
17 mjordan<br/>
16 jcolp<br/>
9 kharwell<br/>
7 coreyfarrell<br/>
4 file<br/>
4 Graham Barnett<br/>
4 sgriepentrog<br/>
3 gtjoseph<br/>
2 oej<br/>
2 snuffy<br/>
1 Alexander Traud<br/>
1 Ben Merrills<br/>
1 Diederik de Groot<br/>
1 dlee<br/>
1 Ed Hynan<br/>
1 ibercom<br/>
1 Javier Acosta<br/>
1 jrose<br/>
1 Makoto Dei<br/>
1 newtonr<br/>
1 Richard Miller<br/>
</td>
<td>
2 Graham Barnett<br/>
2 snuffy<br/>
1 JoshE<br/>
1 mjordan<br/>
</td>
<td>
7 coreyfarrell<br/>
5 mjordan<br/>
5 rnewton<br/>
4 jcolp<br/>
3 GrahamJB<br/>
3 kharwell<br/>
3 rmudgett<br/>
2 n8ideas<br/>
2 snuffy<br/>
2 zconkle<br/>
1 anatoli<br/>
1 asanders<br/>
1 atis<br/>
1 bford<br/>
1 cbbs70a<br/>
1 DarkS<br/>
1 dcabot<br/>
1 Demon<br/>
1 dhubbard<br/>
1 dkdegroot<br/>
1 Ed<br/>
1 falves11<br/>
1 feyfre<br/>
1 ibercom<br/>
1 jbigelow<br/>
1 jputnam<br/>
1 kenner<br/>
1 klaus3000<br/>
1 makoto<br/>
1 mhoskins<br/>
1 mmichelson<br/>
1 pnlarsson<br/>
1 roeften<br/>
1 rossbeer<br/>
1 simmcomm<br/>
1 skrusty<br/>
1 smurfix<br/>
1 StefanEng86<br/>
1 traud<br/>
1 twilson<br/>
1 ulogic<br/>
1 yurakocyuba<br/>
</td>
</tr>
</table>
<hr/>
<a name="issues"><h2 align="center">Closed Issues</h2></a>
<center><a href="#top">[Back to Top]</a></center><br/><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p>
<h3>Category: Applications/app_amd</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-19470">ASTERISK-19470</a>: Documentation on app_amd is incorrect<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432920">432920</a><br/>
Reporter: cbbs70a<br/>
Coders: mjordan<br/>
<br/>
<h3>Category: Applications/app_chanspy</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24828">ASTERISK-24828</a>: Fix Frame Leaks<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432363">432363</a><br/>
Reporter: kharwell<br/>
Coders: kharwell<br/>
<br/>
<h3>Category: Applications/app_dial</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24499">ASTERISK-24499</a>: Need more explicit debug when PJSIP dialstring is invalid<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432118">432118</a><br/>
Reporter: rnewton<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Applications/app_transfer</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24015">ASTERISK-24015</a>: app_transfer fails with PJSIP channels<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431717">431717</a><br/>
Reporter: falves11<br/>
Coders: mjordan<br/>
<br/>
<h3>Category: Applications/app_voicemail</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24790">ASTERISK-24790</a>: Reduce spurious noise in logs from voicemail - Couldn't find mailbox %s in context<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432099">432099</a><br/>
Reporter: GrahamJB<br/>
Coders: Graham Barnett<br/>
<br/>
<h3>Category: Applications/app_voicemail/IMAP</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24786">ASTERISK-24786</a>: [patch] - Asterisk terminates when playing a voicemail stored in LDAP<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432696">432696</a><br/>
Reporter: GrahamJB<br/>
Testers: Graham Barnett<br/>
Coders: Graham Barnett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24787">ASTERISK-24787</a>: [patch] - Microsoft exchange incompatibility for playing back messages stored in IMAP - play_message: No origtime<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432013">432013</a><br/>
Reporter: GrahamJB<br/>
Coders: Graham Barnett<br/>
<br/>
<h3>Category: Bridges/bridge_softmix</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24797">ASTERISK-24797</a>: bridge_softmix: G.729 codec license held<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432175">432175</a><br/>
Reporter: kharwell<br/>
Coders: kharwell<br/>
<br/>
<h3>Category: Channels/chan_dahdi</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24689">ASTERISK-24689</a>: Segfault on hangup after outgoing PRI-Euroisdn call<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431974">431974</a><br/>
Reporter: simmcomm<br/>
Coders: rmudgett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24825">ASTERISK-24825</a>: Caller ID not recognized using Centrex/Distinctive dialing<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432534">432534</a><br/>
Reporter: rmudgett<br/>
Coders: rmudgett<br/>
<br/>
<h3>Category: Channels/chan_iax2</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24451">ASTERISK-24451</a>: chan_iax2: reference leak in sched_delay_remove<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431917">431917</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<h3>Category: Channels/chan_pjsip</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24771">ASTERISK-24771</a>: ${CHANNEL(pjsip)} - segfault<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431751">431751</a><br/>
Reporter: pnlarsson<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Channels/chan_sip/DatabaseSupport</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24772">ASTERISK-24772</a>: ODBC error in realtime sippeers when device unregisters under MariaDB<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431674">431674</a><br/>
Reporter: ulogic<br/>
Coders: Richard Miller<br/>
<br/>
<h3>Category: Channels/chan_sip/General</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-15434">ASTERISK-15434</a>: [patch] When ast_pbx_start failed, both an error response and BYE are sent to the caller<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432321">432321</a><br/>
Reporter: makoto<br/>
Testers: mjordan<br/>
Coders: Makoto Dei<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-23214">ASTERISK-23214</a>: chan_sip WARNING message 'We are requesting SRTP for audio, but they responded without it' is ambiguous and wrong in some cases<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432278">432278</a><br/>
Reporter: rnewton<br/>
Coders: mjordan<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24800">ASTERISK-24800</a>: Crash in __sip_reliable_xmit due to invalid thread ID being passed to pthread_kill<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432199">432199</a><br/>
Reporter: n8ideas<br/>
Coders: mjordan<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24838">ASTERISK-24838</a>: chan_sip: Locking inversion occurs when building a peer causes a peer poke during request handling<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432528">432528</a><br/>
Reporter: rmudgett<br/>
Coders: rmudgett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24876">ASTERISK-24876</a>: Investigate reference leaks from tests/channels/local/local_optimize_away<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433113">433113</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24882">ASTERISK-24882</a>: chan_sip: Improve usage of REF_DEBUG<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433115">433115</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<h3>Category: Channels/chan_sip/NewFeature</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-17899">ASTERISK-17899</a>: [patch] Adds a 'ignorecryptolifetime' (Ignore Crypto Lifetime) option to sip.conf for SRTP keys specifying optional 'lifetime'<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432258">432258</a><br/>
Reporter: dhubbard<br/>
Coders: oej<br/>
<br/>
<h3>Category: Channels/chan_sip/SRTP</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-17721">ASTERISK-17721</a>: Incoming SRTP calls that specify a key lifetime fail<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432258">432258</a><br/>
Reporter: twilson<br/>
Coders: oej<br/>
<br/>
<h3>Category: Channels/chan_sip/TCP-TLS</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24799">ASTERISK-24799</a>: [patch] make fails with undefined reference to SSLv3_client_method<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431937">431937</a><br/>
Reporter: traud<br/>
Coders: Alexander Traud<br/>
<br/>
<h3>Category: Contrib/General</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24632">ASTERISK-24632</a>: install_prereq script installs pjproject without IPv6 support<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431843">431843</a><br/>
Reporter: rnewton<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Core/Bridging</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24752">ASTERISK-24752</a>: Crash in bridge_manager_service_req when bridge is destroyed by ARI during shutdown<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431692">431692</a><br/>
Reporter: rmudgett<br/>
Coders: rmudgett<br/>
<br/>
<h3>Category: Core/BuildSystem</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-18105">ASTERISK-18105</a>: most of asterisk modules are unbuildable in cygwin environment<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432342">432342</a><br/>
Reporter: feyfre<br/>
Coders: mjordan<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-20850">ASTERISK-20850</a>: [patch]Nested functions aren't portable. Adapting RAII_VAR to use clang/llvm blocks to get the same/similar functionality.<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432808">432808</a><br/>
Reporter: dkdegroot<br/>
Coders: Diederik de Groot<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24880">ASTERISK-24880</a>: [patch]Compilation under OpenBSD <br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433247">433247</a><br/>
Reporter: snuffy<br/>
Testers: snuffy<br/>
Coders: snuffy<br/>
<br/>
<h3>Category: Core/Channels</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-21038">ASTERISK-21038</a>: Bad command completion of "core set debug channel"<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432945">432945</a><br/>
Reporter: kenner<br/>
Coders: jcolp<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24828">ASTERISK-24828</a>: Fix Frame Leaks<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432363">432363</a><br/>
Reporter: kharwell<br/>
Coders: kharwell<br/>
<br/>
<h3>Category: Core/CodecInterface</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-16779">ASTERISK-16779</a>: Cannot disallow unknown format ''<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432971">432971</a><br/>
Reporter: atis<br/>
Coders: mjordan<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24796">ASTERISK-24796</a>: Codecs and bucket schema's prevent module unload<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432059">432059</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<h3>Category: Core/General</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24479">ASTERISK-24479</a>: Enable REF_DEBUG for module references<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431663">431663</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24739">ASTERISK-24739</a>: [patch] - Out of files -- call fails -- numerous files with inodes from under /usr/share/zoneinfo, mostly posixrules<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432693">432693</a><br/>
Reporter: Ed<br/>
Coders: Ed Hynan<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24740">ASTERISK-24740</a>: [patch]Segmentation fault on aoc-e event<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431974">431974</a><br/>
Reporter: roeften<br/>
Coders: rmudgett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24752">ASTERISK-24752</a>: Crash in bridge_manager_service_req when bridge is destroyed by ARI during shutdown<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431692">431692</a><br/>
Reporter: rmudgett<br/>
Coders: rmudgett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24796">ASTERISK-24796</a>: Codecs and bucket schema's prevent module unload<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432059">432059</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24814">ASTERISK-24814</a>: asterisk/lock.h: Fix syntax errors for non-gcc OSX with 64 bit integers<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432055">432055</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24879">ASTERISK-24879</a>: [patch]Compilation fails due to 64bit time under OpenBSD<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433269">433269</a><br/>
Reporter: snuffy<br/>
Testers: snuffy<br/>
Coders: snuffy<br/>
<br/>
<h3>Category: Core/HTTP</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24724">ASTERISK-24724</a>: 'httpstatus' Web Page Produces Incomplete HTML<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432079">432079</a><br/>
Reporter: asanders<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Core/Logging</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24817">ASTERISK-24817</a>: init_logger_chain: unreachable code block<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433126">433126</a><br/>
Reporter: coreyfarrell<br/>
Coders: coreyfarrell<br/>
<br/>
<h3>Category: Core/ManagerInterface</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-22670">ASTERISK-22670</a>: Asterisk crashes when processing ISDN AoC Events<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431974">431974</a><br/>
Reporter: klaus3000<br/>
Coders: rmudgett<br/>
<br/>
<h3>Category: Core/Sorcery</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24612">ASTERISK-24612</a>: res_pjsip: No information if a required sorcery wizard is not loaded<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431771">431771</a><br/>
Reporter: jcolp<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Documentation</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24085">ASTERISK-24085</a>: Documentation - We should remove or further document the 'contact' section in pjsip.conf<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431860">431860</a><br/>
Reporter: rnewton<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Functions/func_curl</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-18708">ASTERISK-18708</a>: func_curl hangs channel under load<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432949">432949</a><br/>
Reporter: dcabot<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Resources/res_agi</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-23390">ASTERISK-23390</a>: NewExten Event with application AGI shows up before and after AGI runs<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432696">432696</a><br/>
Reporter: bford<br/>
Testers: Graham Barnett<br/>
Coders: Graham Barnett<br/>
<br/>
<h3>Category: Resources/res_ari</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24812">ASTERISK-24812</a>: ARI: Creating channels through /channels resource always uses SLIN, which results in unneeded transcoding<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432195">432195</a><br/>
Reporter: mjordan<br/>
Coders: mjordan<br/>
<br/>
<h3>Category: Resources/res_ari_channels</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24677">ASTERISK-24677</a>: ARI GET variable on channel provides unhelpful response on non-existent variable<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432154">432154</a><br/>
Reporter: jcolp<br/>
Coders: jcolp<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24703">ASTERISK-24703</a>: ARI: Add the ability to "transfer" (redirect) a channel<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431717">431717</a><br/>
Reporter: mjordan<br/>
Coders: mjordan<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24812">ASTERISK-24812</a>: ARI: Creating channels through /channels resource always uses SLIN, which results in unneeded transcoding<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432195">432195</a><br/>
Reporter: mjordan<br/>
Coders: mjordan<br/>
<br/>
<h3>Category: Resources/res_config_odbc</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24808">ASTERISK-24808</a>: res_config_odbc: Improper escaping of backslashes occurs with MySQL<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432721">432721</a><br/>
Reporter: DarkS<br/>
Coders: Javier Acosta<br/>
<br/>
<h3>Category: Resources/res_format_attr_h264</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24616">ASTERISK-24616</a>: Crash in res_format_attr_h264 due to invalid string copy<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431521">431521</a><br/>
Reporter: yurakocyuba<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Resources/res_odbc</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24742">ASTERISK-24742</a>: [patch] Fix ast_odbc_find_table function in res_odbc<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431618">431618</a><br/>
Reporter: ibercom<br/>
Coders: ibercom<br/>
<br/>
<h3>Category: Resources/res_pjsip</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24499">ASTERISK-24499</a>: Need more explicit debug when PJSIP dialstring is invalid<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432118">432118</a><br/>
Reporter: rnewton<br/>
Coders: jcolp<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24685">ASTERISK-24685</a>: "pjsip show version" CLI command<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431824">431824</a><br/>
Reporter: jcolp<br/>
Coders: jcolp<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24727">ASTERISK-24727</a>: PJSIP: Crash experienced during multi-Asterisk transfer scenario.<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431734">431734</a><br/>
Reporter: mmichelson<br/>
Coders: rmudgett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24741">ASTERISK-24741</a>: dtls_handler causes Asterisk to crash<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431698">431698</a><br/>
Reporter: zconkle<br/>
Coders: kharwell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24748">ASTERISK-24748</a>: res_pjsip: If wizards explicitly configured in sorcery.conf false ERROR messages may occur<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431538">431538</a><br/>
Reporter: jcolp<br/>
Coders: jcolp<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24755">ASTERISK-24755</a>: Asterisk sends unexpected early BYE to transferrer during attended transfer when using a Stasis bridge<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432668">432668</a><br/>
Reporter: jbigelow<br/>
Coders: rmudgett<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24840">ASTERISK-24840</a>: res_pjsip: conflicting endpoint identifiers<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432638">432638</a><br/>
Reporter: kharwell<br/>
Coders: kharwell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24872">ASTERISK-24872</a>: [patch] AMI PJSIPShowEndpoint closes AMI connection on error<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432894">432894</a><br/>
Reporter: Demon<br/>
Coders: rmudgett<br/>
<br/>
<h3>Category: Resources/res_pjsip_exten_state</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24716">ASTERISK-24716</a>: Improve pjsip log messages for presence subscription failure<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431754">431754</a><br/>
Reporter: rnewton<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Resources/res_pjsip_publish_asterisk</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24811">ASTERISK-24811</a>: asterisk-publication sorcery object does not use realtime<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432033">432033</a><br/>
Reporter: mhoskins<br/>
Coders: gtjoseph<br/>
<br/>
<h3>Category: Resources/res_pjsip_refer</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24700">ASTERISK-24700</a>: CRASH: NULL channel is being passed to ast_bridge_transfer_attended()<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431898">431898</a><br/>
Reporter: zconkle<br/>
Coders: rmudgett<br/>
<br/>
<h3>Category: Resources/res_pjsip_registrar</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24785">ASTERISK-24785</a>: 'Expires' header missing from 200 OK on REGISTER<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432136">432136</a><br/>
Reporter: rossbeer<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: Resources/res_pjsip_sdp_rtp</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24769">ASTERISK-24769</a>: res_pjsip_sdp_rtp: Local ICE candidates leaked<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431600">431600</a><br/>
Reporter: mjordan<br/>
Coders: mjordan<br/>
<br/>
<h3>Category: Resources/res_rtp_asterisk</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24791">ASTERISK-24791</a>: Crash in ast_rtcp_write_report<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431879">431879</a><br/>
Reporter: n8ideas<br/>
Testers: JoshE<br/>
Coders: mjordan<br/>
<br/>
<h3>Category: Resources/res_stasis</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24701">ASTERISK-24701</a>: Stasis: Write timeout on WebSocket fails to fully disconnect underlying socket, leading to events being dropped with no additional information<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431670">431670</a><br/>
Reporter: mjordan<br/>
Coders: kharwell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24701">ASTERISK-24701</a>: Stasis: Write timeout on WebSocket fails to fully disconnect underlying socket, leading to events being dropped with no additional information<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431693">431693</a><br/>
Reporter: mjordan<br/>
Coders: kharwell<br/>
<br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24755">ASTERISK-24755</a>: Asterisk sends unexpected early BYE to transferrer during attended transfer when using a Stasis bridge<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432668">432668</a><br/>
Reporter: jbigelow<br/>
Coders: rmudgett<br/>
<br/>
<h3>Category: Resources/res_timing_pthread</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24768">ASTERISK-24768</a>: res_timing_pthread: file descriptor leak<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431807">431807</a><br/>
Reporter: smurfix<br/>
Coders: jcolp<br/>
<br/>
<h3>Category: pjproject/pjsip</h3><br/>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-24807">ASTERISK-24807</a>: Missing mandatory field Max-Forwards<br/>
Revision: <a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432766">432766</a><br/>
Reporter: anatoli<br/>
Coders: rmudgett<br/>
<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><br/><p>This is a list of all changes that went into this release that did not directly close an issue from the issue tracker. The commits may have been marked as being related to an issue. If that is the case, the issue numbers are listed here, as well.</p>
<table width="100%" border="1">
<tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Summary</b></td><td><b>Issues Referenced</b></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431555">431555</a></td><td>file</td><td>res_pjsip_keepalive: Don't crash if PJSIP module is not loaded.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431583">431583</a></td><td>sgriepentrog</td><td>various: cleanup issues found during leak hunt</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431643">431643</a></td><td>gtjoseph</td><td>res_pjsip_config_wizard: Add ability to auto-create hints.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431752">431752</a></td><td>file</td><td>'information' ends with an 'n'.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431789">431789</a></td><td>mjordan</td><td>apps/app_mixmonitor: Move Test Event for MIXMONITOR_END to after it finishes</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431841">431841</a></td><td>file</td><td>res_sorcery_config: Improve object lookup times.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431956">431956</a></td><td>rmudgett</td><td>res_pjsip_refer: Handle INVITE with Replaces failure after answer.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=431993">431993</a></td><td>rmudgett</td><td>chan_dahdi: Remove some dead code.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432034">432034</a></td><td>rmudgett</td><td>chan_dahdi/sig_analog: Put log message strings on one line.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432237">432237</a></td><td>dlee</td><td>Increase WebSocket frame size and improve large read handling</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432281">432281</a></td><td>mjordan</td><td>configure: Promote SQLite3 "not installed" warning to error</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432301">432301</a></td><td>newtonr</td><td>configs/basic-pbx - Super Awesome Company example configs Phase 1, Patch 1</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432385">432385</a></td><td>sgriepentrog</td><td>Dial API: add self destruct option when complete</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432423">432423</a></td><td>mjordan</td><td>res/res_pjsip_sdp_rtp: Revert portion of r432195</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432453">432453</a></td><td>mjordan</td><td>translate: Prevent invalid memory accesses on fast shutdown</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432485">432485</a></td><td>gtjoseph</td><td>app_voicemail: Fix compile breaking in app_voicemail with IMAP_STORAGE.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432556">432556</a></td><td>jrose</td><td>app: Add functions to swap voicemail function table for testing purposes</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432574">432574</a></td><td>rmudgett</td><td>res_pjsip_refer: Made refer_attended_alloc() not create the ao2 object with a lock.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432594">432594</a></td><td>rmudgett</td><td>res_pjsip_refer: Make safely get the context for a blind transfer.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432742">432742</a></td><td>file</td><td>core: Don't create snapshots with locks.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432764">432764</a></td><td>rmudgett</td><td>res_pjsip: Fixed invalid empty Server and User-Agent SIP headers.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432787">432787</a></td><td>rmudgett</td><td>res_pjsip: Move internal init/destroy prototypes to private header file.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432811">432811</a></td><td>mjordan</td><td>main/audiohook: Update internal sample rate on reads</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432868">432868</a></td><td>kharwell</td><td>Revert - res_pjsip: Allow configuration of endpoint identifier query order</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432892">432892</a></td><td>rmudgett</td><td>chan_pjsip/res_pjsip_callerid: Make Party ID handling simpler and consistent.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=432938">432938</a></td><td>mjordan</td><td>FILE: fix retrieval of file contents when offset is specified</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433005">433005</a></td><td>rmudgett</td><td>res_pjsip: Add reason comment.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433028">433028</a></td><td>kharwell</td><td>res_pjsip: Allow configuration of endpoint identifier query order</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433031">433031</a></td><td>kharwell</td><td>res_pjsip: Allow configuration of endpoint identifier query order</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433057">433057</a></td><td>rmudgett</td><td>Audit ast_sockaddr_resolve() usage for memory leaks.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433060">433060</a></td><td>sgriepentrog</td><td>core: Introduce chaos into memory allocations</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433064">433064</a></td><td>sgriepentrog</td><td>Various: bugfixes found via chaos</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433088">433088</a></td><td>rmudgett</td><td>res_pjsip_session: Fix off-nominal extra unref of session.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433174">433174</a></td><td>mjordan</td><td>funcs/func_env: Fix regression caused in FILE read operation</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433199">433199</a></td><td>rmudgett</td><td>res_pjsip_sdp_rtp,sorcery: Fix invalid access and memory leak respectively.</td>
<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/branches/13?view=revision&revision=433222">433222</a></td><td>rmudgett</td><td>Audit ast_pjsip_rdata_get_endpoint() usage for ref leaks.</td>
<td></td></tr></table>
<hr/>
<a name="diffstat"><h2 align="center">Diffstat Results</h2></a>
<center><a href="#top">[Back to Top]</a></center><br/><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>
CHANGES | 25
Makefile | 4
UPGRADE.txt | 9
apps/Makefile | 2
apps/app_amd.c | 3
apps/app_chanspy.c | 3
apps/app_confbridge.c | 6
apps/app_externalivr.c | 2
apps/app_mixmonitor.c | 7
apps/app_queue.c | 26
apps/app_voicemail.c | 46
bridges/bridge_builtin_features.c | 8
bridges/bridge_softmix.c | 37
build_tools/cflags.xml | 4
channels/Makefile | 2
channels/chan_dahdi.c | 124 +-
channels/chan_dahdi.h | 2
channels/chan_iax2.c | 4
channels/chan_pjsip.c | 128 +-
channels/chan_sip.c | 179 +--
channels/pjsip/dialplan_functions.c | 5
channels/sig_analog.c | 192 +--
channels/sig_analog.h | 1
channels/sip/include/dialog.h | 15
channels/sip/include/sip.h | 11
configs/basic-pbx/README | 15
configs/basic-pbx/asterisk.conf | 26
configs/basic-pbx/extensions.conf | 58 +
configs/basic-pbx/indications.conf | 19
configs/basic-pbx/logger.conf | 9
configs/basic-pbx/modules.conf | 102 ++
configs/basic-pbx/musiconhold.conf | 5
configs/basic-pbx/pjsip.conf | 287 +++++
configs/basic-pbx/voicemail.conf | 23
configs/samples/amd.conf.sample | 1
configs/samples/pjsip.conf.sample | 15
configs/samples/pjsip_wizard.conf.sample | 22
configure.ac | 49 -
contrib/ast-db-manage/config/versions/45e3f47c6c44_add_pjsip_endpoint_identifier_order.py | 21
contrib/scripts/install_prereq | 2
funcs/func_cdr.c | 6
funcs/func_curl.c | 2
funcs/func_env.c | 2
include/asterisk.h | 36
include/asterisk/app.h | 16
include/asterisk/channel.h | 19
include/asterisk/config.h | 5
include/asterisk/dial.h | 1
include/asterisk/inline_api.h | 12
include/asterisk/json.h | 18
include/asterisk/lock.h | 2
include/asterisk/module.h | 27
include/asterisk/res_pjsip.h | 119 --
include/asterisk/res_pjsip_session.h | 14
include/asterisk/sched.h | 11
include/asterisk/stasis_app.h | 11
include/asterisk/utils.h | 67 +
main/Makefile | 1
main/aoc.c | 88 +
main/app.c | 51 +
main/asterisk.c | 255 +++--
main/audiohook.c | 15
main/bridge.c | 14
main/bucket.c | 2
main/cdr.c | 8
main/channel.c | 40
main/cli.c | 4
main/codec.c | 4
main/codec_builtin.c | 2
main/config.c | 17
main/dial.c | 8
main/endpoints.c | 8
main/format_cap.c | 4
main/http.c | 9
main/json.c | 29
main/loader.c | 79 +
main/logger.c | 31
main/manager.c | 7
main/netsock2.c | 4
main/rtp_engine.c | 2
main/sched.c | 20
main/sdp_srtp.c | 109 +-
main/sorcery.c | 11
main/stasis_bridges.c | 3
main/stasis_channels.c | 6
main/stdtime/localtime.c | 279 ++++-
main/tcptls.c | 5
main/translate.c | 4
main/utils.c | 4
main/xmldoc.c | 9
makeopts.in | 2
res/ari/ari_websockets.c | 14
res/ari/resource_channels.c | 136 ++
res/ari/resource_channels.h | 26
res/ari/resource_endpoints.c | 61 -
res/res_ari_channels.c | 115 ++
res/res_ari_endpoints.c | 1
res/res_config_odbc.c | 8
res/res_format_attr_h264.c | 4
res/res_http_websocket.c | 43
res/res_odbc.c | 11
res/res_pjsip.c | 150 ++-
res/res_pjsip/config_domain_aliases.c | 1
res/res_pjsip/config_global.c | 152 ++-
res/res_pjsip/include/res_pjsip_private.h | 164 +++
res/res_pjsip/pjsip_cli.c | 25
res/res_pjsip/pjsip_configuration.c | 14
res/res_pjsip/pjsip_global_headers.c | 14
res/res_pjsip/pjsip_options.c | 23
res/res_pjsip_acl.c | 3
res/res_pjsip_caller_id.c | 53 -
res/res_pjsip_config_wizard.c | 224 ++++
res/res_pjsip_endpoint_identifier_anonymous.c | 2
res/res_pjsip_endpoint_identifier_ip.c | 2
res/res_pjsip_endpoint_identifier_user.c | 2
res/res_pjsip_exten_state.c | 3
res/res_pjsip_keepalive.c | 2
res/res_pjsip_messaging.c | 24
res/res_pjsip_multihomed.c | 5
res/res_pjsip_nat.c | 12
res/res_pjsip_publish_asterisk.c | 1
res/res_pjsip_pubsub.c | 2
res/res_pjsip_refer.c | 263 +++--
res/res_pjsip_registrar.c | 8
res/res_pjsip_sdp_rtp.c | 22
res/res_pjsip_send_to_voicemail.c | 10
res/res_pjsip_session.c | 488 +++++++---
res/res_pjsip_session.exports.in | 1
res/res_pjsip_t38.c | 4
res/res_pjsip_transport_websocket.c | 2
res/res_rtp_asterisk.c | 20
res/res_sorcery_config.c | 46
res/res_timing_pthread.c | 3
res/stasis/control.c | 32
rest-api/api-docs/channels.json | 53 +
rest-api/api-docs/endpoints.json | 4
tests/test_func_file.c | 6
137 files changed, 4102 insertions(+), 1158 deletions(-)
</pre><br/>
<hr/>
</body>
</html>

877
asterisk-13.3.0-summary.txt Normal file
View File

@@ -0,0 +1,877 @@
Release Summary
asterisk-13.3.0
Date: 2015-04-01
<asteriskteam@digium.com>
----------------------------------------------------------------------
Table of Contents
1. Summary
2. Contributors
3. Closed Issues
4. Other Changes
5. Diffstat
----------------------------------------------------------------------
Summary
[Back to Top]
This release includes only bug fixes. The changes included were made only
to address problems that have been identified in this release series.
Users should be able to safely upgrade to this version if this release
series is already in use. Users considering upgrading from a previous
release series 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.2.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 closed by commits that went into this
release.
Coders Testers Reporters
25 rmudgett 2 Graham Barnett 7 coreyfarrell
17 mjordan 2 snuffy 5 mjordan
16 jcolp 1 JoshE 5 rnewton
9 kharwell 1 mjordan 4 jcolp
7 coreyfarrell 3 GrahamJB
4 file 3 kharwell
4 Graham Barnett 3 rmudgett
4 sgriepentrog 2 n8ideas
3 gtjoseph 2 snuffy
2 oej 2 zconkle
2 snuffy 1 anatoli
1 Alexander Traud 1 asanders
1 Ben Merrills 1 atis
1 Diederik de Groot 1 bford
1 dlee 1 cbbs70a
1 Ed Hynan 1 DarkS
1 ibercom 1 dcabot
1 Javier Acosta 1 Demon
1 jrose 1 dhubbard
1 Makoto Dei 1 dkdegroot
1 newtonr 1 Ed
1 Richard Miller 1 falves11
1 feyfre
1 ibercom
1 jbigelow
1 jputnam
1 kenner
1 klaus3000
1 makoto
1 mhoskins
1 mmichelson
1 pnlarsson
1 roeften
1 rossbeer
1 simmcomm
1 skrusty
1 smurfix
1 StefanEng86
1 traud
1 twilson
1 ulogic
1 yurakocyuba
----------------------------------------------------------------------
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.
Category: Applications/app_amd
ASTERISK-19470: Documentation on app_amd is incorrect
Revision: 432920
Reporter: cbbs70a
Coders: mjordan
Category: Applications/app_chanspy
ASTERISK-24828: Fix Frame Leaks
Revision: 432363
Reporter: kharwell
Coders: kharwell
Category: Applications/app_dial
ASTERISK-24499: Need more explicit debug when PJSIP dialstring is invalid
Revision: 432118
Reporter: rnewton
Coders: jcolp
Category: Applications/app_transfer
ASTERISK-24015: app_transfer fails with PJSIP channels
Revision: 431717
Reporter: falves11
Coders: mjordan
Category: Applications/app_voicemail
ASTERISK-24790: Reduce spurious noise in logs from voicemail - Couldn't
find mailbox %s in context
Revision: 432099
Reporter: GrahamJB
Coders: Graham Barnett
Category: Applications/app_voicemail/IMAP
ASTERISK-24786: [patch] - Asterisk terminates when playing a voicemail
stored in LDAP
Revision: 432696
Reporter: GrahamJB
Testers: Graham Barnett
Coders: Graham Barnett
ASTERISK-24787: [patch] - Microsoft exchange incompatibility for playing
back messages stored in IMAP - play_message: No origtime
Revision: 432013
Reporter: GrahamJB
Coders: Graham Barnett
Category: Bridges/bridge_softmix
ASTERISK-24797: bridge_softmix: G.729 codec license held
Revision: 432175
Reporter: kharwell
Coders: kharwell
Category: Channels/chan_dahdi
ASTERISK-24689: Segfault on hangup after outgoing PRI-Euroisdn call
Revision: 431974
Reporter: simmcomm
Coders: rmudgett
ASTERISK-24825: Caller ID not recognized using Centrex/Distinctive dialing
Revision: 432534
Reporter: rmudgett
Coders: rmudgett
Category: Channels/chan_iax2
ASTERISK-24451: chan_iax2: reference leak in sched_delay_remove
Revision: 431917
Reporter: coreyfarrell
Coders: coreyfarrell
Category: Channels/chan_pjsip
ASTERISK-24771: ${CHANNEL(pjsip)} - segfault
Revision: 431751
Reporter: pnlarsson
Coders: jcolp
Category: Channels/chan_sip/DatabaseSupport
ASTERISK-24772: ODBC error in realtime sippeers when device unregisters
under MariaDB
Revision: 431674
Reporter: ulogic
Coders: Richard Miller
Category: Channels/chan_sip/General
ASTERISK-15434: [patch] When ast_pbx_start failed, both an error response
and BYE are sent to the caller
Revision: 432321
Reporter: makoto
Testers: mjordan
Coders: Makoto Dei
ASTERISK-23214: chan_sip WARNING message 'We are requesting SRTP for
audio, but they responded without it' is ambiguous and wrong in some cases
Revision: 432278
Reporter: rnewton
Coders: mjordan
ASTERISK-24800: Crash in __sip_reliable_xmit due to invalid thread ID
being passed to pthread_kill
Revision: 432199
Reporter: n8ideas
Coders: mjordan
ASTERISK-24838: chan_sip: Locking inversion occurs when building a peer
causes a peer poke during request handling
Revision: 432528
Reporter: rmudgett
Coders: rmudgett
ASTERISK-24876: Investigate reference leaks from
tests/channels/local/local_optimize_away
Revision: 433113
Reporter: coreyfarrell
Coders: coreyfarrell
ASTERISK-24882: chan_sip: Improve usage of REF_DEBUG
Revision: 433115
Reporter: coreyfarrell
Coders: coreyfarrell
Category: Channels/chan_sip/NewFeature
ASTERISK-17899: [patch] Adds a 'ignorecryptolifetime' (Ignore Crypto
Lifetime) option to sip.conf for SRTP keys specifying optional 'lifetime'
Revision: 432258
Reporter: dhubbard
Coders: oej
Category: Channels/chan_sip/SRTP
ASTERISK-17721: Incoming SRTP calls that specify a key lifetime fail
Revision: 432258
Reporter: twilson
Coders: oej
Category: Channels/chan_sip/TCP-TLS
ASTERISK-24799: [patch] make fails with undefined reference to
SSLv3_client_method
Revision: 431937
Reporter: traud
Coders: Alexander Traud
Category: Contrib/General
ASTERISK-24632: install_prereq script installs pjproject without IPv6
support
Revision: 431843
Reporter: rnewton
Coders: jcolp
Category: Core/Bridging
ASTERISK-24752: Crash in bridge_manager_service_req when bridge is
destroyed by ARI during shutdown
Revision: 431692
Reporter: rmudgett
Coders: rmudgett
Category: Core/BuildSystem
ASTERISK-18105: most of asterisk modules are unbuildable in cygwin
environment
Revision: 432342
Reporter: feyfre
Coders: mjordan
ASTERISK-20850: [patch]Nested functions aren't portable. Adapting RAII_VAR
to use clang/llvm blocks to get the same/similar functionality.
Revision: 432808
Reporter: dkdegroot
Coders: Diederik de Groot
ASTERISK-24880: [patch]Compilation under OpenBSD
Revision: 433247
Reporter: snuffy
Testers: snuffy
Coders: snuffy
Category: Core/Channels
ASTERISK-21038: Bad command completion of "core set debug channel"
Revision: 432945
Reporter: kenner
Coders: jcolp
ASTERISK-24828: Fix Frame Leaks
Revision: 432363
Reporter: kharwell
Coders: kharwell
Category: Core/CodecInterface
ASTERISK-16779: Cannot disallow unknown format ''
Revision: 432971
Reporter: atis
Coders: mjordan
ASTERISK-24796: Codecs and bucket schema's prevent module unload
Revision: 432059
Reporter: coreyfarrell
Coders: coreyfarrell
Category: Core/General
ASTERISK-24479: Enable REF_DEBUG for module references
Revision: 431663
Reporter: coreyfarrell
Coders: coreyfarrell
ASTERISK-24739: [patch] - Out of files -- call fails -- numerous files
with inodes from under /usr/share/zoneinfo, mostly posixrules
Revision: 432693
Reporter: Ed
Coders: Ed Hynan
ASTERISK-24740: [patch]Segmentation fault on aoc-e event
Revision: 431974
Reporter: roeften
Coders: rmudgett
ASTERISK-24752: Crash in bridge_manager_service_req when bridge is
destroyed by ARI during shutdown
Revision: 431692
Reporter: rmudgett
Coders: rmudgett
ASTERISK-24796: Codecs and bucket schema's prevent module unload
Revision: 432059
Reporter: coreyfarrell
Coders: coreyfarrell
ASTERISK-24814: asterisk/lock.h: Fix syntax errors for non-gcc OSX with 64
bit integers
Revision: 432055
Reporter: coreyfarrell
Coders: coreyfarrell
ASTERISK-24879: [patch]Compilation fails due to 64bit time under OpenBSD
Revision: 433269
Reporter: snuffy
Testers: snuffy
Coders: snuffy
Category: Core/HTTP
ASTERISK-24724: 'httpstatus' Web Page Produces Incomplete HTML
Revision: 432079
Reporter: asanders
Coders: jcolp
Category: Core/Logging
ASTERISK-24817: init_logger_chain: unreachable code block
Revision: 433126
Reporter: coreyfarrell
Coders: coreyfarrell
Category: Core/ManagerInterface
ASTERISK-22670: Asterisk crashes when processing ISDN AoC Events
Revision: 431974
Reporter: klaus3000
Coders: rmudgett
Category: Core/Sorcery
ASTERISK-24612: res_pjsip: No information if a required sorcery wizard is
not loaded
Revision: 431771
Reporter: jcolp
Coders: jcolp
Category: Documentation
ASTERISK-24085: Documentation - We should remove or further document the
'contact' section in pjsip.conf
Revision: 431860
Reporter: rnewton
Coders: jcolp
Category: Functions/func_curl
ASTERISK-18708: func_curl hangs channel under load
Revision: 432949
Reporter: dcabot
Coders: jcolp
Category: Resources/res_agi
ASTERISK-23390: NewExten Event with application AGI shows up before and
after AGI runs
Revision: 432696
Reporter: bford
Testers: Graham Barnett
Coders: Graham Barnett
Category: Resources/res_ari
ASTERISK-24812: ARI: Creating channels through /channels resource always
uses SLIN, which results in unneeded transcoding
Revision: 432195
Reporter: mjordan
Coders: mjordan
Category: Resources/res_ari_channels
ASTERISK-24677: ARI GET variable on channel provides unhelpful response on
non-existent variable
Revision: 432154
Reporter: jcolp
Coders: jcolp
ASTERISK-24703: ARI: Add the ability to "transfer" (redirect) a channel
Revision: 431717
Reporter: mjordan
Coders: mjordan
ASTERISK-24812: ARI: Creating channels through /channels resource always
uses SLIN, which results in unneeded transcoding
Revision: 432195
Reporter: mjordan
Coders: mjordan
Category: Resources/res_config_odbc
ASTERISK-24808: res_config_odbc: Improper escaping of backslashes occurs
with MySQL
Revision: 432721
Reporter: DarkS
Coders: Javier Acosta
Category: Resources/res_format_attr_h264
ASTERISK-24616: Crash in res_format_attr_h264 due to invalid string copy
Revision: 431521
Reporter: yurakocyuba
Coders: jcolp
Category: Resources/res_odbc
ASTERISK-24742: [patch] Fix ast_odbc_find_table function in res_odbc
Revision: 431618
Reporter: ibercom
Coders: ibercom
Category: Resources/res_pjsip
ASTERISK-24499: Need more explicit debug when PJSIP dialstring is invalid
Revision: 432118
Reporter: rnewton
Coders: jcolp
ASTERISK-24685: "pjsip show version" CLI command
Revision: 431824
Reporter: jcolp
Coders: jcolp
ASTERISK-24727: PJSIP: Crash experienced during multi-Asterisk transfer
scenario.
Revision: 431734
Reporter: mmichelson
Coders: rmudgett
ASTERISK-24741: dtls_handler causes Asterisk to crash
Revision: 431698
Reporter: zconkle
Coders: kharwell
ASTERISK-24748: res_pjsip: If wizards explicitly configured in
sorcery.conf false ERROR messages may occur
Revision: 431538
Reporter: jcolp
Coders: jcolp
ASTERISK-24755: Asterisk sends unexpected early BYE to transferrer during
attended transfer when using a Stasis bridge
Revision: 432668
Reporter: jbigelow
Coders: rmudgett
ASTERISK-24840: res_pjsip: conflicting endpoint identifiers
Revision: 432638
Reporter: kharwell
Coders: kharwell
ASTERISK-24872: [patch] AMI PJSIPShowEndpoint closes AMI connection on
error
Revision: 432894
Reporter: Demon
Coders: rmudgett
Category: Resources/res_pjsip_exten_state
ASTERISK-24716: Improve pjsip log messages for presence subscription
failure
Revision: 431754
Reporter: rnewton
Coders: jcolp
Category: Resources/res_pjsip_publish_asterisk
ASTERISK-24811: asterisk-publication sorcery object does not use realtime
Revision: 432033
Reporter: mhoskins
Coders: gtjoseph
Category: Resources/res_pjsip_refer
ASTERISK-24700: CRASH: NULL channel is being passed to
ast_bridge_transfer_attended()
Revision: 431898
Reporter: zconkle
Coders: rmudgett
Category: Resources/res_pjsip_registrar
ASTERISK-24785: 'Expires' header missing from 200 OK on REGISTER
Revision: 432136
Reporter: rossbeer
Coders: jcolp
Category: Resources/res_pjsip_sdp_rtp
ASTERISK-24769: res_pjsip_sdp_rtp: Local ICE candidates leaked
Revision: 431600
Reporter: mjordan
Coders: mjordan
Category: Resources/res_rtp_asterisk
ASTERISK-24791: Crash in ast_rtcp_write_report
Revision: 431879
Reporter: n8ideas
Testers: JoshE
Coders: mjordan
Category: Resources/res_stasis
ASTERISK-24701: Stasis: Write timeout on WebSocket fails to fully
disconnect underlying socket, leading to events being dropped with no
additional information
Revision: 431670
Reporter: mjordan
Coders: kharwell
ASTERISK-24701: Stasis: Write timeout on WebSocket fails to fully
disconnect underlying socket, leading to events being dropped with no
additional information
Revision: 431693
Reporter: mjordan
Coders: kharwell
ASTERISK-24755: Asterisk sends unexpected early BYE to transferrer during
attended transfer when using a Stasis bridge
Revision: 432668
Reporter: jbigelow
Coders: rmudgett
Category: Resources/res_timing_pthread
ASTERISK-24768: res_timing_pthread: file descriptor leak
Revision: 431807
Reporter: smurfix
Coders: jcolp
Category: pjproject/pjsip
ASTERISK-24807: Missing mandatory field Max-Forwards
Revision: 432766
Reporter: anatoli
Coders: rmudgett
----------------------------------------------------------------------
Commits Not Associated with an Issue
[Back to Top]
This is a list of all changes that went into this release that did not
directly close an issue from the issue tracker. The commits may have been
marked as being related to an issue. If that is the case, the issue
numbers are listed here, as well.
+------------------------------------------------------------------------+
| Revision | Author | Summary | Issues |
| | | | Referenced |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip_keepalive: Don't | |
| 431555 | file | crash if PJSIP module is not | |
| | | loaded. | |
|----------+--------------+---------------------------------+------------|
| 431583 | sgriepentrog | various: cleanup issues found | |
| | | during leak hunt | |
|----------+--------------+---------------------------------+------------|
| 431643 | gtjoseph | res_pjsip_config_wizard: Add | |
| | | ability to auto-create hints. | |
|----------+--------------+---------------------------------+------------|
| 431752 | file | 'information' ends with an 'n'. | |
|----------+--------------+---------------------------------+------------|
| | | apps/app_mixmonitor: Move Test | |
| 431789 | mjordan | Event for MIXMONITOR_END to | |
| | | after it finishes | |
|----------+--------------+---------------------------------+------------|
| 431841 | file | res_sorcery_config: Improve | |
| | | object lookup times. | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip_refer: Handle INVITE | |
| 431956 | rmudgett | with Replaces failure after | |
| | | answer. | |
|----------+--------------+---------------------------------+------------|
| 431993 | rmudgett | chan_dahdi: Remove some dead | |
| | | code. | |
|----------+--------------+---------------------------------+------------|
| 432034 | rmudgett | chan_dahdi/sig_analog: Put log | |
| | | message strings on one line. | |
|----------+--------------+---------------------------------+------------|
| 432237 | dlee | Increase WebSocket frame size | |
| | | and improve large read handling | |
|----------+--------------+---------------------------------+------------|
| 432281 | mjordan | configure: Promote SQLite3 "not | |
| | | installed" warning to error | |
|----------+--------------+---------------------------------+------------|
| | | configs/basic-pbx - Super | |
| 432301 | newtonr | Awesome Company example configs | |
| | | Phase 1, Patch 1 | |
|----------+--------------+---------------------------------+------------|
| 432385 | sgriepentrog | Dial API: add self destruct | |
| | | option when complete | |
|----------+--------------+---------------------------------+------------|
| 432423 | mjordan | res/res_pjsip_sdp_rtp: Revert | |
| | | portion of r432195 | |
|----------+--------------+---------------------------------+------------|
| | | translate: Prevent invalid | |
| 432453 | mjordan | memory accesses on fast | |
| | | shutdown | |
|----------+--------------+---------------------------------+------------|
| | | app_voicemail: Fix compile | |
| 432485 | gtjoseph | breaking in app_voicemail with | |
| | | IMAP_STORAGE. | |
|----------+--------------+---------------------------------+------------|
| | | app: Add functions to swap | |
| 432556 | jrose | voicemail function table for | |
| | | testing purposes | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip_refer: Made | |
| 432574 | rmudgett | refer_attended_alloc() not | |
| | | create the ao2 object with a | |
| | | lock. | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip_refer: Make safely | |
| 432594 | rmudgett | get the context for a blind | |
| | | transfer. | |
|----------+--------------+---------------------------------+------------|
| 432742 | file | core: Don't create snapshots | |
| | | with locks. | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip: Fixed invalid empty | |
| 432764 | rmudgett | Server and User-Agent SIP | |
| | | headers. | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip: Move internal | |
| 432787 | rmudgett | init/destroy prototypes to | |
| | | private header file. | |
|----------+--------------+---------------------------------+------------|
| 432811 | mjordan | main/audiohook: Update internal | |
| | | sample rate on reads | |
|----------+--------------+---------------------------------+------------|
| | | Revert - res_pjsip: Allow | |
| 432868 | kharwell | configuration of endpoint | |
| | | identifier query order | |
|----------+--------------+---------------------------------+------------|
| | | chan_pjsip/res_pjsip_callerid: | |
| 432892 | rmudgett | Make Party ID handling simpler | |
| | | and consistent. | |
|----------+--------------+---------------------------------+------------|
| | | FILE: fix retrieval of file | |
| 432938 | mjordan | contents when offset is | |
| | | specified | |
|----------+--------------+---------------------------------+------------|
| 433005 | rmudgett | res_pjsip: Add reason comment. | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip: Allow configuration | |
| 433028 | kharwell | of endpoint identifier query | |
| | | order | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip: Allow configuration | |
| 433031 | kharwell | of endpoint identifier query | |
| | | order | |
|----------+--------------+---------------------------------+------------|
| 433057 | rmudgett | Audit ast_sockaddr_resolve() | |
| | | usage for memory leaks. | |
|----------+--------------+---------------------------------+------------|
| 433060 | sgriepentrog | core: Introduce chaos into | |
| | | memory allocations | |
|----------+--------------+---------------------------------+------------|
| 433064 | sgriepentrog | Various: bugfixes found via | |
| | | chaos | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip_session: Fix | |
| 433088 | rmudgett | off-nominal extra unref of | |
| | | session. | |
|----------+--------------+---------------------------------+------------|
| 433174 | mjordan | funcs/func_env: Fix regression | |
| | | caused in FILE read operation | |
|----------+--------------+---------------------------------+------------|
| | | res_pjsip_sdp_rtp,sorcery: Fix | |
| 433199 | rmudgett | invalid access and memory leak | |
| | | respectively. | |
|----------+--------------+---------------------------------+------------|
| | | Audit | |
| 433222 | rmudgett | ast_pjsip_rdata_get_endpoint() | |
| | | usage for ref leaks. | |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
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.
CHANGES | 25
Makefile | 4
UPGRADE.txt | 9
apps/Makefile | 2
apps/app_amd.c | 3
apps/app_chanspy.c | 3
apps/app_confbridge.c | 6
apps/app_externalivr.c | 2
apps/app_mixmonitor.c | 7
apps/app_queue.c | 26
apps/app_voicemail.c | 46
bridges/bridge_builtin_features.c | 8
bridges/bridge_softmix.c | 37
build_tools/cflags.xml | 4
channels/Makefile | 2
channels/chan_dahdi.c | 124 +-
channels/chan_dahdi.h | 2
channels/chan_iax2.c | 4
channels/chan_pjsip.c | 128 +-
channels/chan_sip.c | 179 +--
channels/pjsip/dialplan_functions.c | 5
channels/sig_analog.c | 192 +--
channels/sig_analog.h | 1
channels/sip/include/dialog.h | 15
channels/sip/include/sip.h | 11
configs/basic-pbx/README | 15
configs/basic-pbx/asterisk.conf | 26
configs/basic-pbx/extensions.conf | 58 +
configs/basic-pbx/indications.conf | 19
configs/basic-pbx/logger.conf | 9
configs/basic-pbx/modules.conf | 102 ++
configs/basic-pbx/musiconhold.conf | 5
configs/basic-pbx/pjsip.conf | 287 +++++
configs/basic-pbx/voicemail.conf | 23
configs/samples/amd.conf.sample | 1
configs/samples/pjsip.conf.sample | 15
configs/samples/pjsip_wizard.conf.sample | 22
configure.ac | 49 -
contrib/ast-db-manage/config/versions/45e3f47c6c44_add_pjsip_endpoint_identifier_order.py | 21
contrib/scripts/install_prereq | 2
funcs/func_cdr.c | 6
funcs/func_curl.c | 2
funcs/func_env.c | 2
include/asterisk.h | 36
include/asterisk/app.h | 16
include/asterisk/channel.h | 19
include/asterisk/config.h | 5
include/asterisk/dial.h | 1
include/asterisk/inline_api.h | 12
include/asterisk/json.h | 18
include/asterisk/lock.h | 2
include/asterisk/module.h | 27
include/asterisk/res_pjsip.h | 119 --
include/asterisk/res_pjsip_session.h | 14
include/asterisk/sched.h | 11
include/asterisk/stasis_app.h | 11
include/asterisk/utils.h | 67 +
main/Makefile | 1
main/aoc.c | 88 +
main/app.c | 51 +
main/asterisk.c | 255 +++--
main/audiohook.c | 15
main/bridge.c | 14
main/bucket.c | 2
main/cdr.c | 8
main/channel.c | 40
main/cli.c | 4
main/codec.c | 4
main/codec_builtin.c | 2
main/config.c | 17
main/dial.c | 8
main/endpoints.c | 8
main/format_cap.c | 4
main/http.c | 9
main/json.c | 29
main/loader.c | 79 +
main/logger.c | 31
main/manager.c | 7
main/netsock2.c | 4
main/rtp_engine.c | 2
main/sched.c | 20
main/sdp_srtp.c | 109 +-
main/sorcery.c | 11
main/stasis_bridges.c | 3
main/stasis_channels.c | 6
main/stdtime/localtime.c | 279 ++++-
main/tcptls.c | 5
main/translate.c | 4
main/utils.c | 4
main/xmldoc.c | 9
makeopts.in | 2
res/ari/ari_websockets.c | 14
res/ari/resource_channels.c | 136 ++
res/ari/resource_channels.h | 26
res/ari/resource_endpoints.c | 61 -
res/res_ari_channels.c | 115 ++
res/res_ari_endpoints.c | 1
res/res_config_odbc.c | 8
res/res_format_attr_h264.c | 4
res/res_http_websocket.c | 43
res/res_odbc.c | 11
res/res_pjsip.c | 150 ++-
res/res_pjsip/config_domain_aliases.c | 1
res/res_pjsip/config_global.c | 152 ++-
res/res_pjsip/include/res_pjsip_private.h | 164 +++
res/res_pjsip/pjsip_cli.c | 25
res/res_pjsip/pjsip_configuration.c | 14
res/res_pjsip/pjsip_global_headers.c | 14
res/res_pjsip/pjsip_options.c | 23
res/res_pjsip_acl.c | 3
res/res_pjsip_caller_id.c | 53 -
res/res_pjsip_config_wizard.c | 224 ++++
res/res_pjsip_endpoint_identifier_anonymous.c | 2
res/res_pjsip_endpoint_identifier_ip.c | 2
res/res_pjsip_endpoint_identifier_user.c | 2
res/res_pjsip_exten_state.c | 3
res/res_pjsip_keepalive.c | 2
res/res_pjsip_messaging.c | 24
res/res_pjsip_multihomed.c | 5
res/res_pjsip_nat.c | 12
res/res_pjsip_publish_asterisk.c | 1
res/res_pjsip_pubsub.c | 2
res/res_pjsip_refer.c | 263 +++--
res/res_pjsip_registrar.c | 8
res/res_pjsip_sdp_rtp.c | 22
res/res_pjsip_send_to_voicemail.c | 10
res/res_pjsip_session.c | 488 +++++++---
res/res_pjsip_session.exports.in | 1
res/res_pjsip_t38.c | 4
res/res_pjsip_transport_websocket.c | 2
res/res_rtp_asterisk.c | 20
res/res_sorcery_config.c | 46
res/res_timing_pthread.c | 3
res/stasis/control.c | 32
rest-api/api-docs/channels.json | 53 +
rest-api/api-docs/endpoints.json | 4
tests/test_func_file.c | 6
137 files changed, 4102 insertions(+), 1158 deletions(-)
----------------------------------------------------------------------

View File

@@ -0,0 +1,32 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- Running upgrade None -> 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,717 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- Running upgrade None -> 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';
-- 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, context, exten, priority),
UNIQUE (id)
);
UPDATE alembic_version SET version_num='581a4264e537';
-- 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';
-- Running upgrade 2fc7930b41b3 -> 21e526ad3040
ALTER TABLE ps_globals ADD COLUMN debug VARCHAR(40);
UPDATE alembic_version SET version_num='21e526ad3040';
-- 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';
-- Running upgrade 28887f25a46f -> 4c573e7135bd
ALTER TABLE ps_endpoints CHANGE tos_audio tos_audio VARCHAR(10) NULL;
ALTER TABLE ps_endpoints CHANGE tos_video tos_video VARCHAR(10) NULL;
ALTER TABLE ps_transports CHANGE tos tos VARCHAR(10) NULL;
ALTER TABLE ps_endpoints DROP COLUMN cos_audio;
ALTER TABLE ps_endpoints DROP COLUMN cos_video;
ALTER TABLE ps_transports DROP COLUMN cos;
ALTER TABLE ps_endpoints ADD COLUMN cos_audio INTEGER;
ALTER TABLE ps_endpoints ADD COLUMN cos_video INTEGER;
ALTER TABLE ps_transports ADD COLUMN cos INTEGER;
UPDATE alembic_version SET version_num='4c573e7135bd';
-- 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';
-- Running upgrade 3855ee4e5f85 -> e96a0b8071c
ALTER TABLE ps_globals CHANGE user_agent user_agent VARCHAR(255) NULL;
ALTER TABLE ps_contacts CHANGE id id VARCHAR(255) NULL;
ALTER TABLE ps_contacts CHANGE uri uri VARCHAR(255) NULL;
ALTER TABLE ps_contacts CHANGE user_agent user_agent VARCHAR(255) NULL;
ALTER TABLE ps_registrations CHANGE client_uri client_uri VARCHAR(255) NULL;
ALTER TABLE ps_registrations CHANGE server_uri server_uri VARCHAR(255) NULL;
UPDATE alembic_version SET version_num='e96a0b8071c';
-- 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';
-- 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';
-- Running upgrade 51f8cb66540e -> 1d50859ed02e
ALTER TABLE ps_endpoints ADD COLUMN accountcode VARCHAR(20);
UPDATE alembic_version SET version_num='1d50859ed02e';
-- Running upgrade 1d50859ed02e -> 1758e8bbf6b
ALTER TABLE sippeers CHANGE useragent useragent VARCHAR(255) NULL;
UPDATE alembic_version SET version_num='1758e8bbf6b';
-- 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 CHANGE uniqueid uniqueid INTEGER NOT NULL AUTO_INCREMENT;
UPDATE alembic_version SET version_num='5139253c0423';
-- 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';
-- Running upgrade d39508cb8d8 -> 5950038a6ead
ALTER TABLE ps_transports CHANGE verifiy_server verify_server ENUM('yes','no') NULL;
UPDATE alembic_version SET version_num='5950038a6ead';
-- Running upgrade 5950038a6ead -> 10aedae86a32
ALTER TABLE sippeers CHANGE directmedia directmedia ENUM('yes','no','nonat','update','outgoing') NULL;
UPDATE alembic_version SET version_num='10aedae86a32';
-- Running upgrade 10aedae86a32 -> eb88a14f2a
ALTER TABLE ps_endpoints ADD COLUMN media_encryption_optimistic ENUM('yes','no');
UPDATE alembic_version SET version_num='eb88a14f2a';
-- Running upgrade eb88a14f2a -> 371a3bf4143e
ALTER TABLE ps_endpoints ADD COLUMN user_eq_phone ENUM('yes','no');
UPDATE alembic_version SET version_num='371a3bf4143e';
-- Running upgrade 371a3bf4143e -> 45e3f47c6c44
ALTER TABLE ps_globals ADD COLUMN endpoint_identifier_order VARCHAR(40);
UPDATE alembic_version SET version_num='45e3f47c6c44';

View File

@@ -0,0 +1,34 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- Running upgrade None -> 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 CHANGE recording recording BLOB(4294967295) NULL;
UPDATE alembic_version SET version_num='39428242f7f5';

View File

@@ -0,0 +1,46 @@
SET TRANSACTION READ WRITE
/
CREATE TABLE alembic_version (
version_num VARCHAR2(32 CHAR) NOT NULL
)
/
-- Running upgrade None -> 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')
/
COMMIT
/

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,52 @@
SET TRANSACTION READ WRITE
/
CREATE TABLE alembic_version (
version_num VARCHAR2(32 CHAR) NOT NULL
)
/
-- Running upgrade None -> 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)
/
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages MODIFY recording BLOB
/
INSERT INTO alembic_version (version_num) VALUES ('39428242f7f5')
/
COMMIT
/

View File

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

View File

@@ -0,0 +1,747 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- Running upgrade None -> 4da0c5f79a9c
CREATE TYPE type_values AS ENUM ('friend','user','peer');
CREATE TYPE sip_transport_values AS ENUM ('udp','tcp','tls','ws','wss','udp,tcp','tcp,udp');
CREATE TYPE sip_dtmfmode_values AS ENUM ('rfc2833','info','shortinfo','inband','auto');
CREATE TYPE sip_directmedia_values AS ENUM ('yes','no','nonat','update');
CREATE TYPE yes_no_values AS ENUM ('yes','no');
CREATE TYPE sip_progressinband_values AS ENUM ('yes','no','never');
CREATE TYPE sip_session_timers_values AS ENUM ('accept','refuse','originate');
CREATE TYPE sip_session_refresher_values AS ENUM ('uac','uas');
CREATE TYPE sip_callingpres_values AS ENUM ('allowed_not_screened','allowed_passed_screen','allowed_failed_screen','allowed','prohib_not_screened','prohib_passed_screen','prohib_failed_screen','prohib');
CREATE TABLE sippeers (
id SERIAL NOT NULL,
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 type_values,
context VARCHAR(40),
permit VARCHAR(95),
deny VARCHAR(95),
secret VARCHAR(40),
md5secret VARCHAR(40),
remotesecret VARCHAR(40),
transport sip_transport_values,
dtmfmode sip_dtmfmode_values,
directmedia sip_directmedia_values,
nat VARCHAR(29),
callgroup VARCHAR(40),
pickupgroup VARCHAR(40),
language VARCHAR(40),
disallow VARCHAR(200),
allow VARCHAR(200),
insecure VARCHAR(40),
trustrpid yes_no_values,
progressinband sip_progressinband_values,
promiscredir yes_no_values,
useclientcode yes_no_values,
accountcode VARCHAR(40),
setvar VARCHAR(200),
callerid VARCHAR(40),
amaflags VARCHAR(40),
callcounter yes_no_values,
busylevel INTEGER,
allowoverlap yes_no_values,
allowsubscribe yes_no_values,
videosupport yes_no_values,
maxcallbitrate INTEGER,
rfc2833compensate yes_no_values,
mailbox VARCHAR(40),
"session-timers" sip_session_timers_values,
"session-expires" INTEGER,
"session-minse" INTEGER,
"session-refresher" sip_session_refresher_values,
t38pt_usertpsource VARCHAR(40),
regexten VARCHAR(40),
fromdomain VARCHAR(40),
fromuser VARCHAR(40),
qualify VARCHAR(40),
defaultip VARCHAR(45),
rtptimeout INTEGER,
rtpholdtimeout INTEGER,
sendrpid yes_no_values,
outboundproxy VARCHAR(40),
callbackextension VARCHAR(40),
timert1 INTEGER,
timerb INTEGER,
qualifyfreq INTEGER,
constantssrc yes_no_values,
contactpermit VARCHAR(95),
contactdeny VARCHAR(95),
usereqphone yes_no_values,
textsupport yes_no_values,
faxdetect yes_no_values,
buggymwi yes_no_values,
auth VARCHAR(40),
fullname VARCHAR(40),
trunkname VARCHAR(40),
cid_number VARCHAR(40),
callingpres sip_callingpres_values,
mohinterpret VARCHAR(40),
mohsuggest VARCHAR(40),
parkinglot VARCHAR(40),
hasvoicemail yes_no_values,
subscribemwi yes_no_values,
vmexten VARCHAR(40),
autoframing yes_no_values,
rtpkeepalive INTEGER,
"call-limit" INTEGER,
g726nonstandard yes_no_values,
ignoresdpversion yes_no_values,
allowtransfer yes_no_values,
dynamic yes_no_values,
path VARCHAR(256),
supportpath yes_no_values,
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 TYPE iax_requirecalltoken_values AS ENUM ('yes','no','auto');
CREATE TYPE iax_encryption_values AS ENUM ('yes','no','aes128');
CREATE TYPE iax_transfer_values AS ENUM ('yes','no','mediaonly');
CREATE TABLE iaxfriends (
id SERIAL NOT NULL,
name VARCHAR(40) NOT NULL,
type type_values,
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 yes_no_values,
fullname VARCHAR(40),
trunk yes_no_values,
auth VARCHAR(20),
maxauthreq INTEGER,
requirecalltoken iax_requirecalltoken_values,
encryption iax_encryption_values,
transfer iax_transfer_values,
jitterbuffer yes_no_values,
forcejitterbuffer yes_no_values,
disallow VARCHAR(200),
allow VARCHAR(200),
codecpriority VARCHAR(40),
qualify VARCHAR(10),
qualifysmoothing yes_no_values,
qualifyfreqok VARCHAR(10),
qualifyfreqnotok VARCHAR(10),
timezone VARCHAR(20),
adsi yes_no_values,
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 SERIAL NOT NULL,
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 yes_no_values,
attachfmt VARCHAR(10),
serveremail VARCHAR(80),
language VARCHAR(20),
tz VARCHAR(30),
deletevoicemail yes_no_values,
saycid yes_no_values,
sendvoicemail yes_no_values,
review yes_no_values,
tempgreetwarn yes_no_values,
operator yes_no_values,
envelope yes_no_values,
sayduration INTEGER,
forcename yes_no_values,
forcegreetings yes_no_values,
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 TIMESTAMP WITHOUT TIME ZONE,
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 SERIAL NOT NULL,
confno VARCHAR(80) NOT NULL,
starttime TIMESTAMP WITHOUT TIME ZONE,
endtime TIMESTAMP WITHOUT TIME ZONE,
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 TYPE moh_mode_values AS ENUM ('custom','files','mp3nb','quietmp3nb','quietmp3');
CREATE TABLE musiconhold (
name VARCHAR(80) NOT NULL,
mode moh_mode_values,
directory VARCHAR(255),
application VARCHAR(255),
digit VARCHAR(1),
sort VARCHAR(10),
format VARCHAR(10),
stamp TIMESTAMP WITHOUT TIME ZONE,
PRIMARY KEY (name)
);
-- Running upgrade 4da0c5f79a9c -> 43956d550a44
CREATE TYPE yesno_values AS ENUM ('yes','no');
CREATE TYPE pjsip_connected_line_method_values AS ENUM ('invite','reinvite','update');
CREATE TYPE pjsip_direct_media_glare_mitigation_values AS ENUM ('none','outgoing','incoming');
CREATE TYPE pjsip_dtmf_mode_values AS ENUM ('rfc4733','inband','info');
CREATE TYPE pjsip_identify_by_values AS ENUM ('username');
CREATE TYPE pjsip_timer_values AS ENUM ('forced','no','required','yes');
CREATE TYPE pjsip_cid_privacy_values AS ENUM ('allowed_not_screened','allowed_passed_screened','allowed_failed_screened','allowed','prohib_not_screened','prohib_passed_screened','prohib_failed_screened','prohib','unavailable');
CREATE TYPE pjsip_100rel_values AS ENUM ('no','required','yes');
CREATE TYPE pjsip_media_encryption_values AS ENUM ('no','sdes','dtls');
CREATE TYPE pjsip_t38udptl_ec_values AS ENUM ('none','fec','redundancy');
CREATE TYPE pjsip_dtls_setup_values AS ENUM ('active','passive','actpass');
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 yesno_values,
connected_line_method pjsip_connected_line_method_values,
direct_media_method pjsip_connected_line_method_values,
direct_media_glare_mitigation pjsip_direct_media_glare_mitigation_values,
disable_direct_media_on_nat yesno_values,
dtmf_mode pjsip_dtmf_mode_values,
external_media_address VARCHAR(40),
force_rport yesno_values,
ice_support yesno_values,
identify_by pjsip_identify_by_values,
mailboxes VARCHAR(40),
moh_suggest VARCHAR(40),
outbound_auth VARCHAR(40),
outbound_proxy VARCHAR(40),
rewrite_contact yesno_values,
rtp_ipv6 yesno_values,
rtp_symmetric yesno_values,
send_diversion yesno_values,
send_pai yesno_values,
send_rpid yesno_values,
timers_min_se INTEGER,
timers pjsip_timer_values,
timers_sess_expires INTEGER,
callerid VARCHAR(40),
callerid_privacy pjsip_cid_privacy_values,
callerid_tag VARCHAR(40),
"100rel" pjsip_100rel_values,
aggregate_mwi yesno_values,
trust_id_inbound yesno_values,
trust_id_outbound yesno_values,
use_ptime yesno_values,
use_avpf yesno_values,
media_encryption pjsip_media_encryption_values,
inband_progress yesno_values,
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 yesno_values,
t38_udptl yesno_values,
t38_udptl_ec pjsip_t38udptl_ec_values,
t38_udptl_maxdatagram INTEGER,
t38_udptl_nat yesno_values,
t38_udptl_ipv6 yesno_values,
tone_zone VARCHAR(40),
language VARCHAR(40),
one_touch_recording yesno_values,
record_on_feature VARCHAR(40),
record_off_feature VARCHAR(40),
rtp_engine VARCHAR(40),
allow_transfer yesno_values,
allow_subscribe yesno_values,
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 pjsip_dtls_setup_values,
srtp_tag_32 yesno_values,
UNIQUE (id)
);
CREATE INDEX ps_endpoints_id ON ps_endpoints (id);
CREATE TYPE pjsip_auth_type_values AS ENUM ('md5','userpass');
CREATE TABLE ps_auths (
id VARCHAR(40) NOT NULL,
auth_type pjsip_auth_type_values,
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 yesno_values,
qualify_frequency INTEGER,
authenticate_qualify yesno_values,
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);
-- Running upgrade 43956d550a44 -> 581a4264e537
CREATE TABLE extensions (
id BIGSERIAL NOT NULL,
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, context, exten, priority),
UNIQUE (id)
);
-- Running upgrade 581a4264e537 -> 2fc7930b41b3
CREATE TYPE pjsip_redirect_method_values AS ENUM ('user','uri_core','uri_pjsip');
CREATE TABLE ps_systems (
id VARCHAR(40) NOT NULL,
timer_t1 INTEGER,
timer_b INTEGER,
compact_headers yesno_values,
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 TYPE pjsip_transport_method_values AS ENUM ('default','unspecified','tlsv1','sslv2','sslv3','sslv23');
CREATE TYPE pjsip_transport_protocol_values AS ENUM ('udp','tcp','tls','ws','wss');
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 pjsip_transport_method_values,
local_net VARCHAR(40),
password VARCHAR(40),
priv_key_file VARCHAR(200),
protocol pjsip_transport_protocol_values,
require_client_cert yesno_values,
verify_client yesno_values,
verifiy_server yesno_values,
tos yesno_values,
cos yesno_values,
UNIQUE (id)
);
CREATE INDEX ps_transports_id ON ps_transports (id);
CREATE TABLE ps_registrations (
id VARCHAR(40) NOT NULL,
auth_rejection_permanent yesno_values,
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 yesno_values,
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 pjsip_redirect_method_values;
ALTER TABLE ps_endpoints ADD COLUMN set_var TEXT;
ALTER TABLE ps_endpoints RENAME mwi_fromuser TO mwi_from_user;
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 yesno_values;
-- Running upgrade 2fc7930b41b3 -> 21e526ad3040
ALTER TABLE ps_globals ADD COLUMN debug VARCHAR(40);
-- Running upgrade 21e526ad3040 -> 28887f25a46f
CREATE TYPE queue_autopause_values AS ENUM ('yes','no','all');
CREATE TYPE queue_strategy_values AS ENUM ('ringall','leastrecent','fewestcalls','random','rrmemory','linear','wrandom','rrordered');
CREATE TABLE queues (
name VARCHAR(128) NOT NULL,
musiconhold VARCHAR(128),
announce VARCHAR(128),
context VARCHAR(128),
timeout INTEGER,
ringinuse yesno_values,
setinterfacevar yesno_values,
setqueuevar yesno_values,
setqueueentryvar yesno_values,
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 yesno_values,
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 yesno_values,
random_periodic_announce yesno_values,
retry INTEGER,
wrapuptime INTEGER,
penaltymemberslimit INTEGER,
autofill yesno_values,
monitor_type VARCHAR(128),
autopause queue_autopause_values,
autopausedelay INTEGER,
autopausebusy yesno_values,
autopauseunavail yesno_values,
maxlen INTEGER,
servicelevel INTEGER,
strategy queue_strategy_values,
joinempty VARCHAR(128),
leavewhenempty VARCHAR(128),
reportholdtime yesno_values,
memberdelay INTEGER,
weight INTEGER,
timeoutrestart yesno_values,
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)
);
-- Running upgrade 28887f25a46f -> 4c573e7135bd
ALTER TABLE ps_endpoints ALTER COLUMN tos_audio TYPE VARCHAR(10);
ALTER TABLE ps_endpoints ALTER COLUMN tos_video TYPE VARCHAR(10);
ALTER TABLE ps_transports ALTER COLUMN tos TYPE VARCHAR(10);
ALTER TABLE ps_endpoints DROP COLUMN cos_audio;
ALTER TABLE ps_endpoints DROP COLUMN cos_video;
ALTER TABLE ps_transports DROP COLUMN cos;
ALTER TABLE ps_endpoints ADD COLUMN cos_audio INTEGER;
ALTER TABLE ps_endpoints ADD COLUMN cos_video INTEGER;
ALTER TABLE ps_transports ADD COLUMN cos INTEGER;
-- Running upgrade 4c573e7135bd -> 3855ee4e5f85
ALTER TABLE ps_endpoints ADD COLUMN message_context VARCHAR(40);
ALTER TABLE ps_contacts ADD COLUMN user_agent VARCHAR(40);
-- Running upgrade 3855ee4e5f85 -> e96a0b8071c
ALTER TABLE ps_globals ALTER COLUMN user_agent TYPE VARCHAR(255);
ALTER TABLE ps_contacts ALTER COLUMN id TYPE VARCHAR(255);
ALTER TABLE ps_contacts ALTER COLUMN uri TYPE VARCHAR(255);
ALTER TABLE ps_contacts ALTER COLUMN user_agent TYPE VARCHAR(255);
ALTER TABLE ps_registrations ALTER COLUMN client_uri TYPE VARCHAR(255);
ALTER TABLE ps_registrations ALTER COLUMN server_uri TYPE VARCHAR(255);
-- 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);
-- Running upgrade c6d929b23a8 -> 51f8cb66540e
ALTER TABLE ps_endpoints ADD COLUMN force_avp yesno_values;
ALTER TABLE ps_endpoints ADD COLUMN media_use_received_transport yesno_values;
-- Running upgrade 51f8cb66540e -> 1d50859ed02e
ALTER TABLE ps_endpoints ADD COLUMN accountcode VARCHAR(20);
-- Running upgrade 1d50859ed02e -> 1758e8bbf6b
ALTER TABLE sippeers ALTER COLUMN useragent TYPE VARCHAR(255);
-- 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);
-- 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
);
-- Running upgrade d39508cb8d8 -> 5950038a6ead
ALTER TABLE ps_transports ALTER COLUMN verifiy_server TYPE yesno_values;
ALTER TABLE ps_transports RENAME verifiy_server TO verify_server;
-- Running upgrade 5950038a6ead -> 10aedae86a32
CREATE TYPE sip_directmedia_values_v2 AS ENUM ('yes','no','nonat','update','outgoing');
ALTER TABLE sippeers ALTER COLUMN directmedia TYPE sip_directmedia_values_v2 USING directmedia::text::sip_directmedia_values_v2;
DROP TYPE sip_directmedia_values;
-- Running upgrade 10aedae86a32 -> eb88a14f2a
ALTER TABLE ps_endpoints ADD COLUMN media_encryption_optimistic yesno_values;
-- Running upgrade eb88a14f2a -> 371a3bf4143e
ALTER TABLE ps_endpoints ADD COLUMN user_eq_phone yesno_values;
-- Running upgrade 371a3bf4143e -> 45e3f47c6c44
ALTER TABLE ps_globals ADD COLUMN endpoint_identifier_order VARCHAR(40);
INSERT INTO alembic_version (version_num) VALUES ('45e3f47c6c44');
COMMIT;

View File

@@ -0,0 +1,36 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
-- Running upgrade None -> 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);
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages ALTER COLUMN recording TYPE BYTEA;
INSERT INTO alembic_version (version_num) VALUES ('39428242f7f5');
COMMIT;

View File

@@ -0,0 +1,42 @@
BEGIN TRANSACTION;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
GO
-- Running upgrade None -> 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;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,48 @@
BEGIN TRANSACTION;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL
);
GO
-- Running upgrade None -> 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
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages ALTER COLUMN recording IMAGE;
GO
INSERT INTO alembic_version (version_num) VALUES ('39428242f7f5');
GO
COMMIT;