Compare commits

...

7 Commits
19.8 ... 19.7.0

Author SHA1 Message Date
Asterisk Development Team
08a104833b Update for 19.7.0 2022-10-19 10:45:06 -05:00
Asterisk Development Team
5ccd8fcd19 Update for 19.7.0-rc2 2022-09-28 07:54:24 -05:00
Naveen Albert
c09321b548 res_pjsip_geolocation: Change some notices to debugs.
If geolocation is not in use for an endpoint, the NOTICE
log level is currently spammed with messages about this,
even though nothing is wrong and these messages provide
no real value. These log messages are therefore changed
to debugs.

ASTERISK-30241 #close

Change-Id: I656b355d812f67cc0f0fdf09b00b0e1458598bb4
(cherry picked from commit 0a0b141278)
2022-09-28 07:22:50 -05:00
George Joseph
5f95e3eddb manager.h: Bump version to 8.0.2
Change-Id: I99c16241f74a909c792cec3c722a3142a1892197
2022-09-28 07:04:27 -05:00
George Joseph
a29e2cbcad res_crypto: Memory issues and uninitialized variable errors
ASTERISK-30235

Change-Id: Ia1e326e7b52cd06fd5e6c9009e3e63193c92f6cd
2022-09-19 05:33:11 -06:00
George Joseph
a0f448587b res_geolocation: Fix issues exposed by compiling with -O2
Fixed "may be used uninitialized" errors in geoloc_config.c.

ASTERISK-30234

Change-Id: I1ea336bf7abbc16fa59b75720f0db8f1d960b3d4
2022-09-16 08:42:58 -06:00
Asterisk Development Team
f20ebb9064 Update for 19.7.0-rc1 2022-09-14 09:35:47 -05:00
16 changed files with 106929 additions and 17 deletions

1
.lastclean Normal file
View File

@@ -0,0 +1 @@
40

1
.version Normal file
View File

@@ -0,0 +1 @@
19.7.0

