mirror of
https://github.com/asterisk/asterisk.git
synced 2025-08-20 12:46:54 +00:00
Compare commits
34 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a6ac89c740 | ||
|
ca795030aa | ||
|
7d843d0bb5 | ||
|
e29b6f0326 | ||
|
7b5be70a53 | ||
|
e22edb0481 | ||
|
9cb51fb550 | ||
|
5c3bffce09 | ||
|
7b9cb3c450 | ||
|
ebd944a54d | ||
|
fa7feca7dd | ||
|
dcb70dfaea | ||
|
35fd61b9dc | ||
|
3d2ed81c1b | ||
|
313683b96d | ||
|
2a99049ea4 | ||
|
620046255f | ||
|
09647449e4 | ||
|
e64170e493 | ||
|
91e415b970 | ||
|
9c8a7bf1e9 | ||
|
c29eb6cad1 | ||
|
53ab4718ac | ||
|
98b7b9e101 | ||
|
9de68f3d44 | ||
|
6da8511a6a | ||
|
884db40142 | ||
|
ba7582ba75 | ||
|
e6c2a29ad2 | ||
|
9f083db88b | ||
|
3bfaf6b172 | ||
|
ca145e1807 | ||
|
918ebf79ff | ||
|
d7afc1cf9d |
1
.lastclean
Normal file
1
.lastclean
Normal file
@@ -0,0 +1 @@
|
||||
40
|
@@ -4077,6 +4077,17 @@ static void hangupcalls(struct queue_ent *qe, struct callattempt *outgoing, stru
|
||||
ast_channel_hangupcause_set(outgoing->chan, AST_CAUSE_ANSWERED_ELSEWHERE);
|
||||
}
|
||||
ast_channel_publish_dial(qe->chan, outgoing->chan, outgoing->interface, "CANCEL");
|
||||
|
||||
/* When dialing channels it is possible that they may not ever
|
||||
* leave the not in use state (Local channels in particular) by
|
||||
* the time we cancel them. If this occurs but we know they were
|
||||
* dialed we explicitly remove them from the pending members
|
||||
* container so that subsequent call attempts occur.
|
||||
*/
|
||||
if (outgoing->member->status == AST_DEVICE_NOT_INUSE) {
|
||||
pending_members_remove(outgoing->member);
|
||||
}
|
||||
|
||||
ast_hangup(outgoing->chan);
|
||||
}
|
||||
oo = outgoing;
|
||||
|
276
asterisk-13.11.0-summary.html
Normal file
276
asterisk-13.11.0-summary.html
Normal file
@@ -0,0 +1,276 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><title>Release Summary - asterisk-13.11.0</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-13.11.0</h3><h3 align="center">Date: 2016-09-01</h3><h3 align="center"><asteriskteam@digium.com></h3><hr><h2 align="center">Table of Contents</h2><ol>
|
||||
<li><a href="#summary">Summary</a></li>
|
||||
<li><a href="#contributors">Contributors</a></li>
|
||||
<li><a href="#closed_issues">Closed Issues</a></li>
|
||||
<li><a href="#commits">Other Changes</a></li>
|
||||
<li><a href="#diffstat">Diffstat</a></li>
|
||||
</ol><hr><a name="summary"><h2 align="center">Summary</h2></a><center><a href="#top">[Back to Top]</a></center><p>This release is a point release of an existing major version. The changes included were made to address problems that have been identified in this release series, or are minor, backwards compatible new features or improvements. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous version are strongly encouraged to review the UPGRADE.txt document as well as the CHANGES document for information about upgrading to this release series.</p><p>The data in this summary reflects changes that have been made since the previous release, asterisk-13.10.0.</p><hr><a name="contributors"><h2 align="center">Contributors</h2></a><center><a href="#top">[Back to Top]</a></center><p>This table lists the people who have submitted code, those that have tested patches, as well as those that reported issues on the issue tracker that were resolved in this release. For coders, the number is how many of their patches (of any size) were committed into this release. For testers, the number is the number of times their name was listed as assisting with testing a patch. Finally, for reporters, the number is the number of issues that they reported that were affected by commits that went into this release.</p><table width="100%" border="0">
|
||||
<tr><th width="33%">Coders</th><th width="33%">Testers</th><th width="33%">Reporters</th></tr>
|
||||
<tr valign="top"><td width="33%">23 Kevin Harwell <kharwell@digium.com><br/>20 Richard Mudgett <rmudgett@digium.com><br/>9 Mark Michelson <mmichelson@digium.com><br/>9 Alexander Traud <pabstraud@compuserve.com><br/>8 Corey Farrell <git@cfware.com><br/>6 Matt Jordan <mjordan@digium.com><br/>6 gtjoseph <gjoseph@digium.com><br/>5 Alexei Gradinari <alex2grad@gmail.com><br/>4 Joshua Colp <jcolp@digium.com><br/>1 Richard Miller (license 5685)<br/>1 Alexander Traud <pabstraud@compuserve.com><br/>1 Eugene Voityuk <eugene@thirdlane.com><br/>1 Scott Griepentrog <scott@griepentrog.com><br/></td><td width="33%">1 Eugene Voityuk <eugene@thirdlane.com><br/>1 Alexander Traud <pabstraud@compuserve.com><br/></td><td width="33%">8 Richard Mudgett<br/>8 Richard Mudgett <rmudgett@digium.com><br/>7 Corey Farrell <git@cfware.com><br/>6 Alexei Gradinari <alex2grad@gmail.com><br/>5 Alexander Traud <pabstraud@compuserve.com><br/>3 Ross Beer <ross.beer@voicehost.co.uk><br/>3 Dmitriy Serov <serov.d.p@gmail.com><br/>2 Scott Griepentrog <sgriepentrog@digium.com><br/>2 Matt Jordan <mjordan@digium.com><br/>2 Alexei Gradinari <alex2grad@gmail.com><br/>1 Dmitriy Serov<br/>1 Ben Smithurst <ben.smithurst@gradwell.com><br/>1 Richard Miller <rich@ndpcci.com><br/>1 Daniel Denson <dandenson@gmail.com><br/>1 Edwin Vandamme <edwin.vandamme@telenet.be><br/>1 Scott Griepentrog<br/>1 nappsoft <infos@nappsoft.com><br/>1 JoshE <josh@fluentstream.com><br/>1 Joshua Colp <jcolp@digium.com><br/>1 Leandro Dardini <ldardini@gmail.com><br/>1 Ross Beer<br/>1 Etienne Lessard <elessard@proformatique.com><br/>1 Tzafrir Cohen <tzafrir.cohen@xorcom.com><br/>1 Jeffrey Walton <noloader@gmail.com><br/>1 George Joseph <gjoseph@digium.com><br/>1 Hans van Eijsden <info@hansvaneijsden.nl><br/>1 StefanEng86, urbaniak, pay123<br/>1 Mark Michelson<br/>1 Aaron Hamstra <ahamstra@carnegietechnologies.com><br/>1 Mark Michelson <mmichelson@digium.com><br/></td></tr>
|
||||
</table><hr><a name="closed_issues"><h2 align="center">Closed Issues</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p><h3>New Feature</h3><h4>Category: Core/ManagerInterface/NewFeature</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25904">ASTERISK-25904</a>: PJSIP: add contact.updated event<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=97b4c7a5b42eb84eaeaf9ec3f524de40e1d7fd74">[97b4c7a5b4]</a> Richard Mudgett -- res_pjsip: Fix statsd regression.</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25904">ASTERISK-25904</a>: PJSIP: add contact.updated event<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=97b4c7a5b42eb84eaeaf9ec3f524de40e1d7fd74">[97b4c7a5b4]</a> Richard Mudgett -- res_pjsip: Fix statsd regression.</li>
|
||||
</ul><br><h3>Bug</h3><h4>Category: Applications/app_queue</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26299">ASTERISK-26299</a>: app_queue: Queue application sometimes stops calling members with Local interface<br/>Reported by: Etienne Lessard<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=884db401425f8c568180e24ee0cb43ec2ac95891">[884db40142]</a> Joshua Colp -- app_queue: Ensure member is removed from pending when hanging up.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26133">ASTERISK-26133</a>: app_queue: Queue members receive multiple calls<br/>Reported by: Richard Miller<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=43b5f8d57ba8a052e2227fa855e16e4d0b077e30">[43b5f8d57b]</a> Richard Miller -- app_queue: Only remove queue member from pending when state changes.</li>
|
||||
</ul><br><h4>Category: Applications/app_voicemail</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26211">ASTERISK-26211</a>: Unit tests: AST_TEST_DEFINE should be used in conditional code.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5">[c8e41d14a1]</a> Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in conditional code only.</li>
|
||||
</ul><br><h4>Category: Channels/chan_dahdi</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26216">ASTERISK-26216</a>: res_fax: Deadlock when detect fax while channel executing Playback<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dcb8aa8c1c1207a6ee0c8f9f158154254ab63ec8">[dcb8aa8c1c]</a> Richard Mudgett -- chan_dahdi.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fa91cf3eeca1ee3b2bdb5e3d685de7100702ff21">[fa91cf3eec]</a> Richard Mudgett -- chan_sip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2e1bdc3775d7b22a3364b7a3aaa07c463043ac9b">[2e1bdc3775]</a> Richard Mudgett -- chan_pjsip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=628e8c91d5c6a3e745bdb37e6593fd838b006393">[628e8c91d5]</a> Richard Mudgett -- res_fax.c: Fix deadlock potential in FAXOPT(faxdetect) framehook.</li>
|
||||
</ul><br><h4>Category: Channels/chan_dahdi/NewFeature</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26214">ASTERISK-26214</a>: Allow arbitrary time for fax detection to end on a channel<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=676aeede3643dbe9b79fd7117ce7e335f236d151">[676aeede36]</a> Richard Mudgett -- res_fax: Fix FAXOPT(faxdetect) timeout option.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=652130feb2c200a0f3fec500877255ebabbae28a">[652130feb2]</a> Richard Mudgett -- chan_dahdi: Add faxdetect_timeout option.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=851b1c3a177e06660aeeb92b29a0d3e267ddb61b">[851b1c3a17]</a> Richard Mudgett -- res_pjsip: Add fax_detect_timeout endpoint option.</li>
|
||||
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26216">ASTERISK-26216</a>: res_fax: Deadlock when detect fax while channel executing Playback<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dcb8aa8c1c1207a6ee0c8f9f158154254ab63ec8">[dcb8aa8c1c]</a> Richard Mudgett -- chan_dahdi.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fa91cf3eeca1ee3b2bdb5e3d685de7100702ff21">[fa91cf3eec]</a> Richard Mudgett -- chan_sip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2e1bdc3775d7b22a3364b7a3aaa07c463043ac9b">[2e1bdc3775]</a> Richard Mudgett -- chan_pjsip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=628e8c91d5c6a3e745bdb37e6593fd838b006393">[628e8c91d5]</a> Richard Mudgett -- res_fax.c: Fix deadlock potential in FAXOPT(faxdetect) framehook.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26214">ASTERISK-26214</a>: Allow arbitrary time for fax detection to end on a channel<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=676aeede3643dbe9b79fd7117ce7e335f236d151">[676aeede36]</a> Richard Mudgett -- res_fax: Fix FAXOPT(faxdetect) timeout option.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=652130feb2c200a0f3fec500877255ebabbae28a">[652130feb2]</a> Richard Mudgett -- chan_dahdi: Add faxdetect_timeout option.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=851b1c3a177e06660aeeb92b29a0d3e267ddb61b">[851b1c3a17]</a> Richard Mudgett -- res_pjsip: Add fax_detect_timeout endpoint option.</li>
|
||||
</ul><br><h4>Category: Channels/chan_sip/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-23013">ASTERISK-23013</a>: [patch] Deadlock between 'sip show channels' command and attended transfer handling<br/>Reported by: Ben Smithurst<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=52ab0bf25807c3d666b95c6e2fe5692752c6fbe6">[52ab0bf258]</a> gtjoseph -- chan_sip: Prevent deadlock when issuing "sip show channels"</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26216">ASTERISK-26216</a>: res_fax: Deadlock when detect fax while channel executing Playback<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dcb8aa8c1c1207a6ee0c8f9f158154254ab63ec8">[dcb8aa8c1c]</a> Richard Mudgett -- chan_dahdi.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fa91cf3eeca1ee3b2bdb5e3d685de7100702ff21">[fa91cf3eec]</a> Richard Mudgett -- chan_sip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2e1bdc3775d7b22a3364b7a3aaa07c463043ac9b">[2e1bdc3775]</a> Richard Mudgett -- chan_pjsip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=628e8c91d5c6a3e745bdb37e6593fd838b006393">[628e8c91d5]</a> Richard Mudgett -- res_fax.c: Fix deadlock potential in FAXOPT(faxdetect) framehook.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26211">ASTERISK-26211</a>: Unit tests: AST_TEST_DEFINE should be used in conditional code.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5">[c8e41d14a1]</a> Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in conditional code only.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26193">ASTERISK-26193</a>: chan_sip: reference leak in mwi_event_cb<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2be13d62fd35472d30b52d0e6bdc33390b0f17f6">[2be13d62fd]</a> Corey Farrell -- chan_sip: Fix reference leak in mwi_event_cb</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26184">ASTERISK-26184</a>: chan_sip: Reference leaks in error paths.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=06ba533bc702cd5dde914b8e9473b9d26385b202">[06ba533bc7]</a> Corey Farrell -- chan_sip: Fix reference leaks in error paths.</li>
|
||||
</ul><br><h4>Category: Channels/chan_sip/T.38</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26179">ASTERISK-26179</a>: chan_sip: Second T.38 request fails<br/>Reported by: Joshua Colp<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=77b0145a25aa8c5d4b5c5de27150faf8f3a19eb5">[77b0145a25]</a> Joshua Colp -- chan_sip/res_pjsip_t38: Handle a request to negotiate T.38 after it is enabled.</li>
|
||||
</ul><br><h4>Category: Channels/chan_sip/TCP-TLS</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-19968">ASTERISK-19968</a>: TCP Session-Timers not dropping call<br/>Reported by: Aaron Hamstra<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=66c9dfb272322b21192f58383ae519ceb44e474c">[66c9dfb272]</a> Alexander Traud -- chan_sip: Enable Session-Timers for SIP over TCP (and TLS).</li>
|
||||
</ul><br><h4>Category: Codecs/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26144">ASTERISK-26144</a>: Crash on loading codecs g729/g723<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d07c8a050445cf48591105f1676c190f477a7af1">[d07c8a0504]</a> gtjoseph -- codecs: Fix ABI incompatibility created by adding format_name to ast_codec</li>
|
||||
</ul><br><h4>Category: Codecs/codec_siren14</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26021">ASTERISK-26021</a>: Build codecs siren7 and siren14 for Asterisk 13<br/>Reported by: Daniel Denson<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1dfc28641884111a025fdf2b3e0f811511a282a1">[1dfc286418]</a> Joshua Colp -- siren: Add format attribute modules for Siren7 and Siren14.</li>
|
||||
</ul><br><h4>Category: Codecs/codec_siren7</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26021">ASTERISK-26021</a>: Build codecs siren7 and siren14 for Asterisk 13<br/>Reported by: Daniel Denson<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1dfc28641884111a025fdf2b3e0f811511a282a1">[1dfc286418]</a> Joshua Colp -- siren: Add format attribute modules for Siren7 and Siren14.</li>
|
||||
</ul><br><h4>Category: Core/AstMM</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26181">ASTERISK-26181</a>: REF_DEBUG: Node object incorrectly logged during duplicate replacement<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9d4e664f6280cbc6e0c48d59f62ab34887fa1971">[9d4e664f62]</a> Corey Farrell -- REF_DEBUG: Prevent logging of container node objects.</li>
|
||||
</ul><br><h4>Category: Core/BuildSystem</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26038">ASTERISK-26038</a>: 'make install' doesn't seem to install OS/X init files<br/>Reported by: Tzafrir Cohen<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5f24874ebb8686eb73817084385bb23727c19e85">[5f24874ebb]</a> Alexander Traud -- Makefile: Suppress echoing of target 'config' again.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26046">ASTERISK-26046</a>: [patch] Avoid obsolete warnings on autoconf.<br/>Reported by: Alexander Traud<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=148cd1b319fae6b14b25965455b5b47aa16be469">[148cd1b319]</a> Alexander Traud -- BuildSystem: Avoid obsolete warning with pthread.m4 on autoconf.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a1bd57884d88821337b794b6ebc5a916be68596d">[a1bd57884d]</a> Alexander Traud -- BuildSystem: Avoid obsolete warning with libcurl.m4 on autoconf.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5f0a0982439dc2e9ecb08ff914429141628ee64c">[5f0a098243]</a> Alexander Traud -- BuildSystem: Avoid obsolete warning with AC_TYPE_SIGNAL on autoconf.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25289">ASTERISK-25289</a>: Build System does not respect CFLAGS and CXXFLAGS when building menuselect<br/>Reported by: Jeffrey Walton<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3be6fa1e4b920fe1ccec67e4a78e101354a767d9">[3be6fa1e4b]</a> Alexander Traud -- BuildSystem: Allow own CFLAGS on ./configure.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26157">ASTERISK-26157</a>: Build: Fix errors highlighted by GCC 6.x<br/>Reported by: George Joseph<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f3d236ca7fdf8b03106f1e50474ff6a79f3efb20">[f3d236ca7f]</a> gtjoseph -- BuildSystem: Fix a few issues hightlighted by gcc 6.x</li>
|
||||
</ul><br><h4>Category: Core/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26237">ASTERISK-26237</a>: Fax is detected on regular calls.<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=159e437e5a3f48d97584e711e3b6163adb9cdff5">[159e437e5a]</a> Richard Mudgett -- dsp.c: Fix erroneous fax tone detection.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26191">ASTERISK-26191</a>: threadpool: Leak on duplicate taskprocessor for ast_threadpool_serializer_group<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=672a64bda3142a162f7c458ce7df2896805e9a1f">[672a64bda3]</a> Corey Farrell -- threadpool: Fix leak in ast_threadpool_serializer_group error path.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26119">ASTERISK-26119</a>: [patch] fix: memory leaks, resource leaks, out of bounds and bugs<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5ee205d8bb0dfbae5be89661aa3a787fbdf9986b">[5ee205d8bb]</a> Richard Mudgett -- ast_expr2: Fix off-nominal memory leak.</li>
|
||||
</ul><br><h4>Category: Core/PBX</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26196">ASTERISK-26196</a>: pbx: Time based includes can leak timezone string<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a17b071e364a28f092dc9cfae8eda9e160106c78">[a17b071e36]</a> Corey Farrell -- pbx: Fix leak of timezone for time based includes.</li>
|
||||
</ul><br><h4>Category: Core/Sorcery</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26172">ASTERISK-26172</a>: res_sorcery_realtime: fix bug when successful sql UPDATE is treated as failed if there is no affected rows.<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b4a9fa2c9e2c7c5bae5b6bbb4a6fb7f021a1f2f6">[b4a9fa2c9e]</a> Alexei Gradinari -- res_sorcery_realtime: fix bug when successful UPDATE is treated as failed</li>
|
||||
</ul><br><h4>Category: Documentation</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26212">ASTERISK-26212</a>: [patch] Makefile: Retain XML Declaration and DTD in docs.<br/>Reported by: Alexander Traud<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=021d4892cdb44eb11c68a7f468dfc609b28e86bf">[021d4892cd]</a> Alexander Traud -- Makefile: Retain XML Declaration and DTD in docs.</li>
|
||||
</ul><br><h4>Category: Functions/func_curl</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26211">ASTERISK-26211</a>: Unit tests: AST_TEST_DEFINE should be used in conditional code.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5">[c8e41d14a1]</a> Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in conditional code only.</li>
|
||||
</ul><br><h4>Category: Functions/func_odbc</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26177">ASTERISK-26177</a>: func_odbc: Database handle is kept when it should be released<br/>Reported by: Leandro Dardini<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=17efed6cf77d936c8e007c5d6afcd37acdc5b880">[17efed6cf7]</a> Joshua Colp -- func_odbc: Fix connection deadlock.</li>
|
||||
</ul><br><h4>Category: Resources/res_config_odbc</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26172">ASTERISK-26172</a>: res_sorcery_realtime: fix bug when successful sql UPDATE is treated as failed if there is no affected rows.<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b4a9fa2c9e2c7c5bae5b6bbb4a6fb7f021a1f2f6">[b4a9fa2c9e]</a> Alexei Gradinari -- res_sorcery_realtime: fix bug when successful UPDATE is treated as failed</li>
|
||||
</ul><br><h4>Category: Resources/res_fax</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26216">ASTERISK-26216</a>: res_fax: Deadlock when detect fax while channel executing Playback<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dcb8aa8c1c1207a6ee0c8f9f158154254ab63ec8">[dcb8aa8c1c]</a> Richard Mudgett -- chan_dahdi.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fa91cf3eeca1ee3b2bdb5e3d685de7100702ff21">[fa91cf3eec]</a> Richard Mudgett -- chan_sip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2e1bdc3775d7b22a3364b7a3aaa07c463043ac9b">[2e1bdc3775]</a> Richard Mudgett -- chan_pjsip.c: Fix deadlock potential in fax redirection.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=628e8c91d5c6a3e745bdb37e6593fd838b006393">[628e8c91d5]</a> Richard Mudgett -- res_fax.c: Fix deadlock potential in FAXOPT(faxdetect) framehook.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26214">ASTERISK-26214</a>: Allow arbitrary time for fax detection to end on a channel<br/>Reported by: Richard Mudgett<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=676aeede3643dbe9b79fd7117ce7e335f236d151">[676aeede36]</a> Richard Mudgett -- res_fax: Fix FAXOPT(faxdetect) timeout option.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=652130feb2c200a0f3fec500877255ebabbae28a">[652130feb2]</a> Richard Mudgett -- chan_dahdi: Add faxdetect_timeout option.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=851b1c3a177e06660aeeb92b29a0d3e267ddb61b">[851b1c3a17]</a> Richard Mudgett -- res_pjsip: Add fax_detect_timeout endpoint option.</li>
|
||||
</ul><br><h4>Category: Resources/res_phoneprov</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26119">ASTERISK-26119</a>: [patch] fix: memory leaks, resource leaks, out of bounds and bugs<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5ee205d8bb0dfbae5be89661aa3a787fbdf9986b">[5ee205d8bb]</a> Richard Mudgett -- ast_expr2: Fix off-nominal memory leak.</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26269">ASTERISK-26269</a>: res_pjsip: Wrong state for aors without registered contacts after startup<br/>Reported by: nappsoft<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6da8511a6a5f6d2673f9d5df12e10db510267dbf">[6da8511a6a]</a> Mark Michelson -- res_pjsip: Default endpoints to the "offline" status.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26174">ASTERISK-26174</a>: res_pjsip: Crash when freeing cloned message in distributor<br/>Reported by: Ross Beer<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5997ec7c9e70f3b12afb948c421355fb87aed44e">[5997ec7c9e]</a> Alexei Gradinari -- res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26211">ASTERISK-26211</a>: Unit tests: AST_TEST_DEFINE should be used in conditional code.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5">[c8e41d14a1]</a> Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in conditional code only.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26160">ASTERISK-26160</a>: pjsip: Updated->Reachable during qualify<br/>Reported by: Matt Jordan<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=97b4c7a5b42eb84eaeaf9ec3f524de40e1d7fd74">[97b4c7a5b4]</a> Richard Mudgett -- res_pjsip: Fix statsd regression.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25772">ASTERISK-25772</a>: res_pjsip: Unexpected two BYE when answered<br/>Reported by: Dmitriy Serov<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=359134c8d3a0720baee28e1f7054609875018535">[359134c8d3]</a> Richard Mudgett -- res_pjsip_session.c: Don't send extra BYE if SDP invalid.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5fabcf2ca1d66ce6dbaac26eb3f0cf619e539454">[5fabcf2ca1]</a> Richard Mudgett -- res_pjsip_session.c: End call on initial invalid SDP negotiation.</li>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=38a4e983dcf0d83006be1c50982fd62fdc6ea1a3">[38a4e983dc]</a> Richard Mudgett -- res_pjsip.c: Register PJMEDIA error code decoder.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26061">ASTERISK-26061</a>: [patch] res_pjsip: improve realtime performance - remove updating all endpoints status on startup<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b3c787d1ddd36eb7dfa0906b92a83ab23d8741cd">[b3c787d1dd]</a> Alexei Gradinari -- res_pjsip: improve realtime performance #2</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip/Bundling</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26148">ASTERISK-26148</a>: pjsip: Cannot compile 13.10.0-rc1: "libasteriskpj.so: undefined reference to..."<br/>Reported by: Hans van Eijsden<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ba7582ba7532a3d0bbcce9831af83b266d558823">[ba7582ba75]</a> gtjoseph -- pjproject_bundled: Update for pjproject 2.5.5</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip_mwi</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26200">ASTERISK-26200</a>: [patch] res_pjsip_mwi: improve realtime performance - remove unneeded check on endpoint's contacts.<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=cb58f853e1bccb1b9ba1df458234052fc14c822f">[cb58f853e1]</a> Alexei Gradinari -- res_pjsip_mwi: remove unneeded check on endpoint's contacts.</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip_pubsub</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26166">ASTERISK-26166</a>: res_pjsip_pubsub: Crash when decrementing reference count of message<br/>Reported by: Ross Beer<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5997ec7c9e70f3b12afb948c421355fb87aed44e">[5997ec7c9e]</a> Alexei Gradinari -- res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26099">ASTERISK-26099</a>: res_pjsip_pubsub: Crash when sending request due to server timeout<br/>Reported by: Ross Beer<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=43a78100c0e51117e7e5c91ed2800c772f767f8a">[43a78100c0]</a> gtjoseph -- configure: Fix HAVE_PJSIP_EVSUB_GRP_LOCK not set with external pjproject</li>
|
||||
</ul><br><h4>Category: Resources/res_pjsip_sdp_rtp</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26119">ASTERISK-26119</a>: [patch] fix: memory leaks, resource leaks, out of bounds and bugs<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5ee205d8bb0dfbae5be89661aa3a787fbdf9986b">[5ee205d8bb]</a> Richard Mudgett -- ast_expr2: Fix off-nominal memory leak.</li>
|
||||
</ul><br><h4>Category: Resources/res_realtime</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26172">ASTERISK-26172</a>: res_sorcery_realtime: fix bug when successful sql UPDATE is treated as failed if there is no affected rows.<br/>Reported by: Alexei Gradinari<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b4a9fa2c9e2c7c5bae5b6bbb4a6fb7f021a1f2f6">[b4a9fa2c9e]</a> Alexei Gradinari -- res_sorcery_realtime: fix bug when successful UPDATE is treated as failed</li>
|
||||
</ul><br><h4>Category: Resources/res_rtp_asterisk</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26207">ASTERISK-26207</a>: [patch] sRTP: Count a roll-over of the sequence number even on lost packets.<br/>Reported by: Alexander Traud<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e404f51b42d9518dc8f7153678998d81489d4edb">[e404f51b42]</a> Alexander Traud -- res_rtp_asterisk: Count a roll-over of the sequence number even on lost packets.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25659">ASTERISK-25659</a>: res_rtp_asterisk: ECDH not negotiated causing DTLS failure occurred on RTP instance<br/>Reported by: Edwin Vandamme<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=332beb27d86c8e1a6220c2ccfc9e54b57d299e02">[332beb27d8]</a> Eugene Voityuk,Alexander Traud -- res_rtp_asterisk: Enable Forward Secrecy (PFS) for DTLS.</li>
|
||||
</ul><br><h4>Category: Tests/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26211">ASTERISK-26211</a>: Unit tests: AST_TEST_DEFINE should be used in conditional code.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5">[c8e41d14a1]</a> Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in conditional code only.</li>
|
||||
</ul><br><h4>Category: pjproject/pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26199">ASTERISK-26199</a>: PJSIP: tx_data_destroy called twice<br/>Reported by: Scott Griepentrog<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5997ec7c9e70f3b12afb948c421355fb87aed44e">[5997ec7c9e]</a> Alexei Gradinari -- res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice.</li>
|
||||
</ul><br><h3>Improvement</h3><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-22131">ASTERISK-22131</a>: Update the make dependencies script to pull, build, and install the correct pjproject<br/>Reported by: Matt Jordan<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f5e987201658ac468baeeb8cd4529b5868a9c08c">[f5e9872016]</a> Alexander Traud -- install_prereq: Checkout of libSRTP 1.5.x.</li>
|
||||
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25471">ASTERISK-25471</a>: [patch]Add subscribe_context to res_pjsip<br/>Reported by: JoshE<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2c16a81dd57676db494994a72514ecda4bdd437d">[2c16a81dd5]</a> Alexei Gradinari -- res_pjsip: Added "subscribe_context" to endpoint</li>
|
||||
</ul><br><h4>Category: Core/BuildSystem</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26220">ASTERISK-26220</a>: Add support for noreturn function attributes.<br/>Reported by: Corey Farrell<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7fdf7c3d4cf1124a3a9bbed86c9490e0a0b2d125">[7fdf7c3d4c]</a> Corey Farrell -- Add conditional support for noreturn functions.</li>
|
||||
</ul><br><h4>Category: Resources/res_hep</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26159">ASTERISK-26159</a>: res_hep: enabled by default and information sent to default address<br/>Reported by: Ross Beer<ul>
|
||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=99eff80e76c81f6ae54d95ba1bee3bed7d331e27">[99eff80e76]</a> Matt Jordan -- hep.conf.sample: Default 'enabled' to 'no'</li>
|
||||
</ul><br><hr><a name="commits"><h2 align="center">Commits Not Associated with an Issue</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all changes that went into this release that did not reference a JIRA issue.</p><table width="100%" border="1">
|
||||
<tr><th>Revision</th><th>Author</th><th>Summary</th></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7d843d0bb5a71cd2b766823166e541611f400cd0">7d843d0bb5</a></td><td>Kevin Harwell</td><td>Release summaries: Remove previous versions</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e29b6f0326f35b5e765c204a40285faa9400d560">e29b6f0326</a></td><td>Kevin Harwell</td><td>.version: Update for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7b5be70a53ef62f184f9424499892b0e940710d9">7b5be70a53</a></td><td>Kevin Harwell</td><td>.lastclean: Update for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e22edb0481807f94fd1e93d876e06f39183485cb">e22edb0481</a></td><td>Kevin Harwell</td><td>realtime: Add database scripts for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9cb51fb55065c76d84fcb8b2b82100930d30bd1d">9cb51fb550</a></td><td>Kevin Harwell</td><td>ChangeLog: Updated for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5c3bffce09a2f923e8bbffac79c2a63474572f78">5c3bffce09</a></td><td>Kevin Harwell</td><td>Release summaries: Add summaries for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7b9cb3c450143063ec193186b93a22a488e94404">7b9cb3c450</a></td><td>Kevin Harwell</td><td>Release summaries: Remove previous versions</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ebd944a54d951b42329a12057feaa17af7bdfc3e">ebd944a54d</a></td><td>Kevin Harwell</td><td>.version: Update for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fa7feca7dd3a3b6604801ecf92e342306db58fe7">fa7feca7dd</a></td><td>Kevin Harwell</td><td>.lastclean: Update for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=dcb70dfaeac955c621c7493d32127e917a921c93">dcb70dfaea</a></td><td>Kevin Harwell</td><td>realtime: Add database scripts for 13.11.0</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=35fd61b9dcc3c46c111183268c651e6a2725f5be">35fd61b9dc</a></td><td>Kevin Harwell</td><td>ChangeLog: Updated for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3d2ed81c1bba8aeb9fddf1493e4c798af901eb3c">3d2ed81c1b</a></td><td>Kevin Harwell</td><td>Release summaries: Add summaries for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=313683b96dcf94d94d57c510855820c8bc1df90f">313683b96d</a></td><td>Kevin Harwell</td><td>Release summaries: Remove previous versions</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=2a99049ea47648a8f1187b0bf53287d7917657a3">2a99049ea4</a></td><td>Kevin Harwell</td><td>.version: Update for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=620046255fdfc22e518c5fb3abd36b96c71a8f9a">620046255f</a></td><td>Kevin Harwell</td><td>.lastclean: Update for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=09647449e4e12dea911c483b36a9716f1c3acf1c">09647449e4</a></td><td>Kevin Harwell</td><td>realtime: Add database scripts for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e64170e493a0d9eb2666de24f592cb8c816b0b5f">e64170e493</a></td><td>gtjoseph</td><td>res_rtp_multicast: Fix SEGV in ast_multicast_rtp_create_options</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=91e415b9707a4b7bf39f27feffd7a5e464617435">91e415b970</a></td><td>Kevin Harwell</td><td>ChangeLog: Updated for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9c8a7bf1e9963169f93d00ad26593743675579d3">9c8a7bf1e9</a></td><td>Kevin Harwell</td><td>Release summaries: Add summaries for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c29eb6cad14609a3bc659945fe4b8e79aa8bd07b">c29eb6cad1</a></td><td>Kevin Harwell</td><td>Release summaries: Remove previous versions</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=53ab4718aca0fed207c27f4c11a009335e6d273f">53ab4718ac</a></td><td>Kevin Harwell</td><td>.version: Update for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=98b7b9e101fc93d0cf138cd583f36d1464da489b">98b7b9e101</a></td><td>Kevin Harwell</td><td>.lastclean: Update for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9de68f3d44a7d96dddc616db761df04893a9e9ed">9de68f3d44</a></td><td>Kevin Harwell</td><td>realtime: Add database scripts for 13.11.0-rc2</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e6c2a29ad27c8ee2bf873975cee579405126efb3">e6c2a29ad2</a></td><td>Mark Michelson</td><td>Remove SILK payload mappings from Asterisk core.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9f083db88b469c4b454a901c6b0e7c3f10dfc8f8">9f083db88b</a></td><td>Mark Michelson</td><td>ChangeLog: Updated for 13.11.0-rc1</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=3bfaf6b17232b36f8148f854ece50da1f19448a7">3bfaf6b172</a></td><td>Mark Michelson</td><td>Release summaries: Add summaries for 13.11.0-rc1</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ca145e18079af20b0074a159fadff4945d8f0b27">ca145e1807</a></td><td>Mark Michelson</td><td>.version: Update for 13.11.0-rc1</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=918ebf79ffe555388577f70a9745717a2bb421ad">918ebf79ff</a></td><td>Mark Michelson</td><td>.lastclean: Update for 13.11.0-rc1</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d7afc1cf9d94fb10f7c8ec07c470f1f671ca62f6">d7afc1cf9d</a></td><td>Mark Michelson</td><td>realtime: Add database scripts for 13.11.0-rc1</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=33716106e00da12d24999610aea60a76cc5bbdb5">33716106e0</a></td><td>Richard Mudgett</td><td>res_pjsip: Whitespace and comment cleanup.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=76d4983c1572b3d796b2076f4a49087f004a816c">76d4983c15</a></td><td>Corey Farrell</td><td>features.c: Remove unneeded adsi.h include.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=28501051b47e6bb8968bb016abf0b3493c05fa21">28501051b4</a></td><td>Mark Michelson</td><td>Update support for SILK format.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8cef8f35e7d02faaaf2f20063887f1d73afdd14e">8cef8f35e7</a></td><td>Kevin Harwell</td><td>translate: explicit format destination not properly set</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=afbd10b0c5dbbd511dc8a58826b7db3921a8b24e">afbd10b0c5</a></td><td>Richard Mudgett</td><td>stasis_endpoint.c: Fix contactstatus_to_json().</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=fea201f7e61c4daacce899cdafc40a5a13de9441">fea201f7e6</a></td><td>Richard Mudgett</td><td>pjsip_options.c: Fix container operation.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=02877b4b4fd8393620ee3568483e14b04f7d2aed">02877b4b4f</a></td><td>Richard Mudgett</td><td>pjsip_configuration.c: Misc cleanups.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1dfd3fc995f94859b99bf5cad0de302222556e6c">1dfd3fc995</a></td><td>Matt Jordan</td><td>res/res_pjsip_session: Check for presence of an active negotiator</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9dd0aeeb44c8ac6d4f86184fce45884505f5deef">9dd0aeeb44</a></td><td>Matt Jordan</td><td>res/res_pjsip_pubsub: Add additional debug statements</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1ec4f8dd003b92c262a33f6e91c3dc538681bae5">1ec4f8dd00</a></td><td>Matt Jordan</td><td>res/res_corosync: Raise a Stasis message on node join/leave events</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=640fbbbe2868779545aa8aef6b3f3fefdeb4eef5">640fbbbe28</a></td><td>Richard Mudgett</td><td>features: Fix channel datastore access.</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1952434df562f0b4dd41af161cf0186e393013da">1952434df5</a></td><td>Richard Mudgett</td><td>res_pjsip_session.c: Remove unused parameter from handle_incoming().</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=28928ba5c4f92d407e9f161ebc5a1441261a2de0">28928ba5c4</a></td><td>Richard Mudgett</td><td>res_pjsip: Add missing NULL checks when using pjsip_inv_end_session().</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=78960975f21d7e9d807d09634385b3a7153648d1">78960975f2</a></td><td>Matt Jordan</td><td>pjproject/patches/config_site: Increase the max number of ICE candidates</td></tr>
|
||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9d5b0934d93ee1024811151d32b9c5e93e73da40">9d5b0934d9</a></td><td>Matt Jordan</td><td>configs/basic-pbx/modules.conf: Remove 'bad' modules</td></tr>
|
||||
</table><hr><a name="diffstat"><h2 align="center">Diffstat Results</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a summary of the changes to the source code that went into this release that was generated using the diffstat utility.</p><pre>asterisk-13.10.0-summary.html | 488 ----
|
||||
asterisk-13.10.0-summary.txt | 1217 ----------
|
||||
autoconf/acx_pthread.m4 | 243 -
|
||||
b/.version | 2
|
||||
b/CHANGES | 49
|
||||
b/ChangeLog | 1053 ++++++++
|
||||
b/Makefile | 6
|
||||
b/apps/app_queue.c | 26
|
||||
b/apps/app_voicemail.c | 2
|
||||
b/autoconf/ax_pthread.m4 | 485 +++
|
||||
b/autoconf/libcurl.m4 | 49
|
||||
b/channels/chan_dahdi.c | 43
|
||||
b/channels/chan_dahdi.h | 5
|
||||
b/channels/chan_pjsip.c | 59
|
||||
b/channels/chan_sip.c | 136 -
|
||||
b/channels/chan_unistim.c | 2
|
||||
b/channels/sip/config_parser.c | 7
|
||||
b/channels/sip/reqresp_parser.c | 23
|
||||
b/configs/basic-pbx/modules.conf | 4
|
||||
b/configs/samples/chan_dahdi.conf.sample | 9
|
||||
b/configs/samples/hep.conf.sample | 2
|
||||
b/configs/samples/pjsip.conf.sample | 22
|
||||
b/configure | 783 ++++--
|
||||
b/configure.ac | 21
|
||||
b/contrib/ast-db-manage/config/versions/4a6c67fa9b7a_add_fax_detect_timeout_option.py | 23
|
||||
b/contrib/ast-db-manage/config/versions/9deac0ae4717_pjsip_add_subscribe_context.py | 21
|
||||
b/contrib/ast-db-manage/config/versions/ef7efc2d3964_ps_contacts_add_endpoint_and_modify_.py | 33
|
||||
b/contrib/realtime/mssql/mssql_config.sql | 42
|
||||
b/contrib/realtime/mysql/mysql_config.sql | 24
|
||||
b/contrib/realtime/oracle/oracle_config.sql | 42
|
||||
b/contrib/realtime/postgresql/postgresql_config.sql | 24
|
||||
b/contrib/scripts/install_prereq | 4
|
||||
b/funcs/func_curl.c | 2
|
||||
b/funcs/func_env.c | 4
|
||||
b/include/asterisk/autoconfig.h.in | 24
|
||||
b/include/asterisk/compiler.h | 6
|
||||
b/include/asterisk/event_defs.h | 13
|
||||
b/include/asterisk/format_cache.h | 8
|
||||
b/include/asterisk/res_fax.h | 4
|
||||
b/include/asterisk/res_pjsip.h | 20
|
||||
b/include/asterisk/res_pjsip_session.h | 2
|
||||
b/include/asterisk/stasis_system.h | 6
|
||||
b/include/asterisk/utils.h | 9
|
||||
b/main/ast_expr2.c | 2
|
||||
b/main/ast_expr2.y | 2
|
||||
b/main/astobj2_hash.c | 4
|
||||
b/main/astobj2_rbtree.c | 2
|
||||
b/main/bridge_channel.c | 9
|
||||
b/main/channel.c | 33
|
||||
b/main/codec_builtin.c | 63
|
||||
b/main/dsp.c | 8
|
||||
b/main/features.c | 7
|
||||
b/main/format_cache.c | 20
|
||||
b/main/pbx.c | 19
|
||||
b/main/say.c | 16
|
||||
b/main/stasis_endpoints.c | 34
|
||||
b/main/stasis_system.c | 6
|
||||
b/main/stdtime/localtime.c | 11
|
||||
b/main/threadpool.c | 6
|
||||
b/main/translate.c | 2
|
||||
b/main/utils.c | 4
|
||||
b/res/res_config_odbc.c | 1
|
||||
b/res/res_corosync.c | 273 ++
|
||||
b/res/res_fax.c | 58
|
||||
b/res/res_format_attr_silk.c | 64
|
||||
b/res/res_format_attr_siren14.c | 94
|
||||
b/res/res_format_attr_siren7.c | 94
|
||||
b/res/res_pjsip.c | 99
|
||||
b/res/res_pjsip/config_transport.c | 3
|
||||
b/res/res_pjsip/location.c | 6
|
||||
b/res/res_pjsip/pjsip_configuration.c | 168 -
|
||||
b/res/res_pjsip/pjsip_options.c | 130 +
|
||||
b/res/res_pjsip_exten_state.c | 10
|
||||
b/res/res_pjsip_mwi.c | 28
|
||||
b/res/res_pjsip_pubsub.c | 6
|
||||
b/res/res_pjsip_refer.c | 3
|
||||
b/res/res_pjsip_session.c | 129 -
|
||||
b/res/res_pjsip_t38.c | 4
|
||||
b/res/res_rtp_asterisk.c | 43
|
||||
b/res/res_rtp_multicast.c | 7
|
||||
b/res/res_sorcery_realtime.c | 2
|
||||
b/tests/test_sorcery_realtime.c | 37
|
||||
b/third-party/pjproject/Makefile.rules | 31
|
||||
b/third-party/pjproject/patches/0002-Fix-1946-Avoid-deinitialization-of-uninitialized-cli.patch | 25
|
||||
third-party/pjproject/patches/0001-evsub-Add-APIs-to-add-decrement-an-event-subscriptio.patch | 73
|
||||
third-party/pjproject/patches/0001-sip_transport_tcp-tls-Set-factory-on-transports-crea.patch | 48
|
||||
86 files changed, 3904 insertions(+), 2827 deletions(-)</pre><br></html>
|
727
asterisk-13.11.0-summary.txt
Normal file
727
asterisk-13.11.0-summary.txt
Normal file
@@ -0,0 +1,727 @@
|
||||
Release Summary
|
||||
|
||||
asterisk-13.11.0
|
||||
|
||||
Date: 2016-09-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 is a point release of an existing major version. The changes
|
||||
included were made to address problems that have been identified in this
|
||||
release series, or are minor, backwards compatible new features or
|
||||
improvements. Users should be able to safely upgrade to this version if
|
||||
this release series is already in use. Users considering upgrading from a
|
||||
previous version are strongly encouraged to review the UPGRADE.txt
|
||||
document as well as the CHANGES document for information about upgrading
|
||||
to this release series.
|
||||
|
||||
The data in this summary reflects changes that have been made since the
|
||||
previous release, asterisk-13.10.0.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Contributors
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This table lists the people who have submitted code, those that have
|
||||
tested patches, as well as those that reported issues on the issue tracker
|
||||
that were resolved in this release. For coders, the number is how many of
|
||||
their patches (of any size) were committed into this release. For testers,
|
||||
the number is the number of times their name was listed as assisting with
|
||||
testing a patch. Finally, for reporters, the number is the number of
|
||||
issues that they reported that were affected by commits that went into
|
||||
this release.
|
||||
|
||||
Coders Testers Reporters
|
||||
23 Kevin Harwell 1 Eugene Voityuk 8 Richard Mudgett
|
||||
20 Richard Mudgett 1 Alexander Traud 8 Richard Mudgett
|
||||
9 Mark Michelson 7 Corey Farrell
|
||||
9 Alexander Traud 6 Alexei Gradinari
|
||||
8 Corey Farrell 5 Alexander Traud
|
||||
6 Matt Jordan 3 Ross Beer
|
||||
6 gtjoseph 3 Dmitriy Serov
|
||||
5 Alexei Gradinari 2 Scott Griepentrog
|
||||
4 Joshua Colp 2 Matt Jordan
|
||||
1 Richard Miller (license 5685) 2 Alexei Gradinari
|
||||
1 Alexander Traud 1 Dmitriy Serov
|
||||
1 Eugene Voityuk 1 Ben Smithurst
|
||||
1 Scott Griepentrog 1 Richard Miller
|
||||
1 Daniel Denson
|
||||
1 Edwin Vandamme
|
||||
1 Scott Griepentrog
|
||||
1 nappsoft
|
||||
1 JoshE
|
||||
1 Joshua Colp
|
||||
1 Leandro Dardini
|
||||
1 Ross Beer
|
||||
1 Etienne Lessard
|
||||
1 Tzafrir Cohen
|
||||
1 Jeffrey Walton
|
||||
1 George Joseph
|
||||
1 Hans van Eijsden
|
||||
1 StefanEng86, urbaniak,
|
||||
pay123
|
||||
1 Mark Michelson
|
||||
1 Aaron Hamstra
|
||||
1 Mark Michelson
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Closed Issues
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This is a list of all issues from the issue tracker that were closed by
|
||||
changes that went into this release.
|
||||
|
||||
New Feature
|
||||
|
||||
Category: Core/ManagerInterface/NewFeature
|
||||
|
||||
ASTERISK-25904: PJSIP: add contact.updated event
|
||||
Reported by: Alexei Gradinari
|
||||
* [97b4c7a5b4] Richard Mudgett -- res_pjsip: Fix statsd regression.
|
||||
|
||||
Category: Resources/res_pjsip
|
||||
|
||||
ASTERISK-25904: PJSIP: add contact.updated event
|
||||
Reported by: Alexei Gradinari
|
||||
* [97b4c7a5b4] Richard Mudgett -- res_pjsip: Fix statsd regression.
|
||||
|
||||
Bug
|
||||
|
||||
Category: Applications/app_queue
|
||||
|
||||
ASTERISK-26299: app_queue: Queue application sometimes stops calling
|
||||
members with Local interface
|
||||
Reported by: Etienne Lessard
|
||||
* [884db40142] Joshua Colp -- app_queue: Ensure member is removed from
|
||||
pending when hanging up.
|
||||
ASTERISK-26133: app_queue: Queue members receive multiple calls
|
||||
Reported by: Richard Miller
|
||||
* [43b5f8d57b] Richard Miller -- app_queue: Only remove queue member
|
||||
from pending when state changes.
|
||||
|
||||
Category: Applications/app_voicemail
|
||||
|
||||
ASTERISK-26211: Unit tests: AST_TEST_DEFINE should be used in conditional
|
||||
code.
|
||||
Reported by: Corey Farrell
|
||||
* [c8e41d14a1] Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in
|
||||
conditional code only.
|
||||
|
||||
Category: Channels/chan_dahdi
|
||||
|
||||
ASTERISK-26216: res_fax: Deadlock when detect fax while channel executing
|
||||
Playback
|
||||
Reported by: Richard Mudgett
|
||||
* [dcb8aa8c1c] Richard Mudgett -- chan_dahdi.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [fa91cf3eec] Richard Mudgett -- chan_sip.c: Fix deadlock potential in
|
||||
fax redirection.
|
||||
* [2e1bdc3775] Richard Mudgett -- chan_pjsip.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [628e8c91d5] Richard Mudgett -- res_fax.c: Fix deadlock potential in
|
||||
FAXOPT(faxdetect) framehook.
|
||||
|
||||
Category: Channels/chan_dahdi/NewFeature
|
||||
|
||||
ASTERISK-26214: Allow arbitrary time for fax detection to end on a channel
|
||||
Reported by: Richard Mudgett
|
||||
* [676aeede36] Richard Mudgett -- res_fax: Fix FAXOPT(faxdetect) timeout
|
||||
option.
|
||||
* [652130feb2] Richard Mudgett -- chan_dahdi: Add faxdetect_timeout
|
||||
option.
|
||||
* [851b1c3a17] Richard Mudgett -- res_pjsip: Add fax_detect_timeout
|
||||
endpoint option.
|
||||
|
||||
Category: Channels/chan_pjsip
|
||||
|
||||
ASTERISK-26216: res_fax: Deadlock when detect fax while channel executing
|
||||
Playback
|
||||
Reported by: Richard Mudgett
|
||||
* [dcb8aa8c1c] Richard Mudgett -- chan_dahdi.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [fa91cf3eec] Richard Mudgett -- chan_sip.c: Fix deadlock potential in
|
||||
fax redirection.
|
||||
* [2e1bdc3775] Richard Mudgett -- chan_pjsip.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [628e8c91d5] Richard Mudgett -- res_fax.c: Fix deadlock potential in
|
||||
FAXOPT(faxdetect) framehook.
|
||||
ASTERISK-26214: Allow arbitrary time for fax detection to end on a channel
|
||||
Reported by: Richard Mudgett
|
||||
* [676aeede36] Richard Mudgett -- res_fax: Fix FAXOPT(faxdetect) timeout
|
||||
option.
|
||||
* [652130feb2] Richard Mudgett -- chan_dahdi: Add faxdetect_timeout
|
||||
option.
|
||||
* [851b1c3a17] Richard Mudgett -- res_pjsip: Add fax_detect_timeout
|
||||
endpoint option.
|
||||
|
||||
Category: Channels/chan_sip/General
|
||||
|
||||
ASTERISK-23013: [patch] Deadlock between 'sip show channels' command and
|
||||
attended transfer handling
|
||||
Reported by: Ben Smithurst
|
||||
* [52ab0bf258] gtjoseph -- chan_sip: Prevent deadlock when issuing "sip
|
||||
show channels"
|
||||
ASTERISK-26216: res_fax: Deadlock when detect fax while channel executing
|
||||
Playback
|
||||
Reported by: Richard Mudgett
|
||||
* [dcb8aa8c1c] Richard Mudgett -- chan_dahdi.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [fa91cf3eec] Richard Mudgett -- chan_sip.c: Fix deadlock potential in
|
||||
fax redirection.
|
||||
* [2e1bdc3775] Richard Mudgett -- chan_pjsip.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [628e8c91d5] Richard Mudgett -- res_fax.c: Fix deadlock potential in
|
||||
FAXOPT(faxdetect) framehook.
|
||||
ASTERISK-26211: Unit tests: AST_TEST_DEFINE should be used in conditional
|
||||
code.
|
||||
Reported by: Corey Farrell
|
||||
* [c8e41d14a1] Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in
|
||||
conditional code only.
|
||||
ASTERISK-26193: chan_sip: reference leak in mwi_event_cb
|
||||
Reported by: Corey Farrell
|
||||
* [2be13d62fd] Corey Farrell -- chan_sip: Fix reference leak in
|
||||
mwi_event_cb
|
||||
ASTERISK-26184: chan_sip: Reference leaks in error paths.
|
||||
Reported by: Corey Farrell
|
||||
* [06ba533bc7] Corey Farrell -- chan_sip: Fix reference leaks in error
|
||||
paths.
|
||||
|
||||
Category: Channels/chan_sip/T.38
|
||||
|
||||
ASTERISK-26179: chan_sip: Second T.38 request fails
|
||||
Reported by: Joshua Colp
|
||||
* [77b0145a25] Joshua Colp -- chan_sip/res_pjsip_t38: Handle a request
|
||||
to negotiate T.38 after it is enabled.
|
||||
|
||||
Category: Channels/chan_sip/TCP-TLS
|
||||
|
||||
ASTERISK-19968: TCP Session-Timers not dropping call
|
||||
Reported by: Aaron Hamstra
|
||||
* [66c9dfb272] Alexander Traud -- chan_sip: Enable Session-Timers for
|
||||
SIP over TCP (and TLS).
|
||||
|
||||
Category: Codecs/General
|
||||
|
||||
ASTERISK-26144: Crash on loading codecs g729/g723
|
||||
Reported by: Alexei Gradinari
|
||||
* [d07c8a0504] gtjoseph -- codecs: Fix ABI incompatibility created by
|
||||
adding format_name to ast_codec
|
||||
|
||||
Category: Codecs/codec_siren14
|
||||
|
||||
ASTERISK-26021: Build codecs siren7 and siren14 for Asterisk 13
|
||||
Reported by: Daniel Denson
|
||||
* [1dfc286418] Joshua Colp -- siren: Add format attribute modules for
|
||||
Siren7 and Siren14.
|
||||
|
||||
Category: Codecs/codec_siren7
|
||||
|
||||
ASTERISK-26021: Build codecs siren7 and siren14 for Asterisk 13
|
||||
Reported by: Daniel Denson
|
||||
* [1dfc286418] Joshua Colp -- siren: Add format attribute modules for
|
||||
Siren7 and Siren14.
|
||||
|
||||
Category: Core/AstMM
|
||||
|
||||
ASTERISK-26181: REF_DEBUG: Node object incorrectly logged during duplicate
|
||||
replacement
|
||||
Reported by: Corey Farrell
|
||||
* [9d4e664f62] Corey Farrell -- REF_DEBUG: Prevent logging of container
|
||||
node objects.
|
||||
|
||||
Category: Core/BuildSystem
|
||||
|
||||
ASTERISK-26038: 'make install' doesn't seem to install OS/X init files
|
||||
Reported by: Tzafrir Cohen
|
||||
* [5f24874ebb] Alexander Traud -- Makefile: Suppress echoing of target
|
||||
'config' again.
|
||||
ASTERISK-26046: [patch] Avoid obsolete warnings on autoconf.
|
||||
Reported by: Alexander Traud
|
||||
* [148cd1b319] Alexander Traud -- BuildSystem: Avoid obsolete warning
|
||||
with pthread.m4 on autoconf.
|
||||
* [a1bd57884d] Alexander Traud -- BuildSystem: Avoid obsolete warning
|
||||
with libcurl.m4 on autoconf.
|
||||
* [5f0a098243] Alexander Traud -- BuildSystem: Avoid obsolete warning
|
||||
with AC_TYPE_SIGNAL on autoconf.
|
||||
ASTERISK-25289: Build System does not respect CFLAGS and CXXFLAGS when
|
||||
building menuselect
|
||||
Reported by: Jeffrey Walton
|
||||
* [3be6fa1e4b] Alexander Traud -- BuildSystem: Allow own CFLAGS on
|
||||
./configure.
|
||||
ASTERISK-26157: Build: Fix errors highlighted by GCC 6.x
|
||||
Reported by: George Joseph
|
||||
* [f3d236ca7f] gtjoseph -- BuildSystem: Fix a few issues hightlighted by
|
||||
gcc 6.x
|
||||
|
||||
Category: Core/General
|
||||
|
||||
ASTERISK-26237: Fax is detected on regular calls.
|
||||
Reported by: Richard Mudgett
|
||||
* [159e437e5a] Richard Mudgett -- dsp.c: Fix erroneous fax tone
|
||||
detection.
|
||||
ASTERISK-26191: threadpool: Leak on duplicate taskprocessor for
|
||||
ast_threadpool_serializer_group
|
||||
Reported by: Corey Farrell
|
||||
* [672a64bda3] Corey Farrell -- threadpool: Fix leak in
|
||||
ast_threadpool_serializer_group error path.
|
||||
ASTERISK-26119: [patch] fix: memory leaks, resource leaks, out of bounds
|
||||
and bugs
|
||||
Reported by: Alexei Gradinari
|
||||
* [5ee205d8bb] Richard Mudgett -- ast_expr2: Fix off-nominal memory
|
||||
leak.
|
||||
|
||||
Category: Core/PBX
|
||||
|
||||
ASTERISK-26196: pbx: Time based includes can leak timezone string
|
||||
Reported by: Corey Farrell
|
||||
* [a17b071e36] Corey Farrell -- pbx: Fix leak of timezone for time based
|
||||
includes.
|
||||
|
||||
Category: Core/Sorcery
|
||||
|
||||
ASTERISK-26172: res_sorcery_realtime: fix bug when successful sql UPDATE
|
||||
is treated as failed if there is no affected rows.
|
||||
Reported by: Alexei Gradinari
|
||||
* [b4a9fa2c9e] Alexei Gradinari -- res_sorcery_realtime: fix bug when
|
||||
successful UPDATE is treated as failed
|
||||
|
||||
Category: Documentation
|
||||
|
||||
ASTERISK-26212: [patch] Makefile: Retain XML Declaration and DTD in docs.
|
||||
Reported by: Alexander Traud
|
||||
* [021d4892cd] Alexander Traud -- Makefile: Retain XML Declaration and
|
||||
DTD in docs.
|
||||
|
||||
Category: Functions/func_curl
|
||||
|
||||
ASTERISK-26211: Unit tests: AST_TEST_DEFINE should be used in conditional
|
||||
code.
|
||||
Reported by: Corey Farrell
|
||||
* [c8e41d14a1] Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in
|
||||
conditional code only.
|
||||
|
||||
Category: Functions/func_odbc
|
||||
|
||||
ASTERISK-26177: func_odbc: Database handle is kept when it should be
|
||||
released
|
||||
Reported by: Leandro Dardini
|
||||
* [17efed6cf7] Joshua Colp -- func_odbc: Fix connection deadlock.
|
||||
|
||||
Category: Resources/res_config_odbc
|
||||
|
||||
ASTERISK-26172: res_sorcery_realtime: fix bug when successful sql UPDATE
|
||||
is treated as failed if there is no affected rows.
|
||||
Reported by: Alexei Gradinari
|
||||
* [b4a9fa2c9e] Alexei Gradinari -- res_sorcery_realtime: fix bug when
|
||||
successful UPDATE is treated as failed
|
||||
|
||||
Category: Resources/res_fax
|
||||
|
||||
ASTERISK-26216: res_fax: Deadlock when detect fax while channel executing
|
||||
Playback
|
||||
Reported by: Richard Mudgett
|
||||
* [dcb8aa8c1c] Richard Mudgett -- chan_dahdi.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [fa91cf3eec] Richard Mudgett -- chan_sip.c: Fix deadlock potential in
|
||||
fax redirection.
|
||||
* [2e1bdc3775] Richard Mudgett -- chan_pjsip.c: Fix deadlock potential
|
||||
in fax redirection.
|
||||
* [628e8c91d5] Richard Mudgett -- res_fax.c: Fix deadlock potential in
|
||||
FAXOPT(faxdetect) framehook.
|
||||
ASTERISK-26214: Allow arbitrary time for fax detection to end on a channel
|
||||
Reported by: Richard Mudgett
|
||||
* [676aeede36] Richard Mudgett -- res_fax: Fix FAXOPT(faxdetect) timeout
|
||||
option.
|
||||
* [652130feb2] Richard Mudgett -- chan_dahdi: Add faxdetect_timeout
|
||||
option.
|
||||
* [851b1c3a17] Richard Mudgett -- res_pjsip: Add fax_detect_timeout
|
||||
endpoint option.
|
||||
|
||||
Category: Resources/res_phoneprov
|
||||
|
||||
ASTERISK-26119: [patch] fix: memory leaks, resource leaks, out of bounds
|
||||
and bugs
|
||||
Reported by: Alexei Gradinari
|
||||
* [5ee205d8bb] Richard Mudgett -- ast_expr2: Fix off-nominal memory
|
||||
leak.
|
||||
|
||||
Category: Resources/res_pjsip
|
||||
|
||||
ASTERISK-26269: res_pjsip: Wrong state for aors without registered
|
||||
contacts after startup
|
||||
Reported by: nappsoft
|
||||
* [6da8511a6a] Mark Michelson -- res_pjsip: Default endpoints to the
|
||||
"offline" status.
|
||||
ASTERISK-26174: res_pjsip: Crash when freeing cloned message in
|
||||
distributor
|
||||
Reported by: Ross Beer
|
||||
* [5997ec7c9e] Alexei Gradinari -- res_pjsip_pubsub: fixed a bug when
|
||||
pjsip_tx_data_dec_ref is called twice.
|
||||
ASTERISK-26211: Unit tests: AST_TEST_DEFINE should be used in conditional
|
||||
code.
|
||||
Reported by: Corey Farrell
|
||||
* [c8e41d14a1] Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in
|
||||
conditional code only.
|
||||
ASTERISK-26160: pjsip: Updated->Reachable during qualify
|
||||
Reported by: Matt Jordan
|
||||
* [97b4c7a5b4] Richard Mudgett -- res_pjsip: Fix statsd regression.
|
||||
ASTERISK-25772: res_pjsip: Unexpected two BYE when answered
|
||||
Reported by: Dmitriy Serov
|
||||
* [359134c8d3] Richard Mudgett -- res_pjsip_session.c: Don't send extra
|
||||
BYE if SDP invalid.
|
||||
* [5fabcf2ca1] Richard Mudgett -- res_pjsip_session.c: End call on
|
||||
initial invalid SDP negotiation.
|
||||
* [38a4e983dc] Richard Mudgett -- res_pjsip.c: Register PJMEDIA error
|
||||
code decoder.
|
||||
ASTERISK-26061: [patch] res_pjsip: improve realtime performance - remove
|
||||
updating all endpoints status on startup
|
||||
Reported by: Alexei Gradinari
|
||||
* [b3c787d1dd] Alexei Gradinari -- res_pjsip: improve realtime
|
||||
performance #2
|
||||
|
||||
Category: Resources/res_pjsip/Bundling
|
||||
|
||||
ASTERISK-26148: pjsip: Cannot compile 13.10.0-rc1: "libasteriskpj.so:
|
||||
undefined reference to..."
|
||||
Reported by: Hans van Eijsden
|
||||
* [ba7582ba75] gtjoseph -- pjproject_bundled: Update for pjproject 2.5.5
|
||||
|
||||
Category: Resources/res_pjsip_mwi
|
||||
|
||||
ASTERISK-26200: [patch] res_pjsip_mwi: improve realtime performance -
|
||||
remove unneeded check on endpoint's contacts.
|
||||
Reported by: Alexei Gradinari
|
||||
* [cb58f853e1] Alexei Gradinari -- res_pjsip_mwi: remove unneeded check
|
||||
on endpoint's contacts.
|
||||
|
||||
Category: Resources/res_pjsip_pubsub
|
||||
|
||||
ASTERISK-26166: res_pjsip_pubsub: Crash when decrementing reference count
|
||||
of message
|
||||
Reported by: Ross Beer
|
||||
* [5997ec7c9e] Alexei Gradinari -- res_pjsip_pubsub: fixed a bug when
|
||||
pjsip_tx_data_dec_ref is called twice.
|
||||
ASTERISK-26099: res_pjsip_pubsub: Crash when sending request due to server
|
||||
timeout
|
||||
Reported by: Ross Beer
|
||||
* [43a78100c0] gtjoseph -- configure: Fix HAVE_PJSIP_EVSUB_GRP_LOCK not
|
||||
set with external pjproject
|
||||
|
||||
Category: Resources/res_pjsip_sdp_rtp
|
||||
|
||||
ASTERISK-26119: [patch] fix: memory leaks, resource leaks, out of bounds
|
||||
and bugs
|
||||
Reported by: Alexei Gradinari
|
||||
* [5ee205d8bb] Richard Mudgett -- ast_expr2: Fix off-nominal memory
|
||||
leak.
|
||||
|
||||
Category: Resources/res_realtime
|
||||
|
||||
ASTERISK-26172: res_sorcery_realtime: fix bug when successful sql UPDATE
|
||||
is treated as failed if there is no affected rows.
|
||||
Reported by: Alexei Gradinari
|
||||
* [b4a9fa2c9e] Alexei Gradinari -- res_sorcery_realtime: fix bug when
|
||||
successful UPDATE is treated as failed
|
||||
|
||||
Category: Resources/res_rtp_asterisk
|
||||
|
||||
ASTERISK-26207: [patch] sRTP: Count a roll-over of the sequence number
|
||||
even on lost packets.
|
||||
Reported by: Alexander Traud
|
||||
* [e404f51b42] Alexander Traud -- res_rtp_asterisk: Count a roll-over of
|
||||
the sequence number even on lost packets.
|
||||
ASTERISK-25659: res_rtp_asterisk: ECDH not negotiated causing DTLS failure
|
||||
occurred on RTP instance
|
||||
Reported by: Edwin Vandamme
|
||||
* [332beb27d8] Eugene Voityuk,Alexander Traud -- res_rtp_asterisk:
|
||||
Enable Forward Secrecy (PFS) for DTLS.
|
||||
|
||||
Category: Tests/General
|
||||
|
||||
ASTERISK-26211: Unit tests: AST_TEST_DEFINE should be used in conditional
|
||||
code.
|
||||
Reported by: Corey Farrell
|
||||
* [c8e41d14a1] Corey Farrell -- Unit tests: Use AST_TEST_DEFINE in
|
||||
conditional code only.
|
||||
|
||||
Category: pjproject/pjsip
|
||||
|
||||
ASTERISK-26199: PJSIP: tx_data_destroy called twice
|
||||
Reported by: Scott Griepentrog
|
||||
* [5997ec7c9e] Alexei Gradinari -- res_pjsip_pubsub: fixed a bug when
|
||||
pjsip_tx_data_dec_ref is called twice.
|
||||
|
||||
Improvement
|
||||
|
||||
Category: Channels/chan_pjsip
|
||||
|
||||
ASTERISK-22131: Update the make dependencies script to pull, build, and
|
||||
install the correct pjproject
|
||||
Reported by: Matt Jordan
|
||||
* [f5e9872016] Alexander Traud -- install_prereq: Checkout of libSRTP
|
||||
1.5.x.
|
||||
ASTERISK-25471: [patch]Add subscribe_context to res_pjsip
|
||||
Reported by: JoshE
|
||||
* [2c16a81dd5] Alexei Gradinari -- res_pjsip: Added "subscribe_context"
|
||||
to endpoint
|
||||
|
||||
Category: Core/BuildSystem
|
||||
|
||||
ASTERISK-26220: Add support for noreturn function attributes.
|
||||
Reported by: Corey Farrell
|
||||
* [7fdf7c3d4c] Corey Farrell -- Add conditional support for noreturn
|
||||
functions.
|
||||
|
||||
Category: Resources/res_hep
|
||||
|
||||
ASTERISK-26159: res_hep: enabled by default and information sent to
|
||||
default address
|
||||
Reported by: Ross Beer
|
||||
* [99eff80e76] Matt Jordan -- hep.conf.sample: Default 'enabled' to 'no'
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Commits Not Associated with an Issue
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This is a list of all changes that went into this release that did not
|
||||
reference a JIRA issue.
|
||||
|
||||
+------------------------------------------------------------------------+
|
||||
| Revision | Author | Summary |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 7d843d0bb5 | Kevin Harwell | Release summaries: Remove previous |
|
||||
| | | versions |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| e29b6f0326 | Kevin Harwell | .version: Update for 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 7b5be70a53 | Kevin Harwell | .lastclean: Update for 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| e22edb0481 | Kevin Harwell | realtime: Add database scripts for |
|
||||
| | | 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 9cb51fb550 | Kevin Harwell | ChangeLog: Updated for 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 5c3bffce09 | Kevin Harwell | Release summaries: Add summaries for |
|
||||
| | | 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 7b9cb3c450 | Kevin Harwell | Release summaries: Remove previous |
|
||||
| | | versions |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| ebd944a54d | Kevin Harwell | .version: Update for 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| fa7feca7dd | Kevin Harwell | .lastclean: Update for 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| dcb70dfaea | Kevin Harwell | realtime: Add database scripts for |
|
||||
| | | 13.11.0 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 35fd61b9dc | Kevin Harwell | ChangeLog: Updated for 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 3d2ed81c1b | Kevin Harwell | Release summaries: Add summaries for |
|
||||
| | | 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 313683b96d | Kevin Harwell | Release summaries: Remove previous |
|
||||
| | | versions |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 2a99049ea4 | Kevin Harwell | .version: Update for 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 620046255f | Kevin Harwell | .lastclean: Update for 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 09647449e4 | Kevin Harwell | realtime: Add database scripts for |
|
||||
| | | 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| e64170e493 | gtjoseph | res_rtp_multicast: Fix SEGV in |
|
||||
| | | ast_multicast_rtp_create_options |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 91e415b970 | Kevin Harwell | ChangeLog: Updated for 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 9c8a7bf1e9 | Kevin Harwell | Release summaries: Add summaries for |
|
||||
| | | 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| c29eb6cad1 | Kevin Harwell | Release summaries: Remove previous |
|
||||
| | | versions |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 53ab4718ac | Kevin Harwell | .version: Update for 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 98b7b9e101 | Kevin Harwell | .lastclean: Update for 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 9de68f3d44 | Kevin Harwell | realtime: Add database scripts for |
|
||||
| | | 13.11.0-rc2 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| e6c2a29ad2 | Mark Michelson | Remove SILK payload mappings from |
|
||||
| | | Asterisk core. |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 9f083db88b | Mark Michelson | ChangeLog: Updated for 13.11.0-rc1 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 3bfaf6b172 | Mark Michelson | Release summaries: Add summaries for |
|
||||
| | | 13.11.0-rc1 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| ca145e1807 | Mark Michelson | .version: Update for 13.11.0-rc1 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 918ebf79ff | Mark Michelson | .lastclean: Update for 13.11.0-rc1 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| d7afc1cf9d | Mark Michelson | realtime: Add database scripts for |
|
||||
| | | 13.11.0-rc1 |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 33716106e0 | Richard | res_pjsip: Whitespace and comment |
|
||||
| | Mudgett | cleanup. |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 76d4983c15 | Corey Farrell | features.c: Remove unneeded adsi.h |
|
||||
| | | include. |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 28501051b4 | Mark Michelson | Update support for SILK format. |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 8cef8f35e7 | Kevin Harwell | translate: explicit format destination |
|
||||
| | | not properly set |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| afbd10b0c5 | Richard | stasis_endpoint.c: Fix |
|
||||
| | Mudgett | contactstatus_to_json(). |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| fea201f7e6 | Richard | pjsip_options.c: Fix container |
|
||||
| | Mudgett | operation. |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 02877b4b4f | Richard | pjsip_configuration.c: Misc cleanups. |
|
||||
| | Mudgett | |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 1dfd3fc995 | Matt Jordan | res/res_pjsip_session: Check for |
|
||||
| | | presence of an active negotiator |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 9dd0aeeb44 | Matt Jordan | res/res_pjsip_pubsub: Add additional |
|
||||
| | | debug statements |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 1ec4f8dd00 | Matt Jordan | res/res_corosync: Raise a Stasis message |
|
||||
| | | on node join/leave events |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 640fbbbe28 | Richard | features: Fix channel datastore access. |
|
||||
| | Mudgett | |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 1952434df5 | Richard | res_pjsip_session.c: Remove unused |
|
||||
| | Mudgett | parameter from handle_incoming(). |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 28928ba5c4 | Richard | res_pjsip: Add missing NULL checks when |
|
||||
| | Mudgett | using pjsip_inv_end_session(). |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 78960975f2 | Matt Jordan | pjproject/patches/config_site: Increase |
|
||||
| | | the max number of ICE candidates |
|
||||
|------------+----------------+------------------------------------------|
|
||||
| 9d5b0934d9 | Matt Jordan | configs/basic-pbx/modules.conf: Remove |
|
||||
| | | 'bad' modules |
|
||||
+------------------------------------------------------------------------+
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Diffstat Results
|
||||
|
||||
[Back to Top]
|
||||
|
||||
This is a summary of the changes to the source code that went into this
|
||||
release that was generated using the diffstat utility.
|
||||
|
||||
asterisk-13.10.0-summary.html | 488 ----
|
||||
asterisk-13.10.0-summary.txt | 1217 ----------
|
||||
autoconf/acx_pthread.m4 | 243 -
|
||||
b/.version | 2
|
||||
b/CHANGES | 49
|
||||
b/ChangeLog | 1053 ++++++++
|
||||
b/Makefile | 6
|
||||
b/apps/app_queue.c | 26
|
||||
b/apps/app_voicemail.c | 2
|
||||
b/autoconf/ax_pthread.m4 | 485 +++
|
||||
b/autoconf/libcurl.m4 | 49
|
||||
b/channels/chan_dahdi.c | 43
|
||||
b/channels/chan_dahdi.h | 5
|
||||
b/channels/chan_pjsip.c | 59
|
||||
b/channels/chan_sip.c | 136 -
|
||||
b/channels/chan_unistim.c | 2
|
||||
b/channels/sip/config_parser.c | 7
|
||||
b/channels/sip/reqresp_parser.c | 23
|
||||
b/configs/basic-pbx/modules.conf | 4
|
||||
b/configs/samples/chan_dahdi.conf.sample | 9
|
||||
b/configs/samples/hep.conf.sample | 2
|
||||
b/configs/samples/pjsip.conf.sample | 22
|
||||
b/configure | 783 ++++--
|
||||
b/configure.ac | 21
|
||||
b/contrib/ast-db-manage/config/versions/4a6c67fa9b7a_add_fax_detect_timeout_option.py | 23
|
||||
b/contrib/ast-db-manage/config/versions/9deac0ae4717_pjsip_add_subscribe_context.py | 21
|
||||
b/contrib/ast-db-manage/config/versions/ef7efc2d3964_ps_contacts_add_endpoint_and_modify_.py | 33
|
||||
b/contrib/realtime/mssql/mssql_config.sql | 42
|
||||
b/contrib/realtime/mysql/mysql_config.sql | 24
|
||||
b/contrib/realtime/oracle/oracle_config.sql | 42
|
||||
b/contrib/realtime/postgresql/postgresql_config.sql | 24
|
||||
b/contrib/scripts/install_prereq | 4
|
||||
b/funcs/func_curl.c | 2
|
||||
b/funcs/func_env.c | 4
|
||||
b/include/asterisk/autoconfig.h.in | 24
|
||||
b/include/asterisk/compiler.h | 6
|
||||
b/include/asterisk/event_defs.h | 13
|
||||
b/include/asterisk/format_cache.h | 8
|
||||
b/include/asterisk/res_fax.h | 4
|
||||
b/include/asterisk/res_pjsip.h | 20
|
||||
b/include/asterisk/res_pjsip_session.h | 2
|
||||
b/include/asterisk/stasis_system.h | 6
|
||||
b/include/asterisk/utils.h | 9
|
||||
b/main/ast_expr2.c | 2
|
||||
b/main/ast_expr2.y | 2
|
||||
b/main/astobj2_hash.c | 4
|
||||
b/main/astobj2_rbtree.c | 2
|
||||
b/main/bridge_channel.c | 9
|
||||
b/main/channel.c | 33
|
||||
b/main/codec_builtin.c | 63
|
||||
b/main/dsp.c | 8
|
||||
b/main/features.c | 7
|
||||
b/main/format_cache.c | 20
|
||||
b/main/pbx.c | 19
|
||||
b/main/say.c | 16
|
||||
b/main/stasis_endpoints.c | 34
|
||||
b/main/stasis_system.c | 6
|
||||
b/main/stdtime/localtime.c | 11
|
||||
b/main/threadpool.c | 6
|
||||
b/main/translate.c | 2
|
||||
b/main/utils.c | 4
|
||||
b/res/res_config_odbc.c | 1
|
||||
b/res/res_corosync.c | 273 ++
|
||||
b/res/res_fax.c | 58
|
||||
b/res/res_format_attr_silk.c | 64
|
||||
b/res/res_format_attr_siren14.c | 94
|
||||
b/res/res_format_attr_siren7.c | 94
|
||||
b/res/res_pjsip.c | 99
|
||||
b/res/res_pjsip/config_transport.c | 3
|
||||
b/res/res_pjsip/location.c | 6
|
||||
b/res/res_pjsip/pjsip_configuration.c | 168 -
|
||||
b/res/res_pjsip/pjsip_options.c | 130 +
|
||||
b/res/res_pjsip_exten_state.c | 10
|
||||
b/res/res_pjsip_mwi.c | 28
|
||||
b/res/res_pjsip_pubsub.c | 6
|
||||
b/res/res_pjsip_refer.c | 3
|
||||
b/res/res_pjsip_session.c | 129 -
|
||||
b/res/res_pjsip_t38.c | 4
|
||||
b/res/res_rtp_asterisk.c | 43
|
||||
b/res/res_rtp_multicast.c | 7
|
||||
b/res/res_sorcery_realtime.c | 2
|
||||
b/tests/test_sorcery_realtime.c | 37
|
||||
b/third-party/pjproject/Makefile.rules | 31
|
||||
b/third-party/pjproject/patches/0002-Fix-1946-Avoid-deinitialization-of-uninitialized-cli.patch | 25
|
||||
third-party/pjproject/patches/0001-evsub-Add-APIs-to-add-decrement-an-event-subscriptio.patch | 73
|
||||
third-party/pjproject/patches/0001-sip_transport_tcp-tls-Set-factory-on-transports-crea.patch | 48
|
||||
86 files changed, 3904 insertions(+), 2827 deletions(-)
|
44
contrib/realtime/mssql/mssql_cdr.sql
Normal file
44
contrib/realtime/mssql/mssql_cdr.sql
Normal file
@@ -0,0 +1,44 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
GO
|
||||
|
||||
-- Running upgrade -> 210693f3123d
|
||||
|
||||
CREATE TABLE cdr (
|
||||
accountcode VARCHAR(20) NULL,
|
||||
src VARCHAR(80) NULL,
|
||||
dst VARCHAR(80) NULL,
|
||||
dcontext VARCHAR(80) NULL,
|
||||
clid VARCHAR(80) NULL,
|
||||
channel VARCHAR(80) NULL,
|
||||
dstchannel VARCHAR(80) NULL,
|
||||
lastapp VARCHAR(80) NULL,
|
||||
lastdata VARCHAR(80) NULL,
|
||||
start DATETIME NULL,
|
||||
answer DATETIME NULL,
|
||||
[end] DATETIME NULL,
|
||||
duration INTEGER NULL,
|
||||
billsec INTEGER NULL,
|
||||
disposition VARCHAR(45) NULL,
|
||||
amaflags VARCHAR(45) NULL,
|
||||
userfield VARCHAR(256) NULL,
|
||||
uniqueid VARCHAR(150) NULL,
|
||||
linkedid VARCHAR(150) NULL,
|
||||
peeraccount VARCHAR(20) NULL,
|
||||
sequence INTEGER NULL
|
||||
);
|
||||
|
||||
GO
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
|
||||
|
||||
GO
|
||||
|
||||
COMMIT;
|
||||
|
||||
GO
|
||||
|
1482
contrib/realtime/mssql/mssql_config.sql
Normal file
1482
contrib/realtime/mssql/mssql_config.sql
Normal file
File diff suppressed because it is too large
Load Diff
54
contrib/realtime/mssql/mssql_voicemail.sql
Normal file
54
contrib/realtime/mssql/mssql_voicemail.sql
Normal file
@@ -0,0 +1,54 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
GO
|
||||
|
||||
-- Running upgrade -> a2e9769475e
|
||||
|
||||
CREATE TABLE voicemail_messages (
|
||||
dir VARCHAR(255) NOT NULL,
|
||||
msgnum INTEGER NOT NULL,
|
||||
context VARCHAR(80) NULL,
|
||||
macrocontext VARCHAR(80) NULL,
|
||||
callerid VARCHAR(80) NULL,
|
||||
origtime INTEGER NULL,
|
||||
duration INTEGER NULL,
|
||||
recording IMAGE NULL,
|
||||
flag VARCHAR(30) NULL,
|
||||
category VARCHAR(30) NULL,
|
||||
mailboxuser VARCHAR(30) NULL,
|
||||
mailboxcontext VARCHAR(30) NULL,
|
||||
msg_id VARCHAR(40) NULL
|
||||
);
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
|
||||
|
||||
GO
|
||||
|
||||
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
|
||||
|
||||
GO
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
|
||||
|
||||
GO
|
||||
|
||||
-- Running upgrade a2e9769475e -> 39428242f7f5
|
||||
|
||||
ALTER TABLE voicemail_messages ALTER COLUMN recording IMAGE;
|
||||
|
||||
GO
|
||||
|
||||
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';
|
||||
|
||||
GO
|
||||
|
||||
COMMIT;
|
||||
|
||||
GO
|
||||
|
32
contrib/realtime/mysql/mysql_cdr.sql
Normal file
32
contrib/realtime/mysql/mysql_cdr.sql
Normal file
@@ -0,0 +1,32 @@
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
-- Running upgrade -> 210693f3123d
|
||||
|
||||
CREATE TABLE cdr (
|
||||
accountcode VARCHAR(20),
|
||||
src VARCHAR(80),
|
||||
dst VARCHAR(80),
|
||||
dcontext VARCHAR(80),
|
||||
clid VARCHAR(80),
|
||||
channel VARCHAR(80),
|
||||
dstchannel VARCHAR(80),
|
||||
lastapp VARCHAR(80),
|
||||
lastdata VARCHAR(80),
|
||||
start DATETIME,
|
||||
answer DATETIME,
|
||||
end DATETIME,
|
||||
duration INTEGER,
|
||||
billsec INTEGER,
|
||||
disposition VARCHAR(45),
|
||||
amaflags VARCHAR(45),
|
||||
userfield VARCHAR(256),
|
||||
uniqueid VARCHAR(150),
|
||||
linkedid VARCHAR(150),
|
||||
peeraccount VARCHAR(20),
|
||||
sequence INTEGER
|
||||
);
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
|
||||
|
923
contrib/realtime/mysql/mysql_config.sql
Normal file
923
contrib/realtime/mysql/mysql_config.sql
Normal file
@@ -0,0 +1,923 @@
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
-- Running upgrade -> 4da0c5f79a9c
|
||||
|
||||
CREATE TABLE sippeers (
|
||||
id INTEGER NOT NULL AUTO_INCREMENT,
|
||||
name VARCHAR(40) NOT NULL,
|
||||
ipaddr VARCHAR(45),
|
||||
port INTEGER,
|
||||
regseconds INTEGER,
|
||||
defaultuser VARCHAR(40),
|
||||
fullcontact VARCHAR(80),
|
||||
regserver VARCHAR(20),
|
||||
useragent VARCHAR(20),
|
||||
lastms INTEGER,
|
||||
host VARCHAR(40),
|
||||
type ENUM('friend','user','peer'),
|
||||
context VARCHAR(40),
|
||||
permit VARCHAR(95),
|
||||
deny VARCHAR(95),
|
||||
secret VARCHAR(40),
|
||||
md5secret VARCHAR(40),
|
||||
remotesecret VARCHAR(40),
|
||||
transport ENUM('udp','tcp','tls','ws','wss','udp,tcp','tcp,udp'),
|
||||
dtmfmode ENUM('rfc2833','info','shortinfo','inband','auto'),
|
||||
directmedia ENUM('yes','no','nonat','update'),
|
||||
nat VARCHAR(29),
|
||||
callgroup VARCHAR(40),
|
||||
pickupgroup VARCHAR(40),
|
||||
language VARCHAR(40),
|
||||
disallow VARCHAR(200),
|
||||
allow VARCHAR(200),
|
||||
insecure VARCHAR(40),
|
||||
trustrpid ENUM('yes','no'),
|
||||
progressinband ENUM('yes','no','never'),
|
||||
promiscredir ENUM('yes','no'),
|
||||
useclientcode ENUM('yes','no'),
|
||||
accountcode VARCHAR(40),
|
||||
setvar VARCHAR(200),
|
||||
callerid VARCHAR(40),
|
||||
amaflags VARCHAR(40),
|
||||
callcounter ENUM('yes','no'),
|
||||
busylevel INTEGER,
|
||||
allowoverlap ENUM('yes','no'),
|
||||
allowsubscribe ENUM('yes','no'),
|
||||
videosupport ENUM('yes','no'),
|
||||
maxcallbitrate INTEGER,
|
||||
rfc2833compensate ENUM('yes','no'),
|
||||
mailbox VARCHAR(40),
|
||||
`session-timers` ENUM('accept','refuse','originate'),
|
||||
`session-expires` INTEGER,
|
||||
`session-minse` INTEGER,
|
||||
`session-refresher` ENUM('uac','uas'),
|
||||
t38pt_usertpsource VARCHAR(40),
|
||||
regexten VARCHAR(40),
|
||||
fromdomain VARCHAR(40),
|
||||
fromuser VARCHAR(40),
|
||||
qualify VARCHAR(40),
|
||||
defaultip VARCHAR(45),
|
||||
rtptimeout INTEGER,
|
||||
rtpholdtimeout INTEGER,
|
||||
sendrpid ENUM('yes','no'),
|
||||
outboundproxy VARCHAR(40),
|
||||
callbackextension VARCHAR(40),
|
||||
timert1 INTEGER,
|
||||
timerb INTEGER,
|
||||
qualifyfreq INTEGER,
|
||||
constantssrc ENUM('yes','no'),
|
||||
contactpermit VARCHAR(95),
|
||||
contactdeny VARCHAR(95),
|
||||
usereqphone ENUM('yes','no'),
|
||||
textsupport ENUM('yes','no'),
|
||||
faxdetect ENUM('yes','no'),
|
||||
buggymwi ENUM('yes','no'),
|
||||
auth VARCHAR(40),
|
||||
fullname VARCHAR(40),
|
||||
trunkname VARCHAR(40),
|
||||
cid_number VARCHAR(40),
|
||||
callingpres ENUM('allowed_not_screened','allowed_passed_screen','allowed_failed_screen','allowed','prohib_not_screened','prohib_passed_screen','prohib_failed_screen','prohib'),
|
||||
mohinterpret VARCHAR(40),
|
||||
mohsuggest VARCHAR(40),
|
||||
parkinglot VARCHAR(40),
|
||||
hasvoicemail ENUM('yes','no'),
|
||||
subscribemwi ENUM('yes','no'),
|
||||
vmexten VARCHAR(40),
|
||||
autoframing ENUM('yes','no'),
|
||||
rtpkeepalive INTEGER,
|
||||
`call-limit` INTEGER,
|
||||
g726nonstandard ENUM('yes','no'),
|
||||
ignoresdpversion ENUM('yes','no'),
|
||||
allowtransfer ENUM('yes','no'),
|
||||
dynamic ENUM('yes','no'),
|
||||
path VARCHAR(256),
|
||||
supportpath ENUM('yes','no'),
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE (name)
|
||||
);
|
||||
|
||||
CREATE INDEX sippeers_name ON sippeers (name);
|
||||
|
||||
CREATE INDEX sippeers_name_host ON sippeers (name, host);
|
||||
|
||||
CREATE INDEX sippeers_ipaddr_port ON sippeers (ipaddr, port);
|
||||
|
||||
CREATE INDEX sippeers_host_port ON sippeers (host, port);
|
||||
|
||||
CREATE TABLE iaxfriends (
|
||||
id INTEGER NOT NULL AUTO_INCREMENT,
|
||||
name VARCHAR(40) NOT NULL,
|
||||
type ENUM('friend','user','peer'),
|
||||
username VARCHAR(40),
|
||||
mailbox VARCHAR(40),
|
||||
secret VARCHAR(40),
|
||||
dbsecret VARCHAR(40),
|
||||
context VARCHAR(40),
|
||||
regcontext VARCHAR(40),
|
||||
host VARCHAR(40),
|
||||
ipaddr VARCHAR(40),
|
||||
port INTEGER,
|
||||
defaultip VARCHAR(20),
|
||||
sourceaddress VARCHAR(20),
|
||||
mask VARCHAR(20),
|
||||
regexten VARCHAR(40),
|
||||
regseconds INTEGER,
|
||||
accountcode VARCHAR(20),
|
||||
mohinterpret VARCHAR(20),
|
||||
mohsuggest VARCHAR(20),
|
||||
inkeys VARCHAR(40),
|
||||
outkeys VARCHAR(40),
|
||||
language VARCHAR(10),
|
||||
callerid VARCHAR(100),
|
||||
cid_number VARCHAR(40),
|
||||
sendani ENUM('yes','no'),
|
||||
fullname VARCHAR(40),
|
||||
trunk ENUM('yes','no'),
|
||||
auth VARCHAR(20),
|
||||
maxauthreq INTEGER,
|
||||
requirecalltoken ENUM('yes','no','auto'),
|
||||
encryption ENUM('yes','no','aes128'),
|
||||
transfer ENUM('yes','no','mediaonly'),
|
||||
jitterbuffer ENUM('yes','no'),
|
||||
forcejitterbuffer ENUM('yes','no'),
|
||||
disallow VARCHAR(200),
|
||||
allow VARCHAR(200),
|
||||
codecpriority VARCHAR(40),
|
||||
qualify VARCHAR(10),
|
||||
qualifysmoothing ENUM('yes','no'),
|
||||
qualifyfreqok VARCHAR(10),
|
||||
qualifyfreqnotok VARCHAR(10),
|
||||
timezone VARCHAR(20),
|
||||
adsi ENUM('yes','no'),
|
||||
amaflags VARCHAR(20),
|
||||
setvar VARCHAR(200),
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE (name)
|
||||
);
|
||||
|
||||
CREATE INDEX iaxfriends_name ON iaxfriends (name);
|
||||
|
||||
CREATE INDEX iaxfriends_name_host ON iaxfriends (name, host);
|
||||
|
||||
CREATE INDEX iaxfriends_name_ipaddr_port ON iaxfriends (name, ipaddr, port);
|
||||
|
||||
CREATE INDEX iaxfriends_ipaddr_port ON iaxfriends (ipaddr, port);
|
||||
|
||||
CREATE INDEX iaxfriends_host_port ON iaxfriends (host, port);
|
||||
|
||||
CREATE TABLE voicemail (
|
||||
uniqueid INTEGER NOT NULL AUTO_INCREMENT,
|
||||
context VARCHAR(80) NOT NULL,
|
||||
mailbox VARCHAR(80) NOT NULL,
|
||||
password VARCHAR(80) NOT NULL,
|
||||
fullname VARCHAR(80),
|
||||
alias VARCHAR(80),
|
||||
email VARCHAR(80),
|
||||
pager VARCHAR(80),
|
||||
attach ENUM('yes','no'),
|
||||
attachfmt VARCHAR(10),
|
||||
serveremail VARCHAR(80),
|
||||
language VARCHAR(20),
|
||||
tz VARCHAR(30),
|
||||
deletevoicemail ENUM('yes','no'),
|
||||
saycid ENUM('yes','no'),
|
||||
sendvoicemail ENUM('yes','no'),
|
||||
review ENUM('yes','no'),
|
||||
tempgreetwarn ENUM('yes','no'),
|
||||
operator ENUM('yes','no'),
|
||||
envelope ENUM('yes','no'),
|
||||
sayduration INTEGER,
|
||||
forcename ENUM('yes','no'),
|
||||
forcegreetings ENUM('yes','no'),
|
||||
callback VARCHAR(80),
|
||||
dialout VARCHAR(80),
|
||||
exitcontext VARCHAR(80),
|
||||
maxmsg INTEGER,
|
||||
volgain NUMERIC(5, 2),
|
||||
imapuser VARCHAR(80),
|
||||
imappassword VARCHAR(80),
|
||||
imapserver VARCHAR(80),
|
||||
imapport VARCHAR(8),
|
||||
imapflags VARCHAR(80),
|
||||
stamp DATETIME,
|
||||
PRIMARY KEY (uniqueid)
|
||||
);
|
||||
|
||||
CREATE INDEX voicemail_mailbox ON voicemail (mailbox);
|
||||
|
||||
CREATE INDEX voicemail_context ON voicemail (context);
|
||||
|
||||
CREATE INDEX voicemail_mailbox_context ON voicemail (mailbox, context);
|
||||
|
||||
CREATE INDEX voicemail_imapuser ON voicemail (imapuser);
|
||||
|
||||
CREATE TABLE meetme (
|
||||
bookid INTEGER NOT NULL AUTO_INCREMENT,
|
||||
confno VARCHAR(80) NOT NULL,
|
||||
starttime DATETIME,
|
||||
endtime DATETIME,
|
||||
pin VARCHAR(20),
|
||||
adminpin VARCHAR(20),
|
||||
opts VARCHAR(20),
|
||||
adminopts VARCHAR(20),
|
||||
recordingfilename VARCHAR(80),
|
||||
recordingformat VARCHAR(10),
|
||||
maxusers INTEGER,
|
||||
members INTEGER NOT NULL,
|
||||
PRIMARY KEY (bookid)
|
||||
);
|
||||
|
||||
CREATE INDEX meetme_confno_start_end ON meetme (confno, starttime, endtime);
|
||||
|
||||
CREATE TABLE musiconhold (
|
||||
name VARCHAR(80) NOT NULL,
|
||||
mode ENUM('custom','files','mp3nb','quietmp3nb','quietmp3'),
|
||||
directory VARCHAR(255),
|
||||
application VARCHAR(255),
|
||||
digit VARCHAR(1),
|
||||
sort VARCHAR(10),
|
||||
format VARCHAR(10),
|
||||
stamp DATETIME,
|
||||
PRIMARY KEY (name)
|
||||
);
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('4da0c5f79a9c');
|
||||
|
||||
-- Running upgrade 4da0c5f79a9c -> 43956d550a44
|
||||
|
||||
CREATE TABLE ps_endpoints (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
transport VARCHAR(40),
|
||||
aors VARCHAR(200),
|
||||
auth VARCHAR(40),
|
||||
context VARCHAR(40),
|
||||
disallow VARCHAR(200),
|
||||
allow VARCHAR(200),
|
||||
direct_media ENUM('yes','no'),
|
||||
connected_line_method ENUM('invite','reinvite','update'),
|
||||
direct_media_method ENUM('invite','reinvite','update'),
|
||||
direct_media_glare_mitigation ENUM('none','outgoing','incoming'),
|
||||
disable_direct_media_on_nat ENUM('yes','no'),
|
||||
dtmf_mode ENUM('rfc4733','inband','info'),
|
||||
external_media_address VARCHAR(40),
|
||||
force_rport ENUM('yes','no'),
|
||||
ice_support ENUM('yes','no'),
|
||||
identify_by ENUM('username'),
|
||||
mailboxes VARCHAR(40),
|
||||
moh_suggest VARCHAR(40),
|
||||
outbound_auth VARCHAR(40),
|
||||
outbound_proxy VARCHAR(40),
|
||||
rewrite_contact ENUM('yes','no'),
|
||||
rtp_ipv6 ENUM('yes','no'),
|
||||
rtp_symmetric ENUM('yes','no'),
|
||||
send_diversion ENUM('yes','no'),
|
||||
send_pai ENUM('yes','no'),
|
||||
send_rpid ENUM('yes','no'),
|
||||
timers_min_se INTEGER,
|
||||
timers ENUM('forced','no','required','yes'),
|
||||
timers_sess_expires INTEGER,
|
||||
callerid VARCHAR(40),
|
||||
callerid_privacy ENUM('allowed_not_screened','allowed_passed_screened','allowed_failed_screened','allowed','prohib_not_screened','prohib_passed_screened','prohib_failed_screened','prohib','unavailable'),
|
||||
callerid_tag VARCHAR(40),
|
||||
`100rel` ENUM('no','required','yes'),
|
||||
aggregate_mwi ENUM('yes','no'),
|
||||
trust_id_inbound ENUM('yes','no'),
|
||||
trust_id_outbound ENUM('yes','no'),
|
||||
use_ptime ENUM('yes','no'),
|
||||
use_avpf ENUM('yes','no'),
|
||||
media_encryption ENUM('no','sdes','dtls'),
|
||||
inband_progress ENUM('yes','no'),
|
||||
call_group VARCHAR(40),
|
||||
pickup_group VARCHAR(40),
|
||||
named_call_group VARCHAR(40),
|
||||
named_pickup_group VARCHAR(40),
|
||||
device_state_busy_at INTEGER,
|
||||
fax_detect ENUM('yes','no'),
|
||||
t38_udptl ENUM('yes','no'),
|
||||
t38_udptl_ec ENUM('none','fec','redundancy'),
|
||||
t38_udptl_maxdatagram INTEGER,
|
||||
t38_udptl_nat ENUM('yes','no'),
|
||||
t38_udptl_ipv6 ENUM('yes','no'),
|
||||
tone_zone VARCHAR(40),
|
||||
language VARCHAR(40),
|
||||
one_touch_recording ENUM('yes','no'),
|
||||
record_on_feature VARCHAR(40),
|
||||
record_off_feature VARCHAR(40),
|
||||
rtp_engine VARCHAR(40),
|
||||
allow_transfer ENUM('yes','no'),
|
||||
allow_subscribe ENUM('yes','no'),
|
||||
sdp_owner VARCHAR(40),
|
||||
sdp_session VARCHAR(40),
|
||||
tos_audio INTEGER,
|
||||
tos_video INTEGER,
|
||||
cos_audio INTEGER,
|
||||
cos_video INTEGER,
|
||||
sub_min_expiry INTEGER,
|
||||
from_domain VARCHAR(40),
|
||||
from_user VARCHAR(40),
|
||||
mwi_fromuser VARCHAR(40),
|
||||
dtls_verify VARCHAR(40),
|
||||
dtls_rekey VARCHAR(40),
|
||||
dtls_cert_file VARCHAR(200),
|
||||
dtls_private_key VARCHAR(200),
|
||||
dtls_cipher VARCHAR(200),
|
||||
dtls_ca_file VARCHAR(200),
|
||||
dtls_ca_path VARCHAR(200),
|
||||
dtls_setup ENUM('active','passive','actpass'),
|
||||
srtp_tag_32 ENUM('yes','no'),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_endpoints_id ON ps_endpoints (id);
|
||||
|
||||
CREATE TABLE ps_auths (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
auth_type ENUM('md5','userpass'),
|
||||
nonce_lifetime INTEGER,
|
||||
md5_cred VARCHAR(40),
|
||||
password VARCHAR(80),
|
||||
realm VARCHAR(40),
|
||||
username VARCHAR(40),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_auths_id ON ps_auths (id);
|
||||
|
||||
CREATE TABLE ps_aors (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
contact VARCHAR(40),
|
||||
default_expiration INTEGER,
|
||||
mailboxes VARCHAR(80),
|
||||
max_contacts INTEGER,
|
||||
minimum_expiration INTEGER,
|
||||
remove_existing ENUM('yes','no'),
|
||||
qualify_frequency INTEGER,
|
||||
authenticate_qualify ENUM('yes','no'),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_aors_id ON ps_aors (id);
|
||||
|
||||
CREATE TABLE ps_contacts (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
uri VARCHAR(40),
|
||||
expiration_time VARCHAR(40),
|
||||
qualify_frequency INTEGER,
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_contacts_id ON ps_contacts (id);
|
||||
|
||||
CREATE TABLE ps_domain_aliases (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
domain VARCHAR(80),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_domain_aliases_id ON ps_domain_aliases (id);
|
||||
|
||||
CREATE TABLE ps_endpoint_id_ips (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
endpoint VARCHAR(40),
|
||||
`match` VARCHAR(80),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_endpoint_id_ips_id ON ps_endpoint_id_ips (id);
|
||||
|
||||
UPDATE alembic_version SET version_num='43956d550a44' WHERE alembic_version.version_num = '4da0c5f79a9c';
|
||||
|
||||
-- Running upgrade 43956d550a44 -> 581a4264e537
|
||||
|
||||
CREATE TABLE extensions (
|
||||
id BIGINT NOT NULL AUTO_INCREMENT,
|
||||
context VARCHAR(40) NOT NULL,
|
||||
exten VARCHAR(40) NOT NULL,
|
||||
priority INTEGER NOT NULL,
|
||||
app VARCHAR(40) NOT NULL,
|
||||
appdata VARCHAR(256) NOT NULL,
|
||||
PRIMARY KEY (id, context, exten, priority),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
UPDATE alembic_version SET version_num='581a4264e537' WHERE alembic_version.version_num = '43956d550a44';
|
||||
|
||||
-- Running upgrade 581a4264e537 -> 2fc7930b41b3
|
||||
|
||||
CREATE TABLE ps_systems (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
timer_t1 INTEGER,
|
||||
timer_b INTEGER,
|
||||
compact_headers ENUM('yes','no'),
|
||||
threadpool_initial_size INTEGER,
|
||||
threadpool_auto_increment INTEGER,
|
||||
threadpool_idle_timeout INTEGER,
|
||||
threadpool_max_size INTEGER,
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_systems_id ON ps_systems (id);
|
||||
|
||||
CREATE TABLE ps_globals (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
max_forwards INTEGER,
|
||||
user_agent VARCHAR(40),
|
||||
default_outbound_endpoint VARCHAR(40),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_globals_id ON ps_globals (id);
|
||||
|
||||
CREATE TABLE ps_transports (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
async_operations INTEGER,
|
||||
bind VARCHAR(40),
|
||||
ca_list_file VARCHAR(200),
|
||||
cert_file VARCHAR(200),
|
||||
cipher VARCHAR(200),
|
||||
domain VARCHAR(40),
|
||||
external_media_address VARCHAR(40),
|
||||
external_signaling_address VARCHAR(40),
|
||||
external_signaling_port INTEGER,
|
||||
method ENUM('default','unspecified','tlsv1','sslv2','sslv3','sslv23'),
|
||||
local_net VARCHAR(40),
|
||||
password VARCHAR(40),
|
||||
priv_key_file VARCHAR(200),
|
||||
protocol ENUM('udp','tcp','tls','ws','wss'),
|
||||
require_client_cert ENUM('yes','no'),
|
||||
verify_client ENUM('yes','no'),
|
||||
verifiy_server ENUM('yes','no'),
|
||||
tos ENUM('yes','no'),
|
||||
cos ENUM('yes','no'),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_transports_id ON ps_transports (id);
|
||||
|
||||
CREATE TABLE ps_registrations (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
auth_rejection_permanent ENUM('yes','no'),
|
||||
client_uri VARCHAR(40),
|
||||
contact_user VARCHAR(40),
|
||||
expiration INTEGER,
|
||||
max_retries INTEGER,
|
||||
outbound_auth VARCHAR(40),
|
||||
outbound_proxy VARCHAR(40),
|
||||
retry_interval INTEGER,
|
||||
forbidden_retry_interval INTEGER,
|
||||
server_uri VARCHAR(40),
|
||||
transport VARCHAR(40),
|
||||
support_path ENUM('yes','no'),
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_registrations_id ON ps_registrations (id);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN media_address VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN redirect_method ENUM('user','uri_core','uri_pjsip');
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN set_var TEXT;
|
||||
|
||||
ALTER TABLE ps_endpoints CHANGE mwi_fromuser mwi_from_user VARCHAR(40) NULL;
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN outbound_proxy VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN path TEXT;
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN maximum_expiration INTEGER;
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN outbound_proxy VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN support_path ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='2fc7930b41b3' WHERE alembic_version.version_num = '581a4264e537';
|
||||
|
||||
-- Running upgrade 2fc7930b41b3 -> 21e526ad3040
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN debug VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='21e526ad3040' WHERE alembic_version.version_num = '2fc7930b41b3';
|
||||
|
||||
-- Running upgrade 21e526ad3040 -> 28887f25a46f
|
||||
|
||||
CREATE TABLE queues (
|
||||
name VARCHAR(128) NOT NULL,
|
||||
musiconhold VARCHAR(128),
|
||||
announce VARCHAR(128),
|
||||
context VARCHAR(128),
|
||||
timeout INTEGER,
|
||||
ringinuse ENUM('yes','no'),
|
||||
setinterfacevar ENUM('yes','no'),
|
||||
setqueuevar ENUM('yes','no'),
|
||||
setqueueentryvar ENUM('yes','no'),
|
||||
monitor_format VARCHAR(8),
|
||||
membermacro VARCHAR(512),
|
||||
membergosub VARCHAR(512),
|
||||
queue_youarenext VARCHAR(128),
|
||||
queue_thereare VARCHAR(128),
|
||||
queue_callswaiting VARCHAR(128),
|
||||
queue_quantity1 VARCHAR(128),
|
||||
queue_quantity2 VARCHAR(128),
|
||||
queue_holdtime VARCHAR(128),
|
||||
queue_minutes VARCHAR(128),
|
||||
queue_minute VARCHAR(128),
|
||||
queue_seconds VARCHAR(128),
|
||||
queue_thankyou VARCHAR(128),
|
||||
queue_callerannounce VARCHAR(128),
|
||||
queue_reporthold VARCHAR(128),
|
||||
announce_frequency INTEGER,
|
||||
announce_to_first_user ENUM('yes','no'),
|
||||
min_announce_frequency INTEGER,
|
||||
announce_round_seconds INTEGER,
|
||||
announce_holdtime VARCHAR(128),
|
||||
announce_position VARCHAR(128),
|
||||
announce_position_limit INTEGER,
|
||||
periodic_announce VARCHAR(50),
|
||||
periodic_announce_frequency INTEGER,
|
||||
relative_periodic_announce ENUM('yes','no'),
|
||||
random_periodic_announce ENUM('yes','no'),
|
||||
retry INTEGER,
|
||||
wrapuptime INTEGER,
|
||||
penaltymemberslimit INTEGER,
|
||||
autofill ENUM('yes','no'),
|
||||
monitor_type VARCHAR(128),
|
||||
autopause ENUM('yes','no','all'),
|
||||
autopausedelay INTEGER,
|
||||
autopausebusy ENUM('yes','no'),
|
||||
autopauseunavail ENUM('yes','no'),
|
||||
maxlen INTEGER,
|
||||
servicelevel INTEGER,
|
||||
strategy ENUM('ringall','leastrecent','fewestcalls','random','rrmemory','linear','wrandom','rrordered'),
|
||||
joinempty VARCHAR(128),
|
||||
leavewhenempty VARCHAR(128),
|
||||
reportholdtime ENUM('yes','no'),
|
||||
memberdelay INTEGER,
|
||||
weight INTEGER,
|
||||
timeoutrestart ENUM('yes','no'),
|
||||
defaultrule VARCHAR(128),
|
||||
timeoutpriority VARCHAR(128),
|
||||
PRIMARY KEY (name)
|
||||
);
|
||||
|
||||
CREATE TABLE queue_members (
|
||||
queue_name VARCHAR(80) NOT NULL,
|
||||
interface VARCHAR(80) NOT NULL,
|
||||
uniqueid VARCHAR(80) NOT NULL,
|
||||
membername VARCHAR(80),
|
||||
state_interface VARCHAR(80),
|
||||
penalty INTEGER,
|
||||
paused INTEGER,
|
||||
PRIMARY KEY (queue_name, interface)
|
||||
);
|
||||
|
||||
UPDATE alembic_version SET version_num='28887f25a46f' WHERE alembic_version.version_num = '21e526ad3040';
|
||||
|
||||
-- Running upgrade 28887f25a46f -> 4c573e7135bd
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY tos_audio VARCHAR(10) NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY tos_video VARCHAR(10) NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints DROP COLUMN cos_audio;
|
||||
|
||||
ALTER TABLE ps_endpoints DROP COLUMN cos_video;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN cos_audio INTEGER;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN cos_video INTEGER;
|
||||
|
||||
ALTER TABLE ps_transports MODIFY tos VARCHAR(10) NULL;
|
||||
|
||||
ALTER TABLE ps_transports DROP COLUMN cos;
|
||||
|
||||
ALTER TABLE ps_transports ADD COLUMN cos INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='4c573e7135bd' WHERE alembic_version.version_num = '28887f25a46f';
|
||||
|
||||
-- Running upgrade 4c573e7135bd -> 3855ee4e5f85
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN message_context VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN user_agent VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='3855ee4e5f85' WHERE alembic_version.version_num = '4c573e7135bd';
|
||||
|
||||
-- Running upgrade 3855ee4e5f85 -> e96a0b8071c
|
||||
|
||||
ALTER TABLE ps_globals MODIFY user_agent VARCHAR(255) NULL;
|
||||
|
||||
ALTER TABLE ps_contacts MODIFY id VARCHAR(255) NULL;
|
||||
|
||||
ALTER TABLE ps_contacts MODIFY uri VARCHAR(255) NULL;
|
||||
|
||||
ALTER TABLE ps_contacts MODIFY user_agent VARCHAR(255) NULL;
|
||||
|
||||
ALTER TABLE ps_registrations MODIFY client_uri VARCHAR(255) NULL;
|
||||
|
||||
ALTER TABLE ps_registrations MODIFY server_uri VARCHAR(255) NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='e96a0b8071c' WHERE alembic_version.version_num = '3855ee4e5f85';
|
||||
|
||||
-- Running upgrade e96a0b8071c -> c6d929b23a8
|
||||
|
||||
CREATE TABLE ps_subscription_persistence (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
packet VARCHAR(2048),
|
||||
src_name VARCHAR(128),
|
||||
src_port INTEGER,
|
||||
transport_key VARCHAR(64),
|
||||
local_name VARCHAR(128),
|
||||
local_port INTEGER,
|
||||
cseq INTEGER,
|
||||
tag VARCHAR(128),
|
||||
endpoint VARCHAR(40),
|
||||
expires INTEGER,
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_subscription_persistence_id ON ps_subscription_persistence (id);
|
||||
|
||||
UPDATE alembic_version SET version_num='c6d929b23a8' WHERE alembic_version.version_num = 'e96a0b8071c';
|
||||
|
||||
-- Running upgrade c6d929b23a8 -> 51f8cb66540e
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN force_avp ENUM('yes','no');
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN media_use_received_transport ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='51f8cb66540e' WHERE alembic_version.version_num = 'c6d929b23a8';
|
||||
|
||||
-- Running upgrade 51f8cb66540e -> 1d50859ed02e
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN accountcode VARCHAR(20);
|
||||
|
||||
UPDATE alembic_version SET version_num='1d50859ed02e' WHERE alembic_version.version_num = '51f8cb66540e';
|
||||
|
||||
-- Running upgrade 1d50859ed02e -> 1758e8bbf6b
|
||||
|
||||
ALTER TABLE sippeers MODIFY useragent VARCHAR(255) NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='1758e8bbf6b' WHERE alembic_version.version_num = '1d50859ed02e';
|
||||
|
||||
-- Running upgrade 1758e8bbf6b -> 5139253c0423
|
||||
|
||||
ALTER TABLE queue_members DROP COLUMN uniqueid;
|
||||
|
||||
ALTER TABLE queue_members ADD COLUMN uniqueid INTEGER NOT NULL;
|
||||
|
||||
ALTER TABLE queue_members ADD UNIQUE (uniqueid);
|
||||
|
||||
ALTER TABLE queue_members MODIFY uniqueid INTEGER NOT NULL AUTO_INCREMENT;
|
||||
|
||||
UPDATE alembic_version SET version_num='5139253c0423' WHERE alembic_version.version_num = '1758e8bbf6b';
|
||||
|
||||
-- Running upgrade 5139253c0423 -> d39508cb8d8
|
||||
|
||||
CREATE TABLE queue_rules (
|
||||
rule_name VARCHAR(80) NOT NULL,
|
||||
time VARCHAR(32) NOT NULL,
|
||||
min_penalty VARCHAR(32) NOT NULL,
|
||||
max_penalty VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
UPDATE alembic_version SET version_num='d39508cb8d8' WHERE alembic_version.version_num = '5139253c0423';
|
||||
|
||||
-- Running upgrade d39508cb8d8 -> 5950038a6ead
|
||||
|
||||
ALTER TABLE ps_transports CHANGE verifiy_server verify_server ENUM('yes','no') NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='5950038a6ead' WHERE alembic_version.version_num = 'd39508cb8d8';
|
||||
|
||||
-- Running upgrade 5950038a6ead -> 10aedae86a32
|
||||
|
||||
ALTER TABLE sippeers MODIFY directmedia ENUM('yes','no','nonat','update','outgoing') NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='10aedae86a32' WHERE alembic_version.version_num = '5950038a6ead';
|
||||
|
||||
-- Running upgrade 10aedae86a32 -> eb88a14f2a
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN media_encryption_optimistic ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='eb88a14f2a' WHERE alembic_version.version_num = '10aedae86a32';
|
||||
|
||||
-- Running upgrade eb88a14f2a -> 371a3bf4143e
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN user_eq_phone ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='371a3bf4143e' WHERE alembic_version.version_num = 'eb88a14f2a';
|
||||
|
||||
-- Running upgrade 371a3bf4143e -> 45e3f47c6c44
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN endpoint_identifier_order VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='45e3f47c6c44' WHERE alembic_version.version_num = '371a3bf4143e';
|
||||
|
||||
-- Running upgrade 45e3f47c6c44 -> 23530d604b96
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rpid_immediate ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='23530d604b96' WHERE alembic_version.version_num = '45e3f47c6c44';
|
||||
|
||||
-- Running upgrade 23530d604b96 -> 31cd4f4891ec
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY dtmf_mode ENUM('rfc4733','inband','info','auto') NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='31cd4f4891ec' WHERE alembic_version.version_num = '23530d604b96';
|
||||
|
||||
-- Running upgrade 31cd4f4891ec -> 461d7d691209
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN qualify_timeout INTEGER;
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN qualify_timeout INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='461d7d691209' WHERE alembic_version.version_num = '31cd4f4891ec';
|
||||
|
||||
-- Running upgrade 461d7d691209 -> a541e0b5e89
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN max_initial_qualify_time INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='a541e0b5e89' WHERE alembic_version.version_num = '461d7d691209';
|
||||
|
||||
-- Running upgrade a541e0b5e89 -> 28b8e71e541f
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN g726_non_standard ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='28b8e71e541f' WHERE alembic_version.version_num = 'a541e0b5e89';
|
||||
|
||||
-- Running upgrade 28b8e71e541f -> 498357a710ae
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rtp_keepalive INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='498357a710ae' WHERE alembic_version.version_num = '28b8e71e541f';
|
||||
|
||||
-- Running upgrade 498357a710ae -> 26f10cadc157
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rtp_timeout INTEGER;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rtp_timeout_hold INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='26f10cadc157' WHERE alembic_version.version_num = '498357a710ae';
|
||||
|
||||
-- Running upgrade 26f10cadc157 -> 154177371065
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN default_from_user VARCHAR(80);
|
||||
|
||||
UPDATE alembic_version SET version_num='154177371065' WHERE alembic_version.version_num = '26f10cadc157';
|
||||
|
||||
-- Running upgrade 154177371065 -> 28ce1e718f05
|
||||
|
||||
ALTER TABLE ps_registrations ADD COLUMN fatal_retry_interval INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='28ce1e718f05' WHERE alembic_version.version_num = '154177371065';
|
||||
|
||||
-- Running upgrade 28ce1e718f05 -> 189a235b3fd7
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN keep_alive_interval INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='189a235b3fd7' WHERE alembic_version.version_num = '28ce1e718f05';
|
||||
|
||||
-- Running upgrade 189a235b3fd7 -> 2d078ec071b7
|
||||
|
||||
ALTER TABLE ps_aors MODIFY contact VARCHAR(255) NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='2d078ec071b7' WHERE alembic_version.version_num = '189a235b3fd7';
|
||||
|
||||
-- Running upgrade 2d078ec071b7 -> 26d7f3bf0fa5
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN bind_rtp_to_media_address ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='26d7f3bf0fa5' WHERE alembic_version.version_num = '2d078ec071b7';
|
||||
|
||||
-- Running upgrade 26d7f3bf0fa5 -> 136885b81223
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN regcontext VARCHAR(80);
|
||||
|
||||
UPDATE alembic_version SET version_num='136885b81223' WHERE alembic_version.version_num = '26d7f3bf0fa5';
|
||||
|
||||
-- Running upgrade 136885b81223 -> 423f34ad36e2
|
||||
|
||||
ALTER TABLE ps_aors MODIFY qualify_timeout FLOAT NULL;
|
||||
|
||||
ALTER TABLE ps_contacts MODIFY qualify_timeout FLOAT NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='423f34ad36e2' WHERE alembic_version.version_num = '136885b81223';
|
||||
|
||||
-- Running upgrade 423f34ad36e2 -> dbc44d5a908
|
||||
|
||||
ALTER TABLE ps_systems ADD COLUMN disable_tcp_switch ENUM('yes','no');
|
||||
|
||||
ALTER TABLE ps_registrations ADD COLUMN line ENUM('yes','no');
|
||||
|
||||
ALTER TABLE ps_registrations ADD COLUMN endpoint VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='dbc44d5a908' WHERE alembic_version.version_num = '423f34ad36e2';
|
||||
|
||||
-- Running upgrade dbc44d5a908 -> 3bcc0b5bc2c9
|
||||
|
||||
ALTER TABLE ps_transports ADD COLUMN allow_reload ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='3bcc0b5bc2c9' WHERE alembic_version.version_num = 'dbc44d5a908';
|
||||
|
||||
-- Running upgrade 3bcc0b5bc2c9 -> 5813202e92be
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN contact_expiration_check_interval INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='5813202e92be' WHERE alembic_version.version_num = '3bcc0b5bc2c9';
|
||||
|
||||
-- Running upgrade 5813202e92be -> 1c688d9a003c
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN default_voicemail_extension VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN voicemail_extension VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN voicemail_extension VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN mwi_subscribe_replaces_unsolicited INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='1c688d9a003c' WHERE alembic_version.version_num = '5813202e92be';
|
||||
|
||||
-- Running upgrade 1c688d9a003c -> 8d478ab86e29
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN disable_multi_domain ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='8d478ab86e29' WHERE alembic_version.version_num = '1c688d9a003c';
|
||||
|
||||
-- Running upgrade 8d478ab86e29 -> 65eb22eb195
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN unidentified_request_count INTEGER;
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN unidentified_request_period INTEGER;
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN unidentified_request_prune_interval INTEGER;
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN default_realm VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='65eb22eb195' WHERE alembic_version.version_num = '8d478ab86e29';
|
||||
|
||||
-- Running upgrade 65eb22eb195 -> 81b01a191a46
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN reg_server VARCHAR(20);
|
||||
|
||||
ALTER TABLE ps_contacts ADD CONSTRAINT ps_contacts_uq UNIQUE (id, reg_server);
|
||||
|
||||
UPDATE alembic_version SET version_num='81b01a191a46' WHERE alembic_version.version_num = '65eb22eb195';
|
||||
|
||||
-- Running upgrade 81b01a191a46 -> 6be31516058d
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN authenticate_qualify ENUM('yes','no');
|
||||
|
||||
UPDATE alembic_version SET version_num='6be31516058d' WHERE alembic_version.version_num = '81b01a191a46';
|
||||
|
||||
-- Running upgrade 6be31516058d -> bca7113d796f
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN deny VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN permit VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN acl VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN contact_deny VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN contact_permit VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN contact_acl VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='bca7113d796f' WHERE alembic_version.version_num = '6be31516058d';
|
||||
|
||||
-- Running upgrade bca7113d796f -> a845e4d8ade8
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN via_addr VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN via_port INTEGER;
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN call_id VARCHAR(255);
|
||||
|
||||
UPDATE alembic_version SET version_num='a845e4d8ade8' WHERE alembic_version.version_num = 'bca7113d796f';
|
||||
|
||||
-- Running upgrade a845e4d8ade8 -> ef7efc2d3964
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN endpoint VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts MODIFY expiration_time BIGINT NULL;
|
||||
|
||||
CREATE INDEX ps_contacts_qualifyfreq_exp ON ps_contacts (qualify_frequency, expiration_time);
|
||||
|
||||
CREATE INDEX ps_aors_qualifyfreq_contact ON ps_aors (qualify_frequency, contact);
|
||||
|
||||
UPDATE alembic_version SET version_num='ef7efc2d3964' WHERE alembic_version.version_num = 'a845e4d8ade8';
|
||||
|
||||
-- Running upgrade ef7efc2d3964 -> 9deac0ae4717
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN subscribe_context VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='9deac0ae4717' WHERE alembic_version.version_num = 'ef7efc2d3964';
|
||||
|
||||
-- Running upgrade 9deac0ae4717 -> 4a6c67fa9b7a
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN fax_detect_timeout INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='4a6c67fa9b7a' WHERE alembic_version.version_num = '9deac0ae4717';
|
||||
|
34
contrib/realtime/mysql/mysql_voicemail.sql
Normal file
34
contrib/realtime/mysql/mysql_voicemail.sql
Normal file
@@ -0,0 +1,34 @@
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
-- Running upgrade -> a2e9769475e
|
||||
|
||||
CREATE TABLE voicemail_messages (
|
||||
dir VARCHAR(255) NOT NULL,
|
||||
msgnum INTEGER NOT NULL,
|
||||
context VARCHAR(80),
|
||||
macrocontext VARCHAR(80),
|
||||
callerid VARCHAR(80),
|
||||
origtime INTEGER,
|
||||
duration INTEGER,
|
||||
recording BLOB,
|
||||
flag VARCHAR(30),
|
||||
category VARCHAR(30),
|
||||
mailboxuser VARCHAR(30),
|
||||
mailboxcontext VARCHAR(30),
|
||||
msg_id VARCHAR(40)
|
||||
);
|
||||
|
||||
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
|
||||
|
||||
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
|
||||
|
||||
-- Running upgrade a2e9769475e -> 39428242f7f5
|
||||
|
||||
ALTER TABLE voicemail_messages MODIFY recording BLOB(4294967295) NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';
|
||||
|
38
contrib/realtime/oracle/oracle_cdr.sql
Normal file
38
contrib/realtime/oracle/oracle_cdr.sql
Normal file
@@ -0,0 +1,38 @@
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR2(32 CHAR) NOT NULL
|
||||
)
|
||||
|
||||
/
|
||||
|
||||
-- Running upgrade -> 210693f3123d
|
||||
|
||||
CREATE TABLE cdr (
|
||||
accountcode VARCHAR2(20 CHAR),
|
||||
src VARCHAR2(80 CHAR),
|
||||
dst VARCHAR2(80 CHAR),
|
||||
dcontext VARCHAR2(80 CHAR),
|
||||
clid VARCHAR2(80 CHAR),
|
||||
channel VARCHAR2(80 CHAR),
|
||||
dstchannel VARCHAR2(80 CHAR),
|
||||
lastapp VARCHAR2(80 CHAR),
|
||||
lastdata VARCHAR2(80 CHAR),
|
||||
"start" DATE,
|
||||
answer DATE,
|
||||
end DATE,
|
||||
duration INTEGER,
|
||||
billsec INTEGER,
|
||||
disposition VARCHAR2(45 CHAR),
|
||||
amaflags VARCHAR2(45 CHAR),
|
||||
userfield VARCHAR2(256 CHAR),
|
||||
uniqueid VARCHAR2(150 CHAR),
|
||||
linkedid VARCHAR2(150 CHAR),
|
||||
peeraccount VARCHAR2(20 CHAR),
|
||||
sequence INTEGER
|
||||
)
|
||||
|
||||
/
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d')
|
||||
|
||||
/
|
||||
|
1476
contrib/realtime/oracle/oracle_config.sql
Normal file
1476
contrib/realtime/oracle/oracle_config.sql
Normal file
File diff suppressed because it is too large
Load Diff
48
contrib/realtime/oracle/oracle_voicemail.sql
Normal file
48
contrib/realtime/oracle/oracle_voicemail.sql
Normal file
@@ -0,0 +1,48 @@
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR2(32 CHAR) NOT NULL
|
||||
)
|
||||
|
||||
/
|
||||
|
||||
-- Running upgrade -> a2e9769475e
|
||||
|
||||
CREATE TABLE voicemail_messages (
|
||||
dir VARCHAR2(255 CHAR) NOT NULL,
|
||||
msgnum INTEGER NOT NULL,
|
||||
context VARCHAR2(80 CHAR),
|
||||
macrocontext VARCHAR2(80 CHAR),
|
||||
callerid VARCHAR2(80 CHAR),
|
||||
origtime INTEGER,
|
||||
duration INTEGER,
|
||||
recording BLOB,
|
||||
flag VARCHAR2(30 CHAR),
|
||||
category VARCHAR2(30 CHAR),
|
||||
mailboxuser VARCHAR2(30 CHAR),
|
||||
mailboxcontext VARCHAR2(30 CHAR),
|
||||
msg_id VARCHAR2(40 CHAR)
|
||||
)
|
||||
|
||||
/
|
||||
|
||||
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum)
|
||||
|
||||
/
|
||||
|
||||
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir)
|
||||
|
||||
/
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e')
|
||||
|
||||
/
|
||||
|
||||
-- Running upgrade a2e9769475e -> 39428242f7f5
|
||||
|
||||
ALTER TABLE voicemail_messages MODIFY recording BLOB
|
||||
|
||||
/
|
||||
|
||||
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e'
|
||||
|
||||
/
|
||||
|
36
contrib/realtime/postgresql/postgresql_cdr.sql
Normal file
36
contrib/realtime/postgresql/postgresql_cdr.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
-- Running upgrade -> 210693f3123d
|
||||
|
||||
CREATE TABLE cdr (
|
||||
accountcode VARCHAR(20),
|
||||
src VARCHAR(80),
|
||||
dst VARCHAR(80),
|
||||
dcontext VARCHAR(80),
|
||||
clid VARCHAR(80),
|
||||
channel VARCHAR(80),
|
||||
dstchannel VARCHAR(80),
|
||||
lastapp VARCHAR(80),
|
||||
lastdata VARCHAR(80),
|
||||
start TIMESTAMP WITHOUT TIME ZONE,
|
||||
answer TIMESTAMP WITHOUT TIME ZONE,
|
||||
"end" TIMESTAMP WITHOUT TIME ZONE,
|
||||
duration INTEGER,
|
||||
billsec INTEGER,
|
||||
disposition VARCHAR(45),
|
||||
amaflags VARCHAR(45),
|
||||
userfield VARCHAR(256),
|
||||
uniqueid VARCHAR(150),
|
||||
linkedid VARCHAR(150),
|
||||
peeraccount VARCHAR(20),
|
||||
sequence INTEGER
|
||||
);
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
|
||||
|
||||
COMMIT;
|
||||
|
995
contrib/realtime/postgresql/postgresql_config.sql
Normal file
995
contrib/realtime/postgresql/postgresql_config.sql
Normal file
@@ -0,0 +1,995 @@
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
-- Running upgrade -> 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)
|
||||
);
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('4da0c5f79a9c');
|
||||
|
||||
-- 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);
|
||||
|
||||
UPDATE alembic_version SET version_num='43956d550a44' WHERE alembic_version.version_num = '4da0c5f79a9c';
|
||||
|
||||
-- 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)
|
||||
);
|
||||
|
||||
UPDATE alembic_version SET version_num='581a4264e537' WHERE alembic_version.version_num = '43956d550a44';
|
||||
|
||||
-- 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;
|
||||
|
||||
UPDATE alembic_version SET version_num='2fc7930b41b3' WHERE alembic_version.version_num = '581a4264e537';
|
||||
|
||||
-- Running upgrade 2fc7930b41b3 -> 21e526ad3040
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN debug VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='21e526ad3040' WHERE alembic_version.version_num = '2fc7930b41b3';
|
||||
|
||||
-- Running upgrade 21e526ad3040 -> 28887f25a46f
|
||||
|
||||
CREATE 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)
|
||||
);
|
||||
|
||||
UPDATE alembic_version SET version_num='28887f25a46f' WHERE alembic_version.version_num = '21e526ad3040';
|
||||
|
||||
-- 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_endpoints DROP COLUMN cos_audio;
|
||||
|
||||
ALTER TABLE ps_endpoints DROP COLUMN cos_video;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN cos_audio INTEGER;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN cos_video INTEGER;
|
||||
|
||||
ALTER TABLE ps_transports ALTER COLUMN tos TYPE VARCHAR(10);
|
||||
|
||||
ALTER TABLE ps_transports DROP COLUMN cos;
|
||||
|
||||
ALTER TABLE ps_transports ADD COLUMN cos INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='4c573e7135bd' WHERE alembic_version.version_num = '28887f25a46f';
|
||||
|
||||
-- Running upgrade 4c573e7135bd -> 3855ee4e5f85
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN message_context VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN user_agent VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='3855ee4e5f85' WHERE alembic_version.version_num = '4c573e7135bd';
|
||||
|
||||
-- Running upgrade 3855ee4e5f85 -> e96a0b8071c
|
||||
|
||||
ALTER TABLE ps_globals 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);
|
||||
|
||||
UPDATE alembic_version SET version_num='e96a0b8071c' WHERE alembic_version.version_num = '3855ee4e5f85';
|
||||
|
||||
-- Running upgrade e96a0b8071c -> c6d929b23a8
|
||||
|
||||
CREATE TABLE ps_subscription_persistence (
|
||||
id VARCHAR(40) NOT NULL,
|
||||
packet VARCHAR(2048),
|
||||
src_name VARCHAR(128),
|
||||
src_port INTEGER,
|
||||
transport_key VARCHAR(64),
|
||||
local_name VARCHAR(128),
|
||||
local_port INTEGER,
|
||||
cseq INTEGER,
|
||||
tag VARCHAR(128),
|
||||
endpoint VARCHAR(40),
|
||||
expires INTEGER,
|
||||
UNIQUE (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ps_subscription_persistence_id ON ps_subscription_persistence (id);
|
||||
|
||||
UPDATE alembic_version SET version_num='c6d929b23a8' WHERE alembic_version.version_num = 'e96a0b8071c';
|
||||
|
||||
-- Running upgrade c6d929b23a8 -> 51f8cb66540e
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN force_avp yesno_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN media_use_received_transport yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='51f8cb66540e' WHERE alembic_version.version_num = 'c6d929b23a8';
|
||||
|
||||
-- Running upgrade 51f8cb66540e -> 1d50859ed02e
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN accountcode VARCHAR(20);
|
||||
|
||||
UPDATE alembic_version SET version_num='1d50859ed02e' WHERE alembic_version.version_num = '51f8cb66540e';
|
||||
|
||||
-- Running upgrade 1d50859ed02e -> 1758e8bbf6b
|
||||
|
||||
ALTER TABLE sippeers ALTER COLUMN useragent TYPE VARCHAR(255);
|
||||
|
||||
UPDATE alembic_version SET version_num='1758e8bbf6b' WHERE alembic_version.version_num = '1d50859ed02e';
|
||||
|
||||
-- Running upgrade 1758e8bbf6b -> 5139253c0423
|
||||
|
||||
ALTER TABLE queue_members DROP COLUMN uniqueid;
|
||||
|
||||
ALTER TABLE queue_members ADD COLUMN uniqueid INTEGER NOT NULL;
|
||||
|
||||
ALTER TABLE queue_members ADD UNIQUE (uniqueid);
|
||||
|
||||
UPDATE alembic_version SET version_num='5139253c0423' WHERE alembic_version.version_num = '1758e8bbf6b';
|
||||
|
||||
-- Running upgrade 5139253c0423 -> d39508cb8d8
|
||||
|
||||
CREATE TABLE queue_rules (
|
||||
rule_name VARCHAR(80) NOT NULL,
|
||||
time VARCHAR(32) NOT NULL,
|
||||
min_penalty VARCHAR(32) NOT NULL,
|
||||
max_penalty VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
UPDATE alembic_version SET version_num='d39508cb8d8' WHERE alembic_version.version_num = '5139253c0423';
|
||||
|
||||
-- Running upgrade d39508cb8d8 -> 5950038a6ead
|
||||
|
||||
ALTER TABLE ps_transports ALTER COLUMN verifiy_server TYPE yesno_values;
|
||||
|
||||
ALTER TABLE ps_transports RENAME verifiy_server TO verify_server;
|
||||
|
||||
UPDATE alembic_version SET version_num='5950038a6ead' WHERE alembic_version.version_num = 'd39508cb8d8';
|
||||
|
||||
-- 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;
|
||||
|
||||
UPDATE alembic_version SET version_num='10aedae86a32' WHERE alembic_version.version_num = '5950038a6ead';
|
||||
|
||||
-- Running upgrade 10aedae86a32 -> eb88a14f2a
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN media_encryption_optimistic yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='eb88a14f2a' WHERE alembic_version.version_num = '10aedae86a32';
|
||||
|
||||
-- Running upgrade eb88a14f2a -> 371a3bf4143e
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN user_eq_phone yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='371a3bf4143e' WHERE alembic_version.version_num = 'eb88a14f2a';
|
||||
|
||||
-- Running upgrade 371a3bf4143e -> 45e3f47c6c44
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN endpoint_identifier_order VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='45e3f47c6c44' WHERE alembic_version.version_num = '371a3bf4143e';
|
||||
|
||||
-- Running upgrade 45e3f47c6c44 -> 23530d604b96
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rpid_immediate yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='23530d604b96' WHERE alembic_version.version_num = '45e3f47c6c44';
|
||||
|
||||
-- Running upgrade 23530d604b96 -> 31cd4f4891ec
|
||||
|
||||
CREATE TYPE pjsip_dtmf_mode_values_v2 AS ENUM ('rfc4733', 'inband', 'info', 'auto');
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN dtmf_mode TYPE pjsip_dtmf_mode_values_v2 USING dtmf_mode::text::pjsip_dtmf_mode_values_v2;
|
||||
|
||||
DROP TYPE pjsip_dtmf_mode_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='31cd4f4891ec' WHERE alembic_version.version_num = '23530d604b96';
|
||||
|
||||
-- Running upgrade 31cd4f4891ec -> 461d7d691209
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN qualify_timeout INTEGER;
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN qualify_timeout INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='461d7d691209' WHERE alembic_version.version_num = '31cd4f4891ec';
|
||||
|
||||
-- Running upgrade 461d7d691209 -> a541e0b5e89
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN max_initial_qualify_time INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='a541e0b5e89' WHERE alembic_version.version_num = '461d7d691209';
|
||||
|
||||
-- Running upgrade a541e0b5e89 -> 28b8e71e541f
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN g726_non_standard yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='28b8e71e541f' WHERE alembic_version.version_num = 'a541e0b5e89';
|
||||
|
||||
-- Running upgrade 28b8e71e541f -> 498357a710ae
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rtp_keepalive INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='498357a710ae' WHERE alembic_version.version_num = '28b8e71e541f';
|
||||
|
||||
-- Running upgrade 498357a710ae -> 26f10cadc157
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rtp_timeout INTEGER;
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN rtp_timeout_hold INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='26f10cadc157' WHERE alembic_version.version_num = '498357a710ae';
|
||||
|
||||
-- Running upgrade 26f10cadc157 -> 154177371065
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN default_from_user VARCHAR(80);
|
||||
|
||||
UPDATE alembic_version SET version_num='154177371065' WHERE alembic_version.version_num = '26f10cadc157';
|
||||
|
||||
-- Running upgrade 154177371065 -> 28ce1e718f05
|
||||
|
||||
ALTER TABLE ps_registrations ADD COLUMN fatal_retry_interval INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='28ce1e718f05' WHERE alembic_version.version_num = '154177371065';
|
||||
|
||||
-- Running upgrade 28ce1e718f05 -> 189a235b3fd7
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN keep_alive_interval INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='189a235b3fd7' WHERE alembic_version.version_num = '28ce1e718f05';
|
||||
|
||||
-- Running upgrade 189a235b3fd7 -> 2d078ec071b7
|
||||
|
||||
ALTER TABLE ps_aors ALTER COLUMN contact TYPE VARCHAR(255);
|
||||
|
||||
UPDATE alembic_version SET version_num='2d078ec071b7' WHERE alembic_version.version_num = '189a235b3fd7';
|
||||
|
||||
-- Running upgrade 2d078ec071b7 -> 26d7f3bf0fa5
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN bind_rtp_to_media_address yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='26d7f3bf0fa5' WHERE alembic_version.version_num = '2d078ec071b7';
|
||||
|
||||
-- Running upgrade 26d7f3bf0fa5 -> 136885b81223
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN regcontext VARCHAR(80);
|
||||
|
||||
UPDATE alembic_version SET version_num='136885b81223' WHERE alembic_version.version_num = '26d7f3bf0fa5';
|
||||
|
||||
-- Running upgrade 136885b81223 -> 423f34ad36e2
|
||||
|
||||
ALTER TABLE ps_aors ALTER COLUMN qualify_timeout TYPE FLOAT;
|
||||
|
||||
ALTER TABLE ps_contacts ALTER COLUMN qualify_timeout TYPE FLOAT;
|
||||
|
||||
UPDATE alembic_version SET version_num='423f34ad36e2' WHERE alembic_version.version_num = '136885b81223';
|
||||
|
||||
-- Running upgrade 423f34ad36e2 -> dbc44d5a908
|
||||
|
||||
ALTER TABLE ps_systems ADD COLUMN disable_tcp_switch yesno_values;
|
||||
|
||||
ALTER TABLE ps_registrations ADD COLUMN line yesno_values;
|
||||
|
||||
ALTER TABLE ps_registrations ADD COLUMN endpoint VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='dbc44d5a908' WHERE alembic_version.version_num = '423f34ad36e2';
|
||||
|
||||
-- Running upgrade dbc44d5a908 -> 3bcc0b5bc2c9
|
||||
|
||||
ALTER TABLE ps_transports ADD COLUMN allow_reload yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='3bcc0b5bc2c9' WHERE alembic_version.version_num = 'dbc44d5a908';
|
||||
|
||||
-- Running upgrade 3bcc0b5bc2c9 -> 5813202e92be
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN contact_expiration_check_interval INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='5813202e92be' WHERE alembic_version.version_num = '3bcc0b5bc2c9';
|
||||
|
||||
-- Running upgrade 5813202e92be -> 1c688d9a003c
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN default_voicemail_extension VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_aors ADD COLUMN voicemail_extension VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN voicemail_extension VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN mwi_subscribe_replaces_unsolicited INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='1c688d9a003c' WHERE alembic_version.version_num = '5813202e92be';
|
||||
|
||||
-- Running upgrade 1c688d9a003c -> 8d478ab86e29
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN disable_multi_domain yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='8d478ab86e29' WHERE alembic_version.version_num = '1c688d9a003c';
|
||||
|
||||
-- Running upgrade 8d478ab86e29 -> 65eb22eb195
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN unidentified_request_count INTEGER;
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN unidentified_request_period INTEGER;
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN unidentified_request_prune_interval INTEGER;
|
||||
|
||||
ALTER TABLE ps_globals ADD COLUMN default_realm VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='65eb22eb195' WHERE alembic_version.version_num = '8d478ab86e29';
|
||||
|
||||
-- Running upgrade 65eb22eb195 -> 81b01a191a46
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN reg_server VARCHAR(20);
|
||||
|
||||
ALTER TABLE ps_contacts ADD CONSTRAINT ps_contacts_uq UNIQUE (id, reg_server);
|
||||
|
||||
UPDATE alembic_version SET version_num='81b01a191a46' WHERE alembic_version.version_num = '65eb22eb195';
|
||||
|
||||
-- Running upgrade 81b01a191a46 -> 6be31516058d
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN authenticate_qualify yesno_values;
|
||||
|
||||
UPDATE alembic_version SET version_num='6be31516058d' WHERE alembic_version.version_num = '81b01a191a46';
|
||||
|
||||
-- Running upgrade 6be31516058d -> bca7113d796f
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN deny VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN permit VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN acl VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN contact_deny VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN contact_permit VARCHAR(95);
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN contact_acl VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='bca7113d796f' WHERE alembic_version.version_num = '6be31516058d';
|
||||
|
||||
-- Running upgrade bca7113d796f -> a845e4d8ade8
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN via_addr VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN via_port INTEGER;
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN call_id VARCHAR(255);
|
||||
|
||||
UPDATE alembic_version SET version_num='a845e4d8ade8' WHERE alembic_version.version_num = 'bca7113d796f';
|
||||
|
||||
-- Running upgrade a845e4d8ade8 -> ef7efc2d3964
|
||||
|
||||
ALTER TABLE ps_contacts ADD COLUMN endpoint VARCHAR(40);
|
||||
|
||||
ALTER TABLE ps_contacts ALTER COLUMN expiration_time TYPE BIGINT USING expiration_time::bigint;
|
||||
|
||||
CREATE INDEX ps_contacts_qualifyfreq_exp ON ps_contacts (qualify_frequency, expiration_time);
|
||||
|
||||
CREATE INDEX ps_aors_qualifyfreq_contact ON ps_aors (qualify_frequency, contact);
|
||||
|
||||
UPDATE alembic_version SET version_num='ef7efc2d3964' WHERE alembic_version.version_num = 'a845e4d8ade8';
|
||||
|
||||
-- Running upgrade ef7efc2d3964 -> 9deac0ae4717
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN subscribe_context VARCHAR(40);
|
||||
|
||||
UPDATE alembic_version SET version_num='9deac0ae4717' WHERE alembic_version.version_num = 'ef7efc2d3964';
|
||||
|
||||
-- Running upgrade 9deac0ae4717 -> 4a6c67fa9b7a
|
||||
|
||||
ALTER TABLE ps_endpoints ADD COLUMN fax_detect_timeout INTEGER;
|
||||
|
||||
UPDATE alembic_version SET version_num='4a6c67fa9b7a' WHERE alembic_version.version_num = '9deac0ae4717';
|
||||
|
||||
COMMIT;
|
||||
|
38
contrib/realtime/postgresql/postgresql_voicemail.sql
Normal file
38
contrib/realtime/postgresql/postgresql_voicemail.sql
Normal file
@@ -0,0 +1,38 @@
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE alembic_version (
|
||||
version_num VARCHAR(32) NOT NULL
|
||||
);
|
||||
|
||||
-- Running upgrade -> a2e9769475e
|
||||
|
||||
CREATE TABLE voicemail_messages (
|
||||
dir VARCHAR(255) NOT NULL,
|
||||
msgnum INTEGER NOT NULL,
|
||||
context VARCHAR(80),
|
||||
macrocontext VARCHAR(80),
|
||||
callerid VARCHAR(80),
|
||||
origtime INTEGER,
|
||||
duration INTEGER,
|
||||
recording BYTEA,
|
||||
flag VARCHAR(30),
|
||||
category VARCHAR(30),
|
||||
mailboxuser VARCHAR(30),
|
||||
mailboxcontext VARCHAR(30),
|
||||
msg_id VARCHAR(40)
|
||||
);
|
||||
|
||||
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
|
||||
|
||||
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
|
||||
|
||||
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
|
||||
|
||||
-- Running upgrade a2e9769475e -> 39428242f7f5
|
||||
|
||||
ALTER TABLE voicemail_messages ALTER COLUMN recording TYPE BYTEA;
|
||||
|
||||
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';
|
||||
|
||||
COMMIT;
|
||||
|
@@ -2198,11 +2198,6 @@ int ast_rtp_engine_init(void)
|
||||
/* Opus and VP8 */
|
||||
set_next_mime_type(ast_format_opus, 0, "audio", "opus", 48000);
|
||||
set_next_mime_type(ast_format_vp8, 0, "video", "VP8", 90000);
|
||||
/* DA SILK */
|
||||
set_next_mime_type(ast_format_silk8, 0, "audio", "silk", 8000);
|
||||
set_next_mime_type(ast_format_silk12, 0, "audio", "silk", 12000);
|
||||
set_next_mime_type(ast_format_silk16, 0, "audio", "silk", 16000);
|
||||
set_next_mime_type(ast_format_silk24, 0, "audio", "silk", 24000);
|
||||
|
||||
/* Define the static rtp payload mappings */
|
||||
add_static_payload(0, ast_format_ulaw, 0);
|
||||
@@ -2248,11 +2243,6 @@ int ast_rtp_engine_init(void)
|
||||
add_static_payload(100, ast_format_vp8, 0);
|
||||
add_static_payload(107, ast_format_opus, 0);
|
||||
|
||||
add_static_payload(108, ast_format_silk8, 0);
|
||||
add_static_payload(109, ast_format_silk12, 0);
|
||||
add_static_payload(113, ast_format_silk16, 0);
|
||||
add_static_payload(114, ast_format_silk24, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -1256,7 +1256,7 @@ static struct ast_endpoint *persistent_endpoint_find_or_create(const struct ast_
|
||||
|
||||
persistent->aors = ast_strdup(endpoint->aors);
|
||||
|
||||
ast_endpoint_set_state(persistent->endpoint, AST_ENDPOINT_UNKNOWN);
|
||||
ast_endpoint_set_state(persistent->endpoint, AST_ENDPOINT_OFFLINE);
|
||||
|
||||
ao2_link_flags(persistent_endpoints, persistent, OBJ_NOLOCK);
|
||||
}
|
||||
|
@@ -143,7 +143,7 @@ struct ast_multicast_rtp_options *ast_multicast_rtp_create_options(const char *t
|
||||
|
||||
mcast_options = ast_calloc(1, sizeof(*mcast_options)
|
||||
+ strlen(type)
|
||||
+ strlen(options) + 2);
|
||||
+ strlen(S_OR(options, "")) + 2);
|
||||
if (!mcast_options) {
|
||||
return NULL;
|
||||
}
|
||||
@@ -155,8 +155,9 @@ struct ast_multicast_rtp_options *ast_multicast_rtp_create_options(const char *t
|
||||
mcast_options->type = pos;
|
||||
pos += strlen(type) + 1;
|
||||
|
||||
/* Safe */
|
||||
strcpy(pos, options);
|
||||
if (!ast_strlen_zero(options)) {
|
||||
strcpy(pos, options); /* Safe */
|
||||
}
|
||||
mcast_options->options = pos;
|
||||
|
||||
if (ast_app_parse_options(multicast_rtp_options, &mcast_options->opts,
|
||||
|
31
third-party/pjproject/Makefile.rules
vendored
31
third-party/pjproject/Makefile.rules
vendored
@@ -1,9 +1,34 @@
|
||||
PJPROJECT_URL = http://www.pjsip.org/release/$(PJPROJECT_VERSION)
|
||||
|
||||
# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
|
||||
PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject --disable-speex-codec --disable-speex-aec \
|
||||
--disable-gsm-codec --disable-video --disable-v4l2 --disable-sound --disable-opencore-amr \
|
||||
--disable-ilbc-codec --without-libyuv --disable-g7221-codec --disable-resample
|
||||
|
||||
PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject \
|
||||
--disable-speex-codec \
|
||||
--disable-speex-aec \
|
||||
--disable-speex-aec \
|
||||
--disable-gsm-codec \
|
||||
--disable-ilbc-codec \
|
||||
--disable-l16-codec \
|
||||
--disable-g711-codec \
|
||||
--disable-g722-codec \
|
||||
--disable-g7221-codec \
|
||||
--disable-opencore-amr \
|
||||
--disable-webrtc \
|
||||
--disable-silk \
|
||||
--disable-opus \
|
||||
--disable-video \
|
||||
--disable-v4l2 \
|
||||
--disable-sound \
|
||||
--disable-ext-sound \
|
||||
--disable-oss \
|
||||
--disable-sdl \
|
||||
--disable-libyuv \
|
||||
--disable-resample \
|
||||
--disable-ffmpeg \
|
||||
--disable-openh264 \
|
||||
--disable-ipp \
|
||||
--without-external-pa \
|
||||
--with-external-srtp
|
||||
|
||||
ifeq ($(shell uname -s),Linux)
|
||||
PJPROJECT_CONFIG_OPTS += --enable-epoll
|
||||
|
@@ -1,73 +0,0 @@
|
||||
From a5030c9b33b2c936879fbacb1d2ea5edc2979181 Mon Sep 17 00:00:00 2001
|
||||
From: George Joseph <gjoseph@digium.com>
|
||||
Date: Sat, 18 Jun 2016 10:14:34 -0600
|
||||
Subject: [PATCH] evsub: Add APIs to add/decrement an event subscription's
|
||||
group lock
|
||||
|
||||
These APIs can be used to ensure that the evsub isn't destroyed before
|
||||
an application is finished using it.
|
||||
---
|
||||
pjsip/include/pjsip-simple/evsub.h | 20 ++++++++++++++++++++
|
||||
pjsip/src/pjsip-simple/evsub.c | 14 ++++++++++++++
|
||||
2 files changed, 34 insertions(+)
|
||||
|
||||
diff --git a/pjsip/include/pjsip-simple/evsub.h b/pjsip/include/pjsip-simple/evsub.h
|
||||
index 2dc4d69..31f85f8 100644
|
||||
--- a/pjsip/include/pjsip-simple/evsub.h
|
||||
+++ b/pjsip/include/pjsip-simple/evsub.h
|
||||
@@ -490,6 +490,26 @@ PJ_DECL(void) pjsip_evsub_set_mod_data( pjsip_evsub *sub, unsigned mod_id,
|
||||
PJ_DECL(void*) pjsip_evsub_get_mod_data( pjsip_evsub *sub, unsigned mod_id );
|
||||
|
||||
|
||||
+/**
|
||||
+ * Increment the event subscription's group lock.
|
||||
+ *
|
||||
+ * @param sub The server subscription instance.
|
||||
+ *
|
||||
+ * @return PJ_SUCCESS on success.
|
||||
+ */
|
||||
+PJ_DEF(pj_status_t) pjsip_evsub_add_ref(pjsip_evsub *sub);
|
||||
+
|
||||
+
|
||||
+/**
|
||||
+ * Decrement the event subscription's group lock.
|
||||
+ *
|
||||
+ * @param sub The server subscription instance.
|
||||
+ *
|
||||
+ * @return PJ_SUCCESS on success.
|
||||
+ */
|
||||
+PJ_DEF(pj_status_t) pjsip_evsub_dec_ref(pjsip_evsub *sub);
|
||||
+
|
||||
+
|
||||
|
||||
PJ_END_DECL
|
||||
|
||||
diff --git a/pjsip/src/pjsip-simple/evsub.c b/pjsip/src/pjsip-simple/evsub.c
|
||||
index 7cd8859..68a9564 100644
|
||||
--- a/pjsip/src/pjsip-simple/evsub.c
|
||||
+++ b/pjsip/src/pjsip-simple/evsub.c
|
||||
@@ -831,7 +831,21 @@ static pj_status_t evsub_create( pjsip_dialog *dlg,
|
||||
return PJ_SUCCESS;
|
||||
}
|
||||
|
||||
+/*
|
||||
+ * Increment the event subscription's group lock.
|
||||
+ */
|
||||
+PJ_DEF(pj_status_t) pjsip_evsub_add_ref(pjsip_evsub *sub)
|
||||
+{
|
||||
+ return pj_grp_lock_add_ref(sub->grp_lock);
|
||||
+}
|
||||
|
||||
+/*
|
||||
+ * Decrement the event subscription's group lock.
|
||||
+ */
|
||||
+PJ_DEF(pj_status_t) pjsip_evsub_dec_ref(pjsip_evsub *sub)
|
||||
+{
|
||||
+ return pj_grp_lock_dec_ref(sub->grp_lock);
|
||||
+}
|
||||
|
||||
/*
|
||||
* Create client subscription session.
|
||||
--
|
||||
2.5.5
|
||||
|
@@ -1,48 +0,0 @@
|
||||
From b7cb93b0e1729589a71e8b30d9a9893f0918e2a2 Mon Sep 17 00:00:00 2001
|
||||
From: George Joseph <george.joseph@fairview5.com>
|
||||
Date: Mon, 30 May 2016 11:58:22 -0600
|
||||
Subject: [PATCH] sip_transport_tcp/tls: Set factory on transports created
|
||||
from accept
|
||||
|
||||
The ability to re-use tcp and tls transports when a factory is
|
||||
specified now depends on transport->factory being set which is a new field
|
||||
in 2.5. This was being set only on new outgoing sockets not on
|
||||
incoming sockets. The result was that a client REGISTER created a new
|
||||
socket but without the factory set, the next outgoing request to the
|
||||
client, OPTIONS, INVITE, etc, would attempt to create another socket
|
||||
which the client would refuse.
|
||||
|
||||
This patch sets the factory on transports created as a result of an
|
||||
accept.
|
||||
---
|
||||
pjsip/src/pjsip/sip_transport_tcp.c | 1 +
|
||||
pjsip/src/pjsip/sip_transport_tls.c | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/pjsip/src/pjsip/sip_transport_tcp.c b/pjsip/src/pjsip/sip_transport_tcp.c
|
||||
index 1bbb324..00eb8fc 100644
|
||||
--- a/pjsip/src/pjsip/sip_transport_tcp.c
|
||||
+++ b/pjsip/src/pjsip/sip_transport_tcp.c
|
||||
@@ -713,6 +713,7 @@ static pj_status_t tcp_create( struct tcp_listener *listener,
|
||||
tcp->base.send_msg = &tcp_send_msg;
|
||||
tcp->base.do_shutdown = &tcp_shutdown;
|
||||
tcp->base.destroy = &tcp_destroy_transport;
|
||||
+ tcp->base.factory = &listener->factory;
|
||||
|
||||
/* Create group lock */
|
||||
status = pj_grp_lock_create(pool, NULL, &tcp->grp_lock);
|
||||
diff --git a/pjsip/src/pjsip/sip_transport_tls.c b/pjsip/src/pjsip/sip_transport_tls.c
|
||||
index a83ac32..36ee70d 100644
|
||||
--- a/pjsip/src/pjsip/sip_transport_tls.c
|
||||
+++ b/pjsip/src/pjsip/sip_transport_tls.c
|
||||
@@ -742,6 +742,7 @@ static pj_status_t tls_create( struct tls_listener *listener,
|
||||
tls->base.send_msg = &tls_send_msg;
|
||||
tls->base.do_shutdown = &tls_shutdown;
|
||||
tls->base.destroy = &tls_destroy_transport;
|
||||
+ tls->base.factory = &listener->factory;
|
||||
|
||||
tls->ssock = ssock;
|
||||
|
||||
--
|
||||
2.5.5
|
||||
|
56
third-party/pjproject/patches/0002-Fix-1946-Avoid-deinitialization-of-uninitialized-cli.patch
vendored
Normal file
56
third-party/pjproject/patches/0002-Fix-1946-Avoid-deinitialization-of-uninitialized-cli.patch
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
From 33fd755e819dc85a96718abc0ae26a9b46f14800 Mon Sep 17 00:00:00 2001
|
||||
From: nanang <nanang@localhost>
|
||||
Date: Thu, 28 Jul 2016 08:21:45 +0000
|
||||
Subject: [PATCH 2/3] Fix #1946: Avoid deinitialization of uninitialized client
|
||||
auth session.
|
||||
|
||||
---
|
||||
pjsip/src/pjsip/sip_dialog.c | 18 ++++++------------
|
||||
1 file changed, 6 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/pjsip/src/pjsip/sip_dialog.c b/pjsip/src/pjsip/sip_dialog.c
|
||||
index f03885d..421ddc4 100644
|
||||
--- a/pjsip/src/pjsip/sip_dialog.c
|
||||
+++ b/pjsip/src/pjsip/sip_dialog.c
|
||||
@@ -92,6 +92,12 @@ static pj_status_t create_dialog( pjsip_user_agent *ua,
|
||||
pj_list_init(&dlg->inv_hdr);
|
||||
pj_list_init(&dlg->rem_cap_hdr);
|
||||
|
||||
+ /* Init client authentication session. */
|
||||
+ status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt,
|
||||
+ dlg->pool, 0);
|
||||
+ if (status != PJ_SUCCESS)
|
||||
+ goto on_error;
|
||||
+
|
||||
status = pj_mutex_create_recursive(pool, dlg->obj_name, &dlg->mutex_);
|
||||
if (status != PJ_SUCCESS)
|
||||
goto on_error;
|
||||
@@ -283,12 +289,6 @@ PJ_DEF(pj_status_t) pjsip_dlg_create_uac( pjsip_user_agent *ua,
|
||||
/* Initial route set is empty. */
|
||||
pj_list_init(&dlg->route_set);
|
||||
|
||||
- /* Init client authentication session. */
|
||||
- status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt,
|
||||
- dlg->pool, 0);
|
||||
- if (status != PJ_SUCCESS)
|
||||
- goto on_error;
|
||||
-
|
||||
/* Register this dialog to user agent. */
|
||||
status = pjsip_ua_register_dlg( ua, dlg );
|
||||
if (status != PJ_SUCCESS)
|
||||
@@ -506,12 +506,6 @@ pj_status_t create_uas_dialog( pjsip_user_agent *ua,
|
||||
}
|
||||
dlg->route_set_frozen = PJ_TRUE;
|
||||
|
||||
- /* Init client authentication session. */
|
||||
- status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt,
|
||||
- dlg->pool, 0);
|
||||
- if (status != PJ_SUCCESS)
|
||||
- goto on_error;
|
||||
-
|
||||
/* Increment the dialog's lock since tsx may cause the dialog to be
|
||||
* destroyed prematurely (such as in case of transport error).
|
||||
*/
|
||||
--
|
||||
2.7.4
|
||||
|
2
third-party/pjproject/patches/config_site.h
vendored
2
third-party/pjproject/patches/config_site.h
vendored
@@ -19,7 +19,7 @@
|
||||
#define PJ_SCANNER_USE_BITWISE 0
|
||||
#define PJ_OS_HAS_CHECK_STACK 0
|
||||
#define PJ_LOG_MAX_LEVEL 3
|
||||
#define PJ_ENABLE_EXTRA_CHECK 0
|
||||
#define PJ_ENABLE_EXTRA_CHECK 1
|
||||
#define PJSIP_MAX_TSX_COUNT ((64*1024)-1)
|
||||
#define PJSIP_MAX_DIALOG_COUNT ((64*1024)-1)
|
||||
#define PJSIP_UDP_SO_SNDBUF_SIZE (512*1024)
|
||||
|
2
third-party/versions.mak
vendored
2
third-party/versions.mak
vendored
@@ -1,2 +1,2 @@
|
||||
|
||||
PJPROJECT_VERSION = 2.5
|
||||
PJPROJECT_VERSION = 2.5.5
|
||||
|
Reference in New Issue
Block a user