103140
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,212 @@
<!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-19.7.0</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-19.7.0</h3><h3 align="center">Date: 2022-10-19</h3><h3 align="center">&lt;asteriskteam@digium.com&gt;</h3><hr><h2 align="center">Table of Contents</h2><ol>
<li><a href="#summary">Summary</a></li>
<li><a href="#contributors">Contributors</a></li>
<li><a href="#closed_issues">Closed Issues</a></li>
<li><a href="#open_issues">Open Issues</a></li>
<li><a href="#commits">Other Changes</a></li>
<li><a href="#diffstat">Diffstat</a></li>
</ol><hr><a name="summary"><h2 align="center">Summary</h2></a><center><a href="#top">[Back to Top]</a></center><p>This release is a point release of an existing major version. The changes included were made to address problems that have been identified in this release series, or are minor, backwards compatible new features or improvements. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous version are strongly encouraged to review the UPGRADE.txt document as well as the CHANGES document for information about upgrading to this release series.</p><p>The data in this summary reflects changes that have been made since the previous release, asterisk-19.6.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%">17 Naveen Albert <asterisk@phreaknet.org><br/>10 George Joseph <gjoseph@digium.com><br/>7 Philip Prindeville <philipp@redfish-solutions.com><br/>4 Asterisk Development Team <asteriskteam@digium.com><br/>4 Mike Bradeen <mbradeen@sangoma.com><br/>2 Sean Bright <sean@seanbright.com><br/>2 Joshua C. Colp <jcolp@sangoma.com><br/>1 Alexei Gradinari <alex2grad@gmail.com><br/>1 Ben Ford <bford@digium.com><br/>1 sungtae kim <pchero21@gmail.com><br/></td><td width="33%"><td width="33%">13 N A <asterisk@phreaknet.org><br/>7 George Joseph <gjoseph@digium.com><br/>7 Philip Prindeville <philipp@redfish-solutions.com><br/>3 Joshua C. Colp <jcolp@digium.com><br/>2 Michael Cargile <mikec@vicidial.com><br/>1 Dan Cropp <dan@amtelco.com><br/>1 Daniel Thümen <daniel.thuemen@auerswald.de><br/>1 Chris Young<br/>1 Michael Bradeen <mbradeen@sangoma.com><br/>1 Alexei Gradinari <alex2grad@gmail.com><br/>1 Alexander Traud <pabstraud@compuserve.com><br/>1 Dan Cropp<br/>1 Chris Young <chris.young@servedup.co.uk><br/>1 sungtae kim <pchero21@gmail.com><br/>1 Ted G <tgwaste@gmail.com><br/>1 Gergely Dömsödi <doome@uhusystems.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: Applications/app_confbridge</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30211">ASTERISK-30211</a>: app_confbridge: Add end_marked_any option<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f4ea243e49598d22f6f89f43d866e9acb5321462">[f4ea243e49]</a> Naveen Albert -- app_confbridge: Add end_marked_any option.</li>
</ul><br><h4>Category: Features</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29899">ASTERISK-29899</a>: features: Add advanced transfer initiation options<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a5d5c3a92c0ab7e0446cb028940dd8b9c00e47d7">[a5d5c3a92c]</a> Naveen Albert -- features: Add transfer initiation options.</li>
</ul><br><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30161">ASTERISK-30161</a>: locks: add AMI event for deadlock<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1456dc757b6033c2e556491b9420b84e06d291bd">[1456dc757b]</a> Naveen Albert -- lock.c: Add AMI event for deadlocks.</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30186">ASTERISK-30186</a>: res_pjsip: Add support for reloading TLS certificate and key information<br/>Reported by: Joshua C. Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=03bda8845c35a8cf73c067799b1bc4d9449954fe">[03bda8845c]</a> Joshua C. Colp -- pjsip: Add TLS transport reload support for certificate and key.</li>
</ul><br><h4>Category: Tests/NewFeature</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30037">ASTERISK-30037</a>: Add test support to calling external processes<br/>Reported by: Philip Prindeville<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a11495affda6d5c21a84a767773f95c03d2596fc">[a11495affd]</a> Philip Prindeville -- test: Add test coverage for capture child process output</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b89130c184330ab81064ba74391e67fda7409436">[b89130c184]</a> Philip Prindeville -- main/utils: allow checking for command in $PATH</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=55328b1e5cb26b32132b91f85a90a4ba09b57635">[55328b1e5c]</a> Philip Prindeville -- test: Add ability to capture child process output</li>
</ul><br><h3>Bug</h3><h4>Category: Applications/app_confbridge</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28422">ASTERISK-28422</a>: Memory Leak in Confbridge menu<br/>Reported by: Ted G<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ba5febd14cf95f1bb518d365f413838a83ac5224">[ba5febd14c]</a> Naveen Albert -- app_confbridge: Fix memory leak on updated menu options.</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30020">ASTERISK-30020</a>: ConfbridgeListRooms Event Not Documented<br/>Reported by: Michael Cargile<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=eccc4593b097f2df3edba59ca6ea2747bf2081b4">[eccc4593b0]</a> Naveen Albert -- app_confbridge: Add missing AMI documentation.</li>
</ul><br><h4>Category: Applications/app_meetme</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30018">ASTERISK-30018</a>: app_meetme: MeetmeList AMI event not documented<br/>Reported by: Michael Cargile<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=eb316354a9132bdb02c84ee02953ae4b2ba6fd4a">[eb316354a9]</a> Naveen Albert -- app_meetme: Add missing AMI documentation.</li>
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30135">ASTERISK-30135</a>: [res_musiconhold] Allows the moh only for the answered call<br/>Reported by: sungtae kim<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bdf8ef8882240cd432a2f6d29f733319c16e310b">[bdf8ef8882]</a> sungtae kim -- res_musiconhold: Add option to not play music on hold on unanswered channels</li>
</ul><br><h4>Category: Contrib/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29453">ASTERISK-29453</a>: alembic: incoming_call_offer_pref and outgoing_call_offer_pref missing in "ps_endpoints" table<br/>Reported by: Daniel Thümen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b6c953dcf76bd414e657cf4c51c526972d3fa51a">[b6c953dcf7]</a> Mike Bradeen -- alembic: add missing ps_endpoints columns</li>
</ul><br><h4>Category: Core/Bridging</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30210">ASTERISK-30210</a>: func_frame_trace: Channel masquerade triggers assertion<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=62264edde23640a59e180f622a7503886623a26e">[62264edde2]</a> Naveen Albert -- func_frame_trace: Remove bogus assertion.</li>
</ul><br><h4>Category: Core/CodecInterface</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29185">ASTERISK-29185</a>: chan_pjsip: Endpoint: allow = all is broken.<br/>Reported by: Alexander Traud<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=273dd16c3c251675604b26d8f899f4116e8d2fc5">[273dd16c3c]</a> Joshua C. Colp -- res_pjsip_sdp_rtp: Skip formats without SDP details.</li>
</ul><br><h4>Category: Core/ManagerInterface</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29917">ASTERISK-29917</a>: ami: FilterList action doesn't exist<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d09ccb17ce2421f57bea0e883aebf6fffc83b642">[d09ccb17ce]</a> Naveen Albert -- manager: Remove documentation for nonexistent action.</li>
</ul><br><h4>Category: Core/RTP</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29185">ASTERISK-29185</a>: chan_pjsip: Endpoint: allow = all is broken.<br/>Reported by: Alexander Traud<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=273dd16c3c251675604b26d8f899f4116e8d2fc5">[273dd16c3c]</a> Joshua C. Colp -- res_pjsip_sdp_rtp: Skip formats without SDP details.</li>
</ul><br><h4>Category: Core/Sorcery</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29453">ASTERISK-29453</a>: alembic: incoming_call_offer_pref and outgoing_call_offer_pref missing in "ps_endpoints" table<br/>Reported by: Daniel Thümen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b6c953dcf76bd414e657cf4c51c526972d3fa51a">[b6c953dcf7]</a> Mike Bradeen -- alembic: add missing ps_endpoints columns</li>
</ul><br><h4>Category: Documentation</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29917">ASTERISK-29917</a>: ami: FilterList action doesn't exist<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d09ccb17ce2421f57bea0e883aebf6fffc83b642">[d09ccb17ce]</a> Naveen Albert -- manager: Remove documentation for nonexistent action.</li>
</ul><br><h4>Category: Functions/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30210">ASTERISK-30210</a>: func_frame_trace: Channel masquerade triggers assertion<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=62264edde23640a59e180f622a7503886623a26e">[62264edde2]</a> Naveen Albert -- func_frame_trace: Remove bogus assertion.</li>
</ul><br><h4>Category: Functions/func_srv</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30151">ASTERISK-30151</a>: Documentation doesn't include info about "field", a 3rd required parameter.<br/>Reported by: Chris Young<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=419932691ba7ce9d0b77b6714c1159e7a9ca89ee">[419932691b]</a> Naveen Albert -- func_srv: Document field parameter.</li>
</ul><br><h4>Category: Resources/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30192">ASTERISK-30192</a>: res_tonedetect: fix typo for frametype<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5f712c0060e7d1bbeab7ca5d5ccd8f25110a2acf">[5f712c0060]</a> Naveen Albert -- res_tonedetect: Fix typos referring to wrong variables.</li>
</ul><br><h4>Category: Resources/res_crypto</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30235">ASTERISK-30235</a>: res_crypto and tests: Memory issues and and uninitialized variable error<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a29e2cbcaddd390df537bc8dae565d13c88adfe9">[a29e2cbcad]</a> George Joseph -- res_crypto: Memory issues and uninitialized variable errors</li>
</ul><br><h4>Category: Resources/res_geolocation</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30234">ASTERISK-30234</a>: res_geolocation: ...may be used uninitialized error in geoloc_config.c<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a0f448587b330deecc82b8be5e81775a1885541c">[a0f448587b]</a> George Joseph -- res_geolocation: Fix issues exposed by compiling with -O2</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30215">ASTERISK-30215</a>: Inbound SIP INVITE with Geo Location causing a Segmentation Fault<br/>Reported by: Dan Cropp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7beedd85e161d097a7927e7c0f8d0e667ff8afb2">[7beedd85e1]</a> George Joseph -- res_geolocation: Fix segfault when there's an empty element</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30190">ASTERISK-30190</a>: res_geolocation: GEOLOC_PROFILE isn't returning correct values on incoming channel<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e8220afbd89a1620c97e38d8c54bb9f7b6968a9c">[e8220afbd8]</a> George Joseph -- res_geolocation: Add two new options to GEOLOC_PROFILE</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30167">ASTERISK-30167</a>: res_geolocation: Refactor for issues found by users<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=4846dd5d1862d92f29eb19b81a3e5b3774641de3">[4846dd5d18]</a> George Joseph -- res_geolocation: Address user issues, remove complexity, plug leaks</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29453">ASTERISK-29453</a>: alembic: incoming_call_offer_pref and outgoing_call_offer_pref missing in "ps_endpoints" table<br/>Reported by: Daniel Thümen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b6c953dcf76bd414e657cf4c51c526972d3fa51a">[b6c953dcf7]</a> Mike Bradeen -- alembic: add missing ps_endpoints columns</li>
</ul><br><h4>Category: Resources/res_pjsip_session</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26894">ASTERISK-26894</a>: pjsip should support tel uri scheme<br/>Reported by: Gergely Dömsödi<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=94731d815add545350269ea862c1364e8b6788e0">[94731d815a]</a> Ben Ford -- res_pjsip: Add TEL URI support for basic calls.</li>
</ul><br><h4>Category: Tests/testsuite</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-26826">ASTERISK-26826</a>: testsuite: Add support for Python 3<br/>Reported by: Joshua C. Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=1390a247a66cb1d60feb64e18ebb2418f5df25fb">[1390a247a6]</a> Mike Bradeen -- CI: Fixing path issue on venv check</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f22516a4ac7c45eb488b3758202fd5058bb29043">[f22516a4ac]</a> Mike Bradeen -- CI: use Python3 virtual environment</li>
</ul><br><h3>Improvement</h3><h4>Category: Applications/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30163">ASTERISK-30163</a>: general: fix minor formatting issues<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=409cc1f36e9f3c3eb60d56e2376b5006239ac14a">[409cc1f36e]</a> Naveen Albert -- general: Very minor coding guideline fixes.</li>
</ul><br><h4>Category: Channels/chan_iax2</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30164">ASTERISK-30164</a>: chan_iax2: Add missing option documentation<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bb7ffce38130719960af27d4ef74697a5ff60088">[bb7ffce381]</a> Naveen Albert -- chan_iax2: Add missing options documentation.</li>
</ul><br><h4>Category: Configs/Samples</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30160">ASTERISK-30160</a>: cdr.conf: Remove obsolete app_mysql reference<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=865582f5829faefb1df0778ac059b1fb365c3ab7">[865582f582]</a> Naveen Albert -- cdr.conf: Remove obsolete app_mysql reference.</li>
</ul><br><h4>Category: Core/Logging</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30153">ASTERISK-30153</a>: logger: Improve log levels<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=890cbf429329adaf1e4fa1d4f204708bb66651dc">[890cbf4293]</a> Naveen Albert -- general: Improve logging levels of some log messages.</li>
</ul><br><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30159">ASTERISK-30159</a>: general: Remove obsolete SVN references<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9be41593f07e332c5ee577a82b0539bcf81ae631">[9be41593f0]</a> Naveen Albert -- general: Remove obsolete SVN references.</li>
</ul><br><h4>Category: Resources/res_crypto</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30046">ASTERISK-30046</a>: Reimplement res/res_crypto.c internals with EVP_PKEY interface to Openssl API's<br/>Reported by: Philip Prindeville<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a5fb810f5fc0873ea7de49f1f00261d79e253e5b">[a5fb810f5f]</a> Philip Prindeville -- res_crypto: Use EVP API's instead of legacy API's</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=81bcceca5a0fddda41792ae35f6d4072e8af59fb">[81bcceca5a]</a> Philip Prindeville -- res_crypto: Don't load non-regular files in keys directory</li>
</ul><br><h4>Category: Resources/res_geolocation</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30185">ASTERISK-30185</a>: res_geolocation: Allow location parameters to be specified in profiles<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a9c6f4bd545df2d7182ee8b1812f6f358b561025">[a9c6f4bd54]</a> George Joseph -- res_geolocation: Allow location parameters on the profile object</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30177">ASTERISK-30177</a>: res_geolocation: Add option to suppress empty elements<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=833b9319a4ee3c10a79e923ac4048179e0f52730">[833b9319a4]</a> George Joseph -- res_geolocation: Add profile parameter suppress_empty_ca_elements</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30182">ASTERISK-30182</a>: res_geolocation: Add built-in profiles to use in fully dynamic configurations<br/>Reported by: George Joseph<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a8997a689650dec640fc351ad7338bf19ce820cc">[a8997a6896]</a> George Joseph -- res_geolocation: Add built-in profiles</li>
</ul><br><h4>Category: Resources/res_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30178">ASTERISK-30178</a>: extend user_eq_phone behavior to local uri's<br/>Reported by: Michael Bradeen<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9227fb4d52f527e76179e3c03260836e923605f6">[9227fb4d52]</a> Mike Bradeen -- res_pjsip: Add user=phone on From and PAID for usereqphone=yes</li>
</ul><br><h4>Category: Resources/res_pjsip_geolocation</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30241">ASTERISK-30241</a>: res_pjsip_gelocation: Downgrade some NOTICE scope trace debugs to DEBUG level<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c09321b548d853b205c3e23aaf330b75fb8c91ed">[c09321b548]</a> Naveen Albert -- res_pjsip_geolocation: Change some notices to debugs.</li>
</ul><br><h4>Category: Resources/res_pjsip_pubsub</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29906">ASTERISK-29906</a>: [patch] update RLS to reflect the changes to the lists<br/>Reported by: Alexei Gradinari<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=9eadb789d50ff594c4914fe331f0666800efe5a5">[9eadb789d5]</a> Alexei Gradinari -- res_pjsip_pubsub: Postpone destruction of old subscriptions on RLS update</li>
</ul><br><h4>Category: Tests/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-30045">ASTERISK-30045</a>: Add test coverage to res/res_crypto.c functionality<br/>Reported by: Philip Prindeville<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=63e7832f26076b0907772172c52f996d0a726923">[63e7832f26]</a> Philip Prindeville -- test: Add coverage for res_crypto</li>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6f7280a4cac11791a8b21f285eab1a7838183751">[6f7280a4ca]</a> Philip Prindeville -- res_crypto: make keys reloadable on demand for testing</li>
</ul><br><hr><a name="open_issues"><h2 align="center">Open Issues</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all open issues from the issue tracker that were referenced by changes that went into this release.</p><h3>Bug</h3><h4>Category: General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29846">ASTERISK-29846</a>: channels: bad ao2 ref causes crash<br/>Reported by: N A<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=116ec0b9bbbb95cf238cb477a9f8f044e2bc1060">[116ec0b9bb]</a> Naveen Albert -- cli: Prevent assertions on startup from bad ao2 refs.</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=5ccd8fcd19340ef5adb915994ed1de05adf8f78d">5ccd8fcd19</a></td><td>Asterisk Development Team</td><td>Update for 19.7.0-rc2</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5f95e3eddbc410534b6b22deadeb57add36bceed">5f95e3eddb</a></td><td>George Joseph</td><td>manager.h: Bump version to 8.0.2</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=f20ebb90645548d8bd5be87430d940377a68467d">f20ebb9064</a></td><td>Asterisk Development Team</td><td>Update for 19.7.0-rc1</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=6d8d3677224ffcc870771295c11151114d9657e8">6d8d367722</a></td><td>Asterisk Development Team</td><td>Update CHANGES and UPGRADE.txt for 19.7.0</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ddc6d1f796fab335ebeed0843200e3b06608782a">ddc6d1f796</a></td><td>Sean Bright</td><td>chan_dahdi.c: Resolve a format-truncation build warning.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=217766b706f7a1713eff7fd39104d4ba5d8212d3">217766b706</a></td><td>Sean Bright</td><td>channel.h: Remove redundant declaration.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c40b0134ce41afa9c7e718a722acd6b21397f790">c40b0134ce</a></td><td>Asterisk Development Team</td><td>Update CHANGES and UPGRADE.txt for 19.6.0</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=df4ba4173174744bc87fbc9899c0c850dc8d1987">df4ba41731</a></td><td>George Joseph</td><td>Geolocation: Wiki Documentation</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-19.6.0-summary.html | 187 --
asterisk-19.6.0-summary.txt | 455 -------
b/.version | 2
b/CHANGES | 70 +
b/ChangeLog | 596 +++++++++
b/UPGRADE.txt | 10
b/apps/app_confbridge.c | 33
b/apps/app_meetme.c | 76 +
b/apps/app_mp3.c | 4
b/apps/app_stack.c | 2
b/apps/app_voicemail.c | 6
b/apps/confbridge/conf_config_parser.c | 15
b/apps/confbridge/conf_state.c | 3
b/apps/confbridge/conf_state_empty.c | 3
b/apps/confbridge/conf_state_inactive.c | 3
b/apps/confbridge/conf_state_multi.c | 3
b/apps/confbridge/conf_state_multi_marked.c | 53
b/apps/confbridge/conf_state_single.c | 3
b/apps/confbridge/conf_state_single_marked.c | 3
b/apps/confbridge/include/conf_state.h | 3
b/apps/confbridge/include/confbridge.h | 1
b/asterisk-19.7.0-rc2-summary.html | 23
b/asterisk-19.7.0-rc2-summary.txt | 121 +
b/channels/chan_dahdi.c | 7
b/channels/chan_iax2.c | 18
b/channels/chan_pjsip.c | 6
b/configs/samples/cdr.conf.sample | 2
b/configs/samples/confbridge.conf.sample | 7
b/configs/samples/features.conf.sample | 9
b/configs/samples/geolocation.conf.sample | 48
b/configs/samples/musiconhold.conf.sample | 3
b/configs/samples/pjsip.conf.sample | 22
b/configure | 257 ++-
b/configure.ac | 12
b/contrib/ast-db-manage/config/versions/9f3692b1654b_add_stir_shaken_profile_and_codec_.py | 58
b/contrib/realtime/mysql/mysql_config.sql | 10
b/contrib/realtime/postgresql/postgresql_config.sql | 14
b/doc/appdocsxml.dtd | 4
b/funcs/func_frame_trace.c | 3
b/funcs/func_srv.c | 10
b/include/asterisk/_private.h | 1
b/include/asterisk/autoconfig.h.in | 125 +
b/include/asterisk/channel.h | 2
b/include/asterisk/crypto.h | 40
b/include/asterisk/features_config.h | 2
b/include/asterisk/manager.h | 2
b/include/asterisk/res_geolocation.h | 16
b/include/asterisk/res_pjsip.h | 78 +
b/include/asterisk/strings.h | 2
b/include/asterisk/test.h | 56
b/include/asterisk/utils.h | 10
b/main/Makefile | 3
b/main/asterisk.c | 1
b/main/bridge_basic.c | 61
b/main/channel_internal_api.c | 3
b/main/cli.c | 44
b/main/config.c | 13
b/main/features_config.c | 9
b/main/lock.c | 21
b/main/manager.c | 17
b/main/stasis.c | 2
b/main/strings.c | 1
b/main/test.c | 251 +++
b/main/utils.c | 45
b/makeopts.in | 1
b/menuselect/autoconfig.h.in | 22
b/menuselect/configure | 16
b/res/res_config_sqlite3.c | 3
b/res/res_crypto.c | 395 +++++-
b/res/res_geolocation/eprofile_to_pidf.xslt | 9
b/res/res_geolocation/geoloc_config.c | 313 +++-
b/res/res_geolocation/geoloc_dialplan.c | 138 +-
b/res/res_geolocation/geoloc_doc.xml | 86 +
b/res/res_geolocation/geoloc_eprofile.c | 92 +
b/res/res_geolocation/geoloc_private.h | 16
b/res/res_musiconhold.c | 9
b/res/res_pjsip.c | 64
b/res/res_pjsip/config_transport.c | 72 +
b/res/res_pjsip/pjsip_config.xml | 8
b/res/res_pjsip/pjsip_distributor.c | 6
b/res/res_pjsip/pjsip_message_filter.c | 38
b/res/res_pjsip/pjsip_options.c | 8
b/res/res_pjsip_caller_id.c | 4
b/res/res_pjsip_dialog_info_body_generator.c | 3
b/res/res_pjsip_diversion.c | 10
b/res/res_pjsip_endpoint_identifier_anonymous.c | 6
b/res/res_pjsip_endpoint_identifier_user.c | 10
b/res/res_pjsip_exten_state.c | 10
b/res/res_pjsip_geolocation.c | 30
b/res/res_pjsip_messaging.c | 6
b/res/res_pjsip_nat.c | 1
b/res/res_pjsip_outbound_registration.c | 7
b/res/res_pjsip_path.c | 17
b/res/res_pjsip_pubsub.c | 50
b/res/res_pjsip_sdp_rtp.c | 10
b/res/res_pjsip_session.c | 6
b/res/res_tonedetect.c | 4
b/tests/CI/runTestsuite.sh | 15
b/tests/Makefile | 3
b/tests/keys/rsa_key1.key | 15
b/tests/keys/rsa_key1.pub | 6
b/tests/test_capture.c | 379 +++++
b/tests/test_config.c | 4
b/tests/test_crypto.c | 646 ++++++++++
104 files changed, 4264 insertions(+), 1244 deletions(-)</pre><br></html>

528
asterisk-19.7.0-summary.txt Normal file
View File

@@ -0,0 +1,528 @@
Release Summary
asterisk-19.7.0
Date: 2022-10-19
<asteriskteam@digium.com>
----------------------------------------------------------------------
Table of Contents
1. Summary
2. Contributors
3. Closed Issues
4. Open Issues
5. Other Changes
6. Diffstat
----------------------------------------------------------------------
Summary
[Back to Top]
This release is a point release of an existing major version. The changes
included were made to address problems that have been identified in this
release series, or are minor, backwards compatible new features or
improvements. Users should be able to safely upgrade to this version if
this release series is already in use. Users considering upgrading from a
previous version are strongly encouraged to review the UPGRADE.txt
document as well as the CHANGES document for information about upgrading
to this release series.
The data in this summary reflects changes that have been made since the
previous release, asterisk-19.6.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
17 Naveen Albert 13 N A
10 George Joseph 7 George Joseph
7 Philip Prindeville 7 Philip Prindeville
4 Asterisk Development Team 3 Joshua C. Colp
4 Mike Bradeen 2 Michael Cargile
2 Sean Bright 1 Dan Cropp
2 Joshua C. Colp 1 Daniel Thümen
1 Alexei Gradinari 1 Chris Young
1 Ben Ford 1 Michael Bradeen
1 sungtae kim 1 Alexei Gradinari
1 Alexander Traud
1 Dan Cropp
1 Chris Young
1 sungtae kim
1 Ted G
1 Gergely Dömsödi
----------------------------------------------------------------------
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: Applications/app_confbridge
ASTERISK-30211: app_confbridge: Add end_marked_any option
Reported by: N A
* [f4ea243e49] Naveen Albert -- app_confbridge: Add end_marked_any
option.
Category: Features
ASTERISK-29899: features: Add advanced transfer initiation options
Reported by: N A
* [a5d5c3a92c] Naveen Albert -- features: Add transfer initiation
options.
Category: General
ASTERISK-30161: locks: add AMI event for deadlock
Reported by: N A
* [1456dc757b] Naveen Albert -- lock.c: Add AMI event for deadlocks.
Category: Resources/res_pjsip
ASTERISK-30186: res_pjsip: Add support for reloading TLS certificate and
key information
Reported by: Joshua C. Colp
* [03bda8845c] Joshua C. Colp -- pjsip: Add TLS transport reload support
for certificate and key.
Category: Tests/NewFeature
ASTERISK-30037: Add test support to calling external processes
Reported by: Philip Prindeville
* [a11495affd] Philip Prindeville -- test: Add test coverage for capture
child process output
* [b89130c184] Philip Prindeville -- main/utils: allow checking for
command in $PATH
* [55328b1e5c] Philip Prindeville -- test: Add ability to capture child
process output
Bug
Category: Applications/app_confbridge
ASTERISK-28422: Memory Leak in Confbridge menu
Reported by: Ted G
* [ba5febd14c] Naveen Albert -- app_confbridge: Fix memory leak on
updated menu options.
ASTERISK-30020: ConfbridgeListRooms Event Not Documented
Reported by: Michael Cargile
* [eccc4593b0] Naveen Albert -- app_confbridge: Add missing AMI
documentation.
Category: Applications/app_meetme
ASTERISK-30018: app_meetme: MeetmeList AMI event not documented
Reported by: Michael Cargile
* [eb316354a9] Naveen Albert -- app_meetme: Add missing AMI
documentation.
Category: Channels/chan_pjsip
ASTERISK-30135: [res_musiconhold] Allows the moh only for the answered
call
Reported by: sungtae kim
* [bdf8ef8882] sungtae kim -- res_musiconhold: Add option to not play
music on hold on unanswered channels
Category: Contrib/General
ASTERISK-29453: alembic: incoming_call_offer_pref and
outgoing_call_offer_pref missing in "ps_endpoints" table
Reported by: Daniel Thümen
* [b6c953dcf7] Mike Bradeen -- alembic: add missing ps_endpoints columns
Category: Core/Bridging
ASTERISK-30210: func_frame_trace: Channel masquerade triggers assertion
Reported by: N A
* [62264edde2] Naveen Albert -- func_frame_trace: Remove bogus
assertion.
Category: Core/CodecInterface
ASTERISK-29185: chan_pjsip: Endpoint: allow = all is broken.
Reported by: Alexander Traud
* [273dd16c3c] Joshua C. Colp -- res_pjsip_sdp_rtp: Skip formats without
SDP details.
Category: Core/ManagerInterface
ASTERISK-29917: ami: FilterList action doesn't exist
Reported by: N A
* [d09ccb17ce] Naveen Albert -- manager: Remove documentation for
nonexistent action.
Category: Core/RTP
ASTERISK-29185: chan_pjsip: Endpoint: allow = all is broken.
Reported by: Alexander Traud
* [273dd16c3c] Joshua C. Colp -- res_pjsip_sdp_rtp: Skip formats without
SDP details.
Category: Core/Sorcery
ASTERISK-29453: alembic: incoming_call_offer_pref and
outgoing_call_offer_pref missing in "ps_endpoints" table
Reported by: Daniel Thümen
* [b6c953dcf7] Mike Bradeen -- alembic: add missing ps_endpoints columns
Category: Documentation
ASTERISK-29917: ami: FilterList action doesn't exist
Reported by: N A
* [d09ccb17ce] Naveen Albert -- manager: Remove documentation for
nonexistent action.
Category: Functions/General
ASTERISK-30210: func_frame_trace: Channel masquerade triggers assertion
Reported by: N A
* [62264edde2] Naveen Albert -- func_frame_trace: Remove bogus
assertion.
Category: Functions/func_srv
ASTERISK-30151: Documentation doesn't include info about "field", a 3rd
required parameter.
Reported by: Chris Young
* [419932691b] Naveen Albert -- func_srv: Document field parameter.
Category: Resources/General
ASTERISK-30192: res_tonedetect: fix typo for frametype
Reported by: N A
* [5f712c0060] Naveen Albert -- res_tonedetect: Fix typos referring to
wrong variables.
Category: Resources/res_crypto
ASTERISK-30235: res_crypto and tests: Memory issues and and uninitialized
variable error
Reported by: George Joseph
* [a29e2cbcad] George Joseph -- res_crypto: Memory issues and
uninitialized variable errors
Category: Resources/res_geolocation
ASTERISK-30234: res_geolocation: ...may be used uninitialized error in
geoloc_config.c
Reported by: George Joseph
* [a0f448587b] George Joseph -- res_geolocation: Fix issues exposed by
compiling with -O2
ASTERISK-30215: Inbound SIP INVITE with Geo Location causing a
Segmentation Fault
Reported by: Dan Cropp
* [7beedd85e1] George Joseph -- res_geolocation: Fix segfault when
there's an empty element
ASTERISK-30190: res_geolocation: GEOLOC_PROFILE isn't returning correct
values on incoming channel
Reported by: George Joseph
* [e8220afbd8] George Joseph -- res_geolocation: Add two new options to
GEOLOC_PROFILE
ASTERISK-30167: res_geolocation: Refactor for issues found by users
Reported by: George Joseph
* [4846dd5d18] George Joseph -- res_geolocation: Address user issues,
remove complexity, plug leaks
Category: Resources/res_pjsip
ASTERISK-29453: alembic: incoming_call_offer_pref and
outgoing_call_offer_pref missing in "ps_endpoints" table
Reported by: Daniel Thümen
* [b6c953dcf7] Mike Bradeen -- alembic: add missing ps_endpoints columns
Category: Resources/res_pjsip_session
ASTERISK-26894: pjsip should support tel uri scheme
Reported by: Gergely Dömsödi
* [94731d815a] Ben Ford -- res_pjsip: Add TEL URI support for basic
calls.
Category: Tests/testsuite
ASTERISK-26826: testsuite: Add support for Python 3
Reported by: Joshua C. Colp
* [1390a247a6] Mike Bradeen -- CI: Fixing path issue on venv check
* [f22516a4ac] Mike Bradeen -- CI: use Python3 virtual environment
Improvement
Category: Applications/General
ASTERISK-30163: general: fix minor formatting issues
Reported by: N A
* [409cc1f36e] Naveen Albert -- general: Very minor coding guideline
fixes.
Category: Channels/chan_iax2
ASTERISK-30164: chan_iax2: Add missing option documentation
Reported by: N A
* [bb7ffce381] Naveen Albert -- chan_iax2: Add missing options
documentation.
Category: Configs/Samples
ASTERISK-30160: cdr.conf: Remove obsolete app_mysql reference
Reported by: N A
* [865582f582] Naveen Albert -- cdr.conf: Remove obsolete app_mysql
reference.
Category: Core/Logging
ASTERISK-30153: logger: Improve log levels
Reported by: N A
* [890cbf4293] Naveen Albert -- general: Improve logging levels of some
log messages.
Category: General
ASTERISK-30159: general: Remove obsolete SVN references
Reported by: N A
* [9be41593f0] Naveen Albert -- general: Remove obsolete SVN references.
Category: Resources/res_crypto
ASTERISK-30046: Reimplement res/res_crypto.c internals with EVP_PKEY
interface to Openssl API's
Reported by: Philip Prindeville
* [a5fb810f5f] Philip Prindeville -- res_crypto: Use EVP API's instead
of legacy API's
* [81bcceca5a] Philip Prindeville -- res_crypto: Don't load non-regular
files in keys directory
Category: Resources/res_geolocation
ASTERISK-30185: res_geolocation: Allow location parameters to be specified
in profiles
Reported by: George Joseph
* [a9c6f4bd54] George Joseph -- res_geolocation: Allow location
parameters on the profile object
ASTERISK-30177: res_geolocation: Add option to suppress empty elements
Reported by: George Joseph
* [833b9319a4] George Joseph -- res_geolocation: Add profile parameter
suppress_empty_ca_elements
ASTERISK-30182: res_geolocation: Add built-in profiles to use in fully
dynamic configurations
Reported by: George Joseph
* [a8997a6896] George Joseph -- res_geolocation: Add built-in profiles
Category: Resources/res_pjsip
ASTERISK-30178: extend user_eq_phone behavior to local uri's
Reported by: Michael Bradeen
* [9227fb4d52] Mike Bradeen -- res_pjsip: Add user=phone on From and
PAID for usereqphone=yes
Category: Resources/res_pjsip_geolocation
ASTERISK-30241: res_pjsip_gelocation: Downgrade some NOTICE scope trace
debugs to DEBUG level
Reported by: N A
* [c09321b548] Naveen Albert -- res_pjsip_geolocation: Change some
notices to debugs.
Category: Resources/res_pjsip_pubsub
ASTERISK-29906: [patch] update RLS to reflect the changes to the lists
Reported by: Alexei Gradinari
* [9eadb789d5] Alexei Gradinari -- res_pjsip_pubsub: Postpone
destruction of old subscriptions on RLS update
Category: Tests/General
ASTERISK-30045: Add test coverage to res/res_crypto.c functionality
Reported by: Philip Prindeville
* [63e7832f26] Philip Prindeville -- test: Add coverage for res_crypto
* [6f7280a4ca] Philip Prindeville -- res_crypto: make keys reloadable on
demand for testing
----------------------------------------------------------------------
Open Issues
[Back to Top]
This is a list of all open issues from the issue tracker that were
referenced by changes that went into this release.
Bug
Category: General
ASTERISK-29846: channels: bad ao2 ref causes crash
Reported by: N A
* [116ec0b9bb] Naveen Albert -- cli: Prevent assertions on startup from
bad ao2 refs.
----------------------------------------------------------------------
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 |
|------------+----------------------+------------------------------------|
| 5ccd8fcd19 | Asterisk Development | Update for 19.7.0-rc2 |
| | Team | |
|------------+----------------------+------------------------------------|
| 5f95e3eddb | George Joseph | manager.h: Bump version to 8.0.2 |
|------------+----------------------+------------------------------------|
| f20ebb9064 | Asterisk Development | Update for 19.7.0-rc1 |
| | Team | |
|------------+----------------------+------------------------------------|
| 6d8d367722 | Asterisk Development | Update CHANGES and UPGRADE.txt for |
| | Team | 19.7.0 |
|------------+----------------------+------------------------------------|
| ddc6d1f796 | Sean Bright | chan_dahdi.c: Resolve a |
| | | format-truncation build warning. |
|------------+----------------------+------------------------------------|
| 217766b706 | Sean Bright | channel.h: Remove redundant |
| | | declaration. |
|------------+----------------------+------------------------------------|
| c40b0134ce | Asterisk Development | Update CHANGES and UPGRADE.txt for |
| | Team | 19.6.0 |
|------------+----------------------+------------------------------------|
| df4ba41731 | George Joseph | Geolocation: Wiki Documentation |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
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-19.6.0-summary.html | 187 --
asterisk-19.6.0-summary.txt | 455 -------
b/.version | 2
b/CHANGES | 70 +
b/ChangeLog | 596 +++++++++
b/UPGRADE.txt | 10
b/apps/app_confbridge.c | 33
b/apps/app_meetme.c | 76 +
b/apps/app_mp3.c | 4
b/apps/app_stack.c | 2
b/apps/app_voicemail.c | 6
b/apps/confbridge/conf_config_parser.c | 15
b/apps/confbridge/conf_state.c | 3
b/apps/confbridge/conf_state_empty.c | 3
b/apps/confbridge/conf_state_inactive.c | 3
b/apps/confbridge/conf_state_multi.c | 3
b/apps/confbridge/conf_state_multi_marked.c | 53
b/apps/confbridge/conf_state_single.c | 3
b/apps/confbridge/conf_state_single_marked.c | 3
b/apps/confbridge/include/conf_state.h | 3
b/apps/confbridge/include/confbridge.h | 1
b/asterisk-19.7.0-rc2-summary.html | 23
b/asterisk-19.7.0-rc2-summary.txt | 121 +
b/channels/chan_dahdi.c | 7
b/channels/chan_iax2.c | 18
b/channels/chan_pjsip.c | 6
b/configs/samples/cdr.conf.sample | 2
b/configs/samples/confbridge.conf.sample | 7
b/configs/samples/features.conf.sample | 9
b/configs/samples/geolocation.conf.sample | 48
b/configs/samples/musiconhold.conf.sample | 3
b/configs/samples/pjsip.conf.sample | 22
b/configure | 257 ++-
b/configure.ac | 12
b/contrib/ast-db-manage/config/versions/9f3692b1654b_add_stir_shaken_profile_and_codec_.py | 58
b/contrib/realtime/mysql/mysql_config.sql | 10
b/contrib/realtime/postgresql/postgresql_config.sql | 14
b/doc/appdocsxml.dtd | 4
b/funcs/func_frame_trace.c | 3
b/funcs/func_srv.c | 10
b/include/asterisk/_private.h | 1
b/include/asterisk/autoconfig.h.in | 125 +
b/include/asterisk/channel.h | 2
b/include/asterisk/crypto.h | 40
b/include/asterisk/features_config.h | 2
b/include/asterisk/manager.h | 2
b/include/asterisk/res_geolocation.h | 16
b/include/asterisk/res_pjsip.h | 78 +
b/include/asterisk/strings.h | 2
b/include/asterisk/test.h | 56
b/include/asterisk/utils.h | 10
b/main/Makefile | 3
b/main/asterisk.c | 1
b/main/bridge_basic.c | 61
b/main/channel_internal_api.c | 3
b/main/cli.c | 44
b/main/config.c | 13
b/main/features_config.c | 9
b/main/lock.c | 21
b/main/manager.c | 17
b/main/stasis.c | 2
b/main/strings.c | 1
b/main/test.c | 251 +++
b/main/utils.c | 45
b/makeopts.in | 1
b/menuselect/autoconfig.h.in | 22
b/menuselect/configure | 16
b/res/res_config_sqlite3.c | 3
b/res/res_crypto.c | 395 +++++-
b/res/res_geolocation/eprofile_to_pidf.xslt | 9
b/res/res_geolocation/geoloc_config.c | 313 +++-
b/res/res_geolocation/geoloc_dialplan.c | 138 +-
b/res/res_geolocation/geoloc_doc.xml | 86 +
b/res/res_geolocation/geoloc_eprofile.c | 92 +
b/res/res_geolocation/geoloc_private.h | 16
b/res/res_musiconhold.c | 9
b/res/res_pjsip.c | 64
b/res/res_pjsip/config_transport.c | 72 +
b/res/res_pjsip/pjsip_config.xml | 8
b/res/res_pjsip/pjsip_distributor.c | 6
b/res/res_pjsip/pjsip_message_filter.c | 38
b/res/res_pjsip/pjsip_options.c | 8
b/res/res_pjsip_caller_id.c | 4
b/res/res_pjsip_dialog_info_body_generator.c | 3
b/res/res_pjsip_diversion.c | 10
b/res/res_pjsip_endpoint_identifier_anonymous.c | 6
b/res/res_pjsip_endpoint_identifier_user.c | 10
b/res/res_pjsip_exten_state.c | 10
b/res/res_pjsip_geolocation.c | 30
b/res/res_pjsip_messaging.c | 6
b/res/res_pjsip_nat.c | 1
b/res/res_pjsip_outbound_registration.c | 7
b/res/res_pjsip_path.c | 17
b/res/res_pjsip_pubsub.c | 50
b/res/res_pjsip_sdp_rtp.c | 10
b/res/res_pjsip_session.c | 6
b/res/res_tonedetect.c | 4
b/tests/CI/runTestsuite.sh | 15
b/tests/Makefile | 3
b/tests/keys/rsa_key1.key | 15
b/tests/keys/rsa_key1.pub | 6
b/tests/test_capture.c | 379 +++++
b/tests/test_config.c | 4
b/tests/test_crypto.c | 646 ++++++++++
104 files changed, 4264 insertions(+), 1244 deletions(-)

View File

@@ -0,0 +1,41 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR(20),
src VARCHAR(80),
dst VARCHAR(80),
dcontext VARCHAR(80),
clid VARCHAR(80),
channel VARCHAR(80),
dstchannel VARCHAR(80),
lastapp VARCHAR(80),
lastdata VARCHAR(80),
start DATETIME,
answer DATETIME,
end DATETIME,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR(45),
amaflags VARCHAR(45),
userfield VARCHAR(256),
uniqueid VARCHAR(150),
linkedid VARCHAR(150),
peeraccount VARCHAR(20),
sequence INTEGER
);
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
-- Running upgrade 210693f3123d -> 54cde9847798
ALTER TABLE cdr MODIFY accountcode VARCHAR(80) NULL;
ALTER TABLE cdr MODIFY peeraccount VARCHAR(80) NULL;
UPDATE alembic_version SET version_num='54cde9847798' WHERE alembic_version.version_num = '210693f3123d';

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -0,0 +1,45 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR(20),
src VARCHAR(80),
dst VARCHAR(80),
dcontext VARCHAR(80),
clid VARCHAR(80),
channel VARCHAR(80),
dstchannel VARCHAR(80),
lastapp VARCHAR(80),
lastdata VARCHAR(80),
start TIMESTAMP WITHOUT TIME ZONE,
answer TIMESTAMP WITHOUT TIME ZONE,
"end" TIMESTAMP WITHOUT TIME ZONE,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR(45),
amaflags VARCHAR(45),
userfield VARCHAR(256),
uniqueid VARCHAR(150),
linkedid VARCHAR(150),
peeraccount VARCHAR(20),
sequence INTEGER
);
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
-- Running upgrade 210693f3123d -> 54cde9847798
ALTER TABLE cdr ALTER COLUMN accountcode TYPE VARCHAR(80);
ALTER TABLE cdr ALTER COLUMN peeraccount TYPE VARCHAR(80);
UPDATE alembic_version SET version_num='54cde9847798' WHERE alembic_version.version_num = '210693f3123d';
COMMIT;

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -54,7 +54,7 @@
- \ref manager.c Main manager code file
*/
#define AMI_VERSION "8.0.1"
#define AMI_VERSION "8.0.2"
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
#define DEFAULT_MANAGER_TLS_PORT 5039 /* Default port for Asterisk management via TCP */

View File

@@ -316,9 +316,13 @@ void ast_test_set_result(struct ast_test *test, enum ast_test_result_state state
void ast_test_capture_free(struct ast_test_capture *capture)
{
if (capture) {
free(capture->outbuf);
/*
* Need to use ast_std_free because this memory wasn't
* allocated by the astmm functions.
*/
ast_std_free(capture->outbuf);
capture->outbuf = NULL;
free(capture->errbuf);
ast_std_free(capture->errbuf);
capture->errbuf = NULL;
}
capture->pid = -1;
@@ -330,6 +334,7 @@ int ast_test_capture_command(struct ast_test_capture *capture, const char *file,
int fd0[2] = { -1, -1 }, fd1[2] = { -1, -1 }, fd2[2] = { -1, -1 };
pid_t pid = -1;
int status = 0;
FILE *cmd = NULL, *out = NULL, *err = NULL;
memset(capture, 0, sizeof(*capture));
capture->pid = capture->exitcode = -1;
@@ -379,8 +384,6 @@ int ast_test_capture_command(struct ast_test_capture *capture, const char *file,
exit(1);
} else {
FILE *cmd = NULL, *out = NULL, *err = NULL;
char buf[BUFSIZ];
int wstatus, n, nfds;
fd_set readfds, writefds;

View File

@@ -187,7 +187,7 @@ static int geoloc_profile_apply_handler(const struct ast_sorcery *sorcery, void
struct ast_geoloc_location *location;
const char *id = ast_sorcery_object_get_id(profile);
enum ast_geoloc_validate_result result;
enum ast_geoloc_format format;
enum ast_geoloc_format format = AST_GEOLOC_FORMAT_NONE;
int rc = 0;
if (!ast_strlen_zero(profile->location_reference)) {

View File

@@ -145,7 +145,7 @@ static int handle_incoming_request(struct ast_sip_session *session, struct pjsip
char *geoloc_routing_hdr_value = NULL;
char *geoloc_uri = NULL;
int rc = 0;
RAII_VAR(struct ast_str *, buf, ast_str_create(1024), ast_free);
RAII_VAR(struct ast_str *, buf, NULL, ast_free);
pjsip_generic_string_hdr *geoloc_hdr = NULL;
pjsip_generic_string_hdr *geoloc_routing_hdr = NULL;
SCOPE_ENTER(3, "%s\n", session_name);
@@ -191,7 +191,7 @@ static int handle_incoming_request(struct ast_sip_session *session, struct pjsip
"Done.\n", session_name,
PJSTR_PRINTF_VAR(geoloc_hdr->hvalue));
} else {
SCOPE_EXIT_LOG_RTN_VALUE(0, LOG_NOTICE, "%s: Endpoint has no geoloc_incoming_call_profile. "
SCOPE_EXIT_RTN_VALUE(0, "%s: Endpoint has no geoloc_incoming_call_profile. "
"Done.\n", session_name);
}
}
@@ -209,6 +209,11 @@ static int handle_incoming_request(struct ast_sip_session *session, struct pjsip
}
}
buf = ast_str_create(1024);
if (!buf) {
SCOPE_EXIT_LOG_RTN_VALUE(0, LOG_WARNING, "%s: Unable to allocate buf\n", session_name);
}
if (config_profile->precedence != AST_GEOLOC_PRECED_DISCARD_CONFIG) {
config_eprofile = ast_geoloc_eprofile_create_from_profile(config_profile);
if (!config_eprofile) {
@@ -469,7 +474,7 @@ static void handle_outgoing_request(struct ast_sip_session *session, struct pjsi
RAII_VAR(struct ast_geoloc_eprofile *, config_eprofile, NULL, ao2_cleanup);
RAII_VAR(struct ast_geoloc_eprofile *, incoming_eprofile, NULL, ao2_cleanup);
struct ast_geoloc_eprofile *final_eprofile = NULL;
RAII_VAR(struct ast_str *, buf, ast_str_create(1024), ast_free);
RAII_VAR(struct ast_str *, buf, NULL, ast_free);
struct ast_datastore *ds = NULL; /* The channel cleans up ds */
pjsip_msg_body *orig_body = NULL;
pjsip_generic_string_hdr *geoloc_hdr = NULL;
@@ -478,11 +483,6 @@ static void handle_outgoing_request(struct ast_sip_session *session, struct pjsi
const char *uri;
SCOPE_ENTER(3, "%s\n", session_name);
if (!buf) {
SCOPE_EXIT_LOG_RTN(LOG_WARNING, "%s: Unable to allocate buf\n",
session_name);
}
if (!endpoint) {
SCOPE_EXIT_LOG_RTN(LOG_WARNING, "%s: Session has no endpoint. Skipping.\n",
session_name);
@@ -494,8 +494,8 @@ static void handle_outgoing_request(struct ast_sip_session *session, struct pjsi
}
if (ast_strlen_zero(endpoint->geoloc_outgoing_call_profile)) {
SCOPE_EXIT_LOG_RTN(LOG_NOTICE, "%s: Endpoint has no geoloc_outgoing_call_profile. "
"Skipping.\n", session_name);
SCOPE_EXIT_RTN("%s: Endpoint has no geoloc_outgoing_call_profile. Skipping.\n",
session_name);
}
config_profile = ast_geoloc_get_profile(endpoint->geoloc_outgoing_call_profile);
@@ -578,6 +578,11 @@ static void handle_outgoing_request(struct ast_sip_session *session, struct pjsi
ast_geoloc_eprofile_refresh_location(final_eprofile);
}
buf = ast_str_create(1024);
if (!buf) {
SCOPE_EXIT_LOG_RTN(LOG_WARNING, "%s: Unable to allocate buf\n", session_name);
}
if (final_eprofile->format == AST_GEOLOC_FORMAT_URI) {
uri = ast_geoloc_eprofile_to_uri(final_eprofile, channel, &buf, session_name);
if (!uri) {

View File

@@ -49,7 +49,7 @@ static const char *old_key_dir = NULL;
static char *hexstring(const unsigned char *data, unsigned datalen)
{
char *buf = alloca(datalen * 2 + 1);
char *buf = ast_malloc(datalen * 2 + 1);
unsigned n;
for (n = 0; n < datalen; ++n) {
@@ -532,6 +532,7 @@ AST_TEST_DEFINE(crypto_aes_encrypt)
res = AST_TEST_PASS;
cleanup:
ast_free(args[KEY]);
ast_test_capture_free(&cap);
return res;
}
@@ -610,6 +611,7 @@ AST_TEST_DEFINE(crypto_aes_decrypt)
res = AST_TEST_PASS;
cleanup:
ast_free(args[KEY]);
ast_test_capture_free(&cap);
return res;
}