| 1 | <html><head><title>ChangeLog for asterisk-22.7.0</title></head><body> |
| 2 | <h2>Change Log for Release asterisk-22.7.0</h2> |
| 3 | <h3>Links:</h3> |
| 4 | <ul> |
| 5 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.7.0.html">Full ChangeLog</a> </li> |
| 6 | <li><a href="https://github.com/asterisk/asterisk/compare/22.6.0...22.7.0">GitHub Diff</a> </li> |
| 7 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.7.0.tar.gz">Tarball</a> </li> |
| 8 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk">Downloads</a> </li> |
| 9 | </ul> |
| 10 | <h3>Summary:</h3> |
| 11 | <ul> |
| 12 | <li>Commits: 52</li> |
| 13 | <li>Commit Authors: 16</li> |
| 14 | <li>Issues Resolved: 36</li> |
| 15 | <li>Security Advisories Resolved: 0</li> |
| 16 | </ul> |
| 17 | <h3>User Notes:</h3> |
| 18 | <ul> |
| 19 | <li> |
| 20 | <h4>res_stir_shaken: Add STIR_SHAKEN_ATTESTATION dialplan function.</h4> |
| 21 | <p>The STIR_SHAKEN_ATTESTATION dialplan function has been added |
| 22 | which will allow suppressing attestation on a call-by-call basis |
| 23 | regardless of the profile attached to the outgoing endpoint.</p> |
| 24 | </li> |
| 25 | <li> |
| 26 | <h4>func_channel: Allow R/W of ADSI CPE capability setting.</h4> |
| 27 | <p>CHANNEL(adsicpe) can now be read or written to change |
| 28 | the channels' ADSI CPE capability setting.</p> |
| 29 | </li> |
| 30 | <li> |
| 31 | <h4>func_hangupcause.c: Add access to Reason headers via HANGUPCAUSE()</h4> |
| 32 | <p>Added a new option to HANGUPCAUSE to access additional |
| 33 | information about hangup reason. Reason headers from pjsip |
| 34 | could be read using 'tech_extended' cause type.</p> |
| 35 | </li> |
| 36 | <li> |
| 37 | <h4>func_math: Add DIGIT_SUM function.</h4> |
| 38 | <p>The DIGIT_SUM function can be used to return the digit sum of |
| 39 | a number.</p> |
| 40 | </li> |
| 41 | <li> |
| 42 | <h4>app_sf: Add post-digit timer option to ReceiveSF.</h4> |
| 43 | <p>The 't' option for ReceiveSF now allows for a timer since |
| 44 | the last digit received, in addition to the number-wide timeout.</p> |
| 45 | </li> |
| 46 | <li> |
| 47 | <h4>app_dial: Allow fractional seconds for dial timeouts.</h4> |
| 48 | <p>The answer and progress dial timeouts now have millisecond |
| 49 | precision, instead of having to be whole numbers.</p> |
| 50 | </li> |
| 51 | <li> |
| 52 | <h4>chan_dahdi: Add DAHDI_CHANNEL function.</h4> |
| 53 | <p>The DAHDI_CHANNEL function allows for getting/setting |
| 54 | certain properties about DAHDI channels from the dialplan.</p> |
| 55 | </li> |
| 56 | </ul> |
| 57 | <h3>Upgrade Notes:</h3> |
| 58 | <ul> |
| 59 | <li> |
| 60 | <h4>app_queue.c: Fix error in Queue parameter documentation.</h4> |
| 61 | <p>As part of Asterisk 21, macros were removed from Asterisk. |
| 62 | This resulted in argument order changing for the Queue dialplan |
| 63 | application since the macro argument was removed. Upgrade notice was |
| 64 | missed when this was done, so this upgrade note has been added to |
| 65 | provide a record of such and a notice to users who may have not upgraded |
| 66 | yet.</p> |
| 67 | </li> |
| 68 | <li> |
| 69 | <h4>res_audiosocket: add message types for all slin sample rates</h4> |
| 70 | <p>New audiosocket message types 0x11 - 0x18 has been added |
| 71 | for slin12, slin16, slin24, slin32, slin44, slin48, slin96, and |
| 72 | slin192 audio. External applications using audiosocket may need to be |
| 73 | updated to support these message types if the audiosocket channel is |
| 74 | created with one of these audio formats.</p> |
| 75 | </li> |
| 76 | <li> |
| 77 | <h4>taskpool: Add taskpool API, switch Stasis to using it.</h4> |
| 78 | <p>The threadpool_* options in stasis.conf have now been deprecated |
| 79 | though they continue to be read and used. They have been replaced with taskpool |
| 80 | options that give greater control over the underlying taskpool used for stasis.</p> |
| 81 | </li> |
| 82 | </ul> |
| 83 | <h3>Developer Notes:</h3> |
| 84 | <ul> |
| 85 | <li> |
| 86 | <h4>chan_pjsip: Add technology-specific off-nominal hangup cause to events.</h4> |
| 87 | <p>A "tech_cause" parameter has been added to the |
| 88 | ChannelHangupRequest and ChannelDestroyed ARI event messages and a "TechCause" |
| 89 | parameter has been added to the HangupRequest, SoftHangupRequest and Hangup |
| 90 | AMI event messages. For chan_pjsip, these will be set to the last SIP |
| 91 | response status code for off-nominally terminated calls. The parameter is |
| 92 | suppressed for nominal termination.</p> |
| 93 | </li> |
| 94 | <li> |
| 95 | <h4>ARI: The bridges play and record APIs now handle sample rates > 8K correctly.</h4> |
| 96 | <p>The ARI /bridges/play and /bridges/record REST APIs have new |
| 97 | parameters that allow the caller to specify the format to be used on the |
| 98 | "Announcer" and "Recorder" channels respecitvely.</p> |
| 99 | </li> |
| 100 | <li> |
| 101 | <h4>taskpool: Add taskpool API, switch Stasis to using it.</h4> |
| 102 | <p>The taskpool API has been added for common usage of a |
| 103 | pool of taskprocessors. It is suggested to use this API instead of the |
| 104 | threadpool+taskprocessor approach.</p> |
| 105 | </li> |
| 106 | </ul> |
| 107 | <h3>Commit Authors:</h3> |
| 108 | <ul> |
| 109 | <li>Anthony Minessale: (1)</li> |
| 110 | <li>Bastian Triller: (1)</li> |
| 111 | <li>Ben Ford: (2)</li> |
| 112 | <li>Christoph Moench-Tegeder: (1)</li> |
| 113 | <li>George Joseph: (9)</li> |
| 114 | <li>Igor Goncharovsky: (1)</li> |
| 115 | <li>Joshua C. Colp: (6)</li> |
| 116 | <li>Max Grobecker: (1)</li> |
| 117 | <li>Nathan Monfils: (1)</li> |
| 118 | <li>Naveen Albert: (18)</li> |
| 119 | <li>Roman Pertsev: (1)</li> |
| 120 | <li>Sean Bright: (3)</li> |
| 121 | <li>Sven Kube: (3)</li> |
| 122 | <li>Tinet-mucw: (1)</li> |
| 123 | <li>gauravs456: (1)</li> |
| 124 | <li>phoneben: (2)</li> |
| 125 | </ul> |
| 126 | <h2>Issue and Commit Detail:</h2> |
| 127 | <h3>Closed Issues:</h3> |
| 128 | <ul> |
| 129 | <li>781: [improvement]: Allow call by call disabling Stir/Shaken header inclusion </li> |
| 130 | <li>1340: [bug]: comfort noise packet corrupted</li> |
| 131 | <li>1419: [bug]: static code analysis issues in app_adsiprog.c</li> |
| 132 | <li>1422: [bug]: static code analysis issues in apps/app_externalivr.c</li> |
| 133 | <li>1425: [bug]: static code analysis issues in apps/app_queue.c</li> |
| 134 | <li>1434: [improvement]: pbx_variables: Create real channel for dialplan eval CLI command</li> |
| 135 | <li>1436: [improvement]: res_cliexec: Avoid unnecessary cast to char*</li> |
| 136 | <li>1455: [new-feature]: chan_dahdi: Add DAHDI_CHANNEL function</li> |
| 137 | <li>1467: [bug]: Crash in res_pjsip_refer during REFER progress teardown with PJSIP_TRANSFER_HANDLING(ari-only)</li> |
| 138 | <li>1478: [improvement]: Stasis threadpool -> taskpool</li> |
| 139 | <li>1479: [bug]: The ARI bridge play and record APIs limit audio bandwidth by forcing the slin8 format.</li> |
| 140 | <li>1483: [improvement]: sig_analog: Eliminate possible timeout for Last Number Redial</li> |
| 141 | <li>1485: [improvement]: func_scramble: Add example to XML documentation.</li> |
| 142 | <li>1487: [improvement]: app_dial: Allow partial seconds to be used for dial timeouts</li> |
| 143 | <li>1489: [improvement]: config_options.c: Improve misleading error message</li> |
| 144 | <li>1491: [bug]: Segfault: <code>channelstorage_cpp</code> fast lookup without lock (<code>get_by_name_exact</code>/<code>get_by_uniqueid</code>) leads to UAF during hangup</li> |
| 145 | <li>1493: [new-feature]: app_sf: Add post-digit timer option</li> |
| 146 | <li>1496: [improvement]: dsp.c: Minor fixes to debug log messages</li> |
| 147 | <li>1499: [new-feature]: func_math: Add function to return the digit sum</li> |
| 148 | <li>1501: [improvement]: codec_builtin: Fix some inaccurate quality weights.</li> |
| 149 | <li>1505: [improvement]: res_fax: Add XML documentation for channel variables</li> |
| 150 | <li>1507: [improvement]: res_tonedetect: Minor formatting issue in documentation</li> |
| 151 | <li>1509: [improvement]: res_fax.c — log debug error as debug, not regular log</li> |
| 152 | <li>1510: [new-feature]: sig_analog: Allow '#' to end the inter-digit timeout when dialing.</li> |
| 153 | <li>1514: [improvement]: func_channel: Allow R/W of ADSI CPE capability setting.</li> |
| 154 | <li>1517: [improvement]: core_unreal: Preserve ADSI capability when dialing Local channels</li> |
| 155 | <li>1519: [improvement]: app_dial / func_callerid: DNIS information is not propagated by Dial</li> |
| 156 | <li>1525: [bug]: chan_websocket: fix use of raw payload variable for string comparison in process_text_message</li> |
| 157 | <li>1534: [bug]: app_queue when using gosub breaks dialplan when going from 20 to 21, What's new in 21 doesn't mention it's a breaking change,</li> |
| 158 | <li>1535: [bug]: chan_pjsip changes SSRC on WebRTC channels, which is unsupported by some browsers</li> |
| 159 | <li>1536: [bug]: asterisk -rx connects to console instead of executing a command</li> |
| 160 | <li>1539: [bug]: safe_asterisk without TTY doesn't log to file</li> |
| 161 | <li>1544: [improvement]: While Receiving the MediaConnect Message Using External Media Over websocket ChannelID is Details are missing</li> |
| 162 | <li>1554: [bug]: safe_asterisk recurses into subdirectories of startup.d after f97361</li> |
| 163 | <li>1559: [improvement]: Handle TLS handshake attacks in order to resolve the issue of exceeding the maximum number of HTTPS sessions.</li> |
| 164 | <li>1578: [bug]: Deadlock with externalMedia custom channel id and cpp map channel backend</li> |
| 165 | </ul> |
| 166 | <h3>Commits By Author:</h3> |
| 167 | <ul> |
| 168 | <li> |
| 169 | <h4>Anthony Minessale (1):</h4> |
| 170 | </li> |
| 171 | <li> |
| 172 | <h4>Bastian Triller (1):</h4> |
| 173 | </li> |
| 174 | <li> |
| 175 | <h4>Ben Ford (2):</h4> |
| 176 | </li> |
| 177 | <li> |
| 178 | <h4>Christoph Moench-Tegeder (1):</h4> |
| 179 | </li> |
| 180 | <li> |
| 181 | <h4>George Joseph (9):</h4> |
| 182 | </li> |
| 183 | <li> |
| 184 | <h4>Igor Goncharovsky (1):</h4> |
| 185 | </li> |
| 186 | <li> |
| 187 | <h4>Joshua C. Colp (6):</h4> |
| 188 | </li> |
| 189 | <li> |
| 190 | <h4>Max Grobecker (1):</h4> |
| 191 | </li> |
| 192 | <li> |
| 193 | <h4>Nathan Monfils (1):</h4> |
| 194 | </li> |
| 195 | <li> |
| 196 | <h4>Naveen Albert (18):</h4> |
| 197 | </li> |
| 198 | <li> |
| 199 | <h4>Roman Pertsev (1):</h4> |
| 200 | </li> |
| 201 | <li> |
| 202 | <h4>Sean Bright (3):</h4> |
| 203 | </li> |
| 204 | <li> |
| 205 | <h4>Sven Kube (3):</h4> |
| 206 | </li> |
| 207 | <li> |
| 208 | <h4>Tinet-mucw (1):</h4> |
| 209 | </li> |
| 210 | <li> |
| 211 | <h4>gauravs456 (1):</h4> |
| 212 | </li> |
| 213 | <li> |
| 214 | <h4>phoneben (2):</h4> |
| 215 | </li> |
| 216 | </ul> |
| 217 | <h3>Commit List:</h3> |
| 218 | <ul> |
| 219 | <li>channelstorage: Allow storage driver read locking to be skipped.</li> |
| 220 | <li>res_audiosocket: fix temporarily unavailable</li> |
| 221 | <li>safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior.</li> |
| 222 | <li>res_stir_shaken: Add STIR_SHAKEN_ATTESTATION dialplan function.</li> |
| 223 | <li>iostream.c: Handle TLS handshake attacks in order to resolve the issue of exceeding the maximum number of HTTPS sessions.</li> |
| 224 | <li>chan_pjsip: Disable SSRC change for WebRTC endpoints.</li> |
| 225 | <li>chan_websocket: Add channel_id to MEDIA_START, DRIVER_STATUS and DTMF_END events.</li> |
| 226 | <li>safe_asterisk: Fix logging and sorting issue.</li> |
| 227 | <li>Fix Endianness detection in utils.h for non-Linux</li> |
| 228 | <li>app_queue.c: Fix error in Queue parameter documentation.</li> |
| 229 | <li>devicestate: Don't publish redundant device state messages.</li> |
| 230 | <li>chan_pjsip: Add technology-specific off-nominal hangup cause to events.</li> |
| 231 | <li>res_audiosocket: add message types for all slin sample rates</li> |
| 232 | <li>res_fax.c: lower FAXOPT read warning to debug level</li> |
| 233 | <li>endpoints: Remove need for stasis subscription.</li> |
| 234 | <li>app_queue: Allow stasis message filtering to work.</li> |
| 235 | <li>taskpool: Fix some references to threadpool that should be taskpool.</li> |
| 236 | <li>Update contact information for anthm</li> |
| 237 | <li>chan_websocket.c: Change payload references to command instead.</li> |
| 238 | <li>func_callerid: Document limitation of DNID fields.</li> |
| 239 | <li>func_channel: Allow R/W of ADSI CPE capability setting.</li> |
| 240 | <li>core_unreal: Preserve ADSI capability when dialing Local channels.</li> |
| 241 | <li>func_hangupcause.c: Add access to Reason headers via HANGUPCAUSE()</li> |
| 242 | <li>sig_analog: Allow '#' to end the inter-digit timeout when dialing.</li> |
| 243 | <li>func_math: Add DIGIT_SUM function.</li> |
| 244 | <li>app_sf: Add post-digit timer option to ReceiveSF.</li> |
| 245 | <li>codec_builtin.c: Adjust some of the quality scores to reflect reality.</li> |
| 246 | <li>res_tonedetect: Fix formatting of XML documentation.</li> |
| 247 | <li>res_fax: Add XML documentation for channel variables.</li> |
| 248 | <li>channelstorage_cpp_map_name_id: Add read locking around retrievals.</li> |
| 249 | <li>app_dial: Allow fractional seconds for dial timeouts.</li> |
| 250 | <li>dsp.c: Make minor fixes to debug log messages.</li> |
| 251 | <li>config_options.c: Improve misleading warning.</li> |
| 252 | <li>func_scramble: Add example to XML documentation.</li> |
| 253 | <li>sig_analog: Eliminate potential timeout with Last Number Redial.</li> |
| 254 | <li>ARI: The bridges play and record APIs now handle sample rates > 8K correctly.</li> |
| 255 | <li>res_pjsip_geolocation: Add support for Geolocation loc-src parameter</li> |
| 256 | <li>sorcery: Move from threadpool to taskpool.</li> |
| 257 | <li>stasis_channels.c: Make protocol_id optional to enable blind transfer via ari</li> |
| 258 | <li>Fix some doxygen, typos and whitespace</li> |
| 259 | <li>stasis_channels.c: Add null check for referred_by in ast_ari_transfer_message_create</li> |
| 260 | <li>app_queue: Add NULL pointer checks in app_queue</li> |
| 261 | <li>app_externalivr: Prevent out-of-bounds read during argument processing.</li> |
| 262 | <li>chan_dahdi: Add DAHDI_CHANNEL function.</li> |
| 263 | <li>taskpool: Update versions for taskpool stasis options.</li> |
| 264 | <li>taskpool: Add taskpool API, switch Stasis to using it.</li> |
| 265 | <li>app_adsiprog: Fix possible NULL dereference.</li> |
| 266 | <li>manager.c: Fix presencestate object leak</li> |
| 267 | <li>audiohook.c: Ensure correct AO2 reference is dereffed.</li> |
| 268 | <li>res_cliexec: Remove unnecessary casts to char*.</li> |
| 269 | <li>rtp_engine.c: Add exception for comfort noise payload.</li> |
| 270 | <li>pbx_variables.c: Create real channel for "dialplan eval function".</li> |
| 271 | </ul> |
| 272 | <h3>Commit Details:</h3> |
| 273 | <h4>channelstorage: Allow storage driver read locking to be skipped.</h4> |
| 274 | <p>Author: George Joseph |
| 275 | Date: 2025-11-06</p> |
| 276 | <p>After PR #1498 added read locking to channelstorage_cpp_map_name_id, if ARI |
| 277 | channels/externalMedia was called with a custom channel id AND the |
| 278 | cpp_map_name_id channel storage backend is in use, a deadlock can occur when |
| 279 | hanging up the channel. It's actually triggered in |
| 280 | channel.c:__ast_channel_alloc_ap() when it gets a write lock on the |
| 281 | channelstorage driver then subsequently does a lookup for channel uniqueid |
| 282 | which now does a read lock. This is an invalid operation and causes the lock |
| 283 | state to get "bad". When the channels try to hang up, a write lock is |
| 284 | attempted again which hangs and causes the deadlock.</p> |
| 285 | <p>Now instead of the cpp_map_name_id channelstorage driver "get" APIs |
| 286 | automatically performing a read lock, they take a "lock" parameter which |
| 287 | allows a caller who already has a write lock to indicate that the "get" API |
| 288 | must not attempt its own lock. This prevents the state from getting mesed up.</p> |
| 289 | <p>The ao2_legacy driver uses the ao2 container's recursive mutex so doesn't |
| 290 | have this issue but since it also implements the common channelstorage API, |
| 291 | it needed its "get" implementations updated to take the lock parameter. They |
| 292 | just don't use it.</p> |
| 293 | <p>Resolves: #1578</p> |
| 294 | <h4>res_audiosocket: fix temporarily unavailable</h4> |
| 295 | <p>Author: Roman Pertsev |
| 296 | Date: 2025-10-07</p> |
| 297 | <p>Operations on non-blocking sockets may return a resource temporarily unavailable error (EAGAIN or EWOULDBLOCK). This is not a fatal error but a normal condition indicating that the operation would block.</p> |
| 298 | <p>This patch corrects the handling of this case. Instead of incorrectly treating it as a reason to terminate the connection, the code now waits for data to arrive on the socket.</p> |
| 299 | <h4>safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior.</h4> |
| 300 | <p>Author: Sean Bright |
| 301 | Date: 2025-10-22</p> |
| 302 | <ul> |
| 303 | <li>Using <code>==</code> with the POSIX sh <code>test</code> utility is UB.</li> |
| 304 | <li>Switch back to using globs instead of using <code>$(find … | sort)</code>.</li> |
| 305 | <li>Fix a missing redirect when checking for the OS type.</li> |
| 306 | </ul> |
| 307 | <p>Resolves: #1554</p> |
| 308 | <h4>res_stir_shaken: Add STIR_SHAKEN_ATTESTATION dialplan function.</h4> |
| 309 | <p>Author: George Joseph |
| 310 | Date: 2025-10-24</p> |
| 311 | <p>Also...</p> |
| 312 | <ul> |
| 313 | <li> |
| 314 | <p>Refactored the verification datastore process so instead of having |
| 315 | a separate channel datastore for each verification result, there's only |
| 316 | one channel datastore with a vector of results.</p> |
| 317 | </li> |
| 318 | <li> |
| 319 | <p>Refactored some log messages to include channel name and removed |
| 320 | some that would be redundant if a memory allocation failed.</p> |
| 321 | </li> |
| 322 | </ul> |
| 323 | <p>Resolves: #781</p> |
| 324 | <p>UserNote: The STIR_SHAKEN_ATTESTATION dialplan function has been added |
| 325 | which will allow suppressing attestation on a call-by-call basis |
| 326 | regardless of the profile attached to the outgoing endpoint.</p> |
| 327 | <h4>iostream.c: Handle TLS handshake attacks in order to resolve the issue of exceeding the maximum number of HTTPS sessions.</h4> |
| 328 | <p>Author: Tinet-mucw |
| 329 | Date: 2025-10-26</p> |
| 330 | <p>The TCP three-way handshake completes, but if the server is under a TLS handshake attack, asterisk will get stuck at SSL_do_handshake(). |
| 331 | In this case, a timeout mechanism should be set for the SSL/TLS handshake process to prevent indefinite waiting during the SSL handshake.</p> |
| 332 | <p>Resolves: #1559</p> |
| 333 | <h4>chan_pjsip: Disable SSRC change for WebRTC endpoints.</h4> |
| 334 | <p>Author: George Joseph |
| 335 | Date: 2025-10-21</p> |
| 336 | <p>Commit b333ee3b introduced a fix to chan_pjsip that addressed RTP issues with |
| 337 | blind transfers and some SBCs. Unfortunately, the fix broke some WebRTC |
| 338 | clients that are sensitive to SSRC changes and non-monotonic timestamps so |
| 339 | the fix is now disabled for endpoints with the "bundle" parameter set to true.</p> |
| 340 | <p>Resolves: #1535</p> |
| 341 | <h4>chan_websocket: Add channel_id to MEDIA_START, DRIVER_STATUS and DTMF_END events.</h4> |
| 342 | <p>Author: gauravs456 |
| 343 | Date: 2025-10-21</p> |
| 344 | <p>Resolves: #1544</p> |
| 345 | <h4>safe_asterisk: Fix logging and sorting issue.</h4> |
| 346 | <p>Author: George Joseph |
| 347 | Date: 2025-10-17</p> |
| 348 | <p>Re-enabled "TTY=9" which was erroneously disabled as part of a recent |
| 349 | security fix and removed another logging "fix" that was added.</p> |
| 350 | <p>Also added a sort to the "find" that enumerates the scripts to be sourced so |
| 351 | they're sourced in the correct order.</p> |
| 352 | <p>Resolves: #1539</p> |
| 353 | <h4>Fix Endianness detection in utils.h for non-Linux</h4> |
| 354 | <p>Author: Christoph Moench-Tegeder |
| 355 | Date: 2025-10-19</p> |
| 356 | <p>Commit 43bf8a4ded7a65203b766b91eaf8331a600e9d8d introduced endian |
| 357 | dependend byte-swapping code in include/asterisk/utils.h, where the |
| 358 | endianness was detected using the __BYTE_ORDER macro. This macro |
| 359 | lives in endian.h, which on Linux is included implicitely (by the |
| 360 | network-related headers, I think), but on FreeBSD the headers are |
| 361 | laid out differently and we do not get __BYTE_ORDER the implicit way.</p> |
| 362 | <p>Instead, this makes the usage of endian.h explicit by including it |
| 363 | where we need it, and switches the BYTE_ORDER/*ENDIAN macros to the |
| 364 | POSIX-defined ones (see |
| 365 | https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/endian.h.html |
| 366 | for standard compliance). Additionally, this adds a compile-time check |
| 367 | for the endianness-logic: compilation will fail if neither big nor |
| 368 | little endian can be detected.</p> |
| 369 | <p>Fixes: #1536</p> |
| 370 | <h4>app_queue.c: Fix error in Queue parameter documentation.</h4> |
| 371 | <p>Author: Ben Ford |
| 372 | Date: 2025-10-20</p> |
| 373 | <p>When macro was removed in Asterisk 21, the parameter documentation in |
| 374 | code was not updated to reflect the correct numerization for gosub. It |
| 375 | still stated that it was the seventh parameter, but got shifted to the |
| 376 | sixth due to the removal of macro. This has been updated to correctly |
| 377 | reflect the parameter order, and a note has been added to the XML that |
| 378 | states this was done after the initial commit.</p> |
| 379 | <p>Fixes: #1534</p> |
| 380 | <p>UpgradeNote: As part of Asterisk 21, macros were removed from Asterisk. |
| 381 | This resulted in argument order changing for the Queue dialplan |
| 382 | application since the macro argument was removed. Upgrade notice was |
| 383 | missed when this was done, so this upgrade note has been added to |
| 384 | provide a record of such and a notice to users who may have not upgraded |
| 385 | yet.</p> |
| 386 | <h4>devicestate: Don't publish redundant device state messages.</h4> |
| 387 | <p>Author: Joshua C. Colp |
| 388 | Date: 2025-10-17</p> |
| 389 | <p>When publishing device state check the local cache for the |
| 390 | existing device state. If the new device state is unchanged |
| 391 | from the prior one, don't bother publishing the update. This |
| 392 | can reduce the work done by consumers of device state, such |
| 393 | as hints and app_queue, by not publishing a message to them.</p> |
| 394 | <p>These messages would most often occur with devices that are |
| 395 | seeing numerous simultaneous channels. The underlying device |
| 396 | state would remain as in use throughout, but an update would |
| 397 | be published as channels are created and hung up.</p> |
| 398 | <h4>chan_pjsip: Add technology-specific off-nominal hangup cause to events.</h4> |
| 399 | <p>Author: George Joseph |
| 400 | Date: 2025-10-14</p> |
| 401 | <p>Although the ISDN/Q.850/Q.931 hangup cause code is already part of the ARI |
| 402 | and AMI hangup and channel destroyed events, it can be helpful to know what |
| 403 | the actual channel technology code was if the call was unsuccessful. |
| 404 | For PJSIP, it's the SIP response code.</p> |
| 405 | <ul> |
| 406 | <li> |
| 407 | <p>A new "tech_hangupcause" field was added to the ast_channel structure along |
| 408 | with ast_channel_tech_hangupcause() and ast_channel_tech_hangupcause_set() |
| 409 | functions. It should only be set for off-nominal terminations.</p> |
| 410 | </li> |
| 411 | <li> |
| 412 | <p>chan_pjsip was modified to set the tech hangup cause in the |
| 413 | chan_pjsip_hangup() and chan_pjsip_session_end() functions. This is a bit |
| 414 | tricky because these two functions aren't always called in the same order. |
| 415 | The channel that hangs up first will get chan_pjsip_session_end() called |
| 416 | first which will trigger the core to call chan_pjsip_hangup() on itself, |
| 417 | then call chan_pjsip_hangup() on the other channel. The other channel's |
| 418 | chan_pjsip_session_end() function will get called last. Unfortunately, |
| 419 | the other channel's HangupRequest events are sent before chan_pjsip has had a |
| 420 | chance to set the tech hangupcause code so the HangupRequest events for that |
| 421 | channel won't have the cause code set. The ChannelDestroyed and Hangup |
| 422 | events however will have the code set for both channels.</p> |
| 423 | </li> |
| 424 | <li> |
| 425 | <p>A new "tech_cause" field was added to the ast_channel_snapshot_hangup |
| 426 | structure. This is a public structure so a bit of refactoring was needed to |
| 427 | preserve ABI compatibility.</p> |
| 428 | </li> |
| 429 | <li> |
| 430 | <p>The ARI ChannelHangupRequest and ChannelDestroyed events were modified to |
| 431 | include the "tech_cause" parameter in the JSON for off-nominal terminations. |
| 432 | The parameter is suppressed for nominal termination.</p> |
| 433 | </li> |
| 434 | <li> |
| 435 | <p>The AMI SoftHangupRequest, HangupRequest and Hangup events were modified to |
| 436 | include the "TechCause" parameter for off-nominal terminations. Like their ARI |
| 437 | counterparts, the parameter is suppressed for nominal termination.</p> |
| 438 | </li> |
| 439 | </ul> |
| 440 | <p>DeveloperNote: A "tech_cause" parameter has been added to the |
| 441 | ChannelHangupRequest and ChannelDestroyed ARI event messages and a "TechCause" |
| 442 | parameter has been added to the HangupRequest, SoftHangupRequest and Hangup |
| 443 | AMI event messages. For chan_pjsip, these will be set to the last SIP |
| 444 | response status code for off-nominally terminated calls. The parameter is |
| 445 | suppressed for nominal termination.</p> |
| 446 | <h4>res_audiosocket: add message types for all slin sample rates</h4> |
| 447 | <p>Author: Sven Kube |
| 448 | Date: 2025-10-10</p> |
| 449 | <p>Extend audiosocket messages with types 0x11 - 0x18 to create asterisk |
| 450 | frames in slin12, slin16, slin24, slin32, slin44, slin48, slin96, and |
| 451 | slin192 format, enabling the transmission of audio at a higher sample |
| 452 | rates. For audiosocket messages sent by Asterisk, the message kind is |
| 453 | determined by the format of the originating asterisk frame.</p> |
| 454 | <p>UpgradeNote: New audiosocket message types 0x11 - 0x18 has been added |
| 455 | for slin12, slin16, slin24, slin32, slin44, slin48, slin96, and |
| 456 | slin192 audio. External applications using audiosocket may need to be |
| 457 | updated to support these message types if the audiosocket channel is |
| 458 | created with one of these audio formats.</p> |
| 459 | <h4>res_fax.c: lower FAXOPT read warning to debug level</h4> |
| 460 | <p>Author: phoneben |
| 461 | Date: 2025-10-03</p> |
| 462 | <p>Reading ${FAXOPT()} before a fax session is common in dialplans to check fax state. |
| 463 | Currently this logs an error even when no fax datastore exists, creating excessive noise. |
| 464 | Change these messages to ast_debug(3, …) so they appear only with debug enabled.</p> |
| 465 | <p>Resolves: #1509</p> |
| 466 | <h4>endpoints: Remove need for stasis subscription.</h4> |
| 467 | <p>Author: Joshua C. Colp |
| 468 | Date: 2025-10-10</p> |
| 469 | <p>When an endpoint is created in the core of Asterisk a subscription |
| 470 | was previously created alongside it to monitor any channels being |
| 471 | destroyed that were related to it. This was done by receiving all |
| 472 | channel snapshot updates for every channel and only reacting when |
| 473 | it was indicated that the channel was dead.</p> |
| 474 | <p>This change removes this logic and instead provides an API call |
| 475 | for directly removing a channel from an endpoint. This is called |
| 476 | when channels are destroyed. This operation is fast, so blocking |
| 477 | the calling thread for a short period of time doesn't have any |
| 478 | noticeable impact.</p> |
| 479 | <h4>app_queue: Allow stasis message filtering to work.</h4> |
| 480 | <p>Author: Joshua C. Colp |
| 481 | Date: 2025-10-10</p> |
| 482 | <p>The app_queue module subscribes on a per-dialed agent basis to both |
| 483 | the bridge all and channel all topics to keep apprised of things going |
| 484 | on involving them. This subscription has associated state that must |
| 485 | be cleaned up when the subscription ends. This was done by setting |
| 486 | a default router callback that only had logic to handle the case |
| 487 | where the subscription ends. By using the default router callback |
| 488 | all filtering for the subscription was disabled, causing unrelated |
| 489 | messages to get published and handled by it.</p> |
| 490 | <p>This change makes it so that an explicit route is added for the |
| 491 | message type used for the message indicating the subscription has |
| 492 | ended and removes the default router callback. This allows message |
| 493 | filtering to occur on publishing reducing the messages to app_queue |
| 494 | to only those it is interested in.</p> |
| 495 | <h4>taskpool: Fix some references to threadpool that should be taskpool.</h4> |
| 496 | <p>Author: George Joseph |
| 497 | Date: 2025-10-10</p> |
| 498 | <p>Resolves: #1478</p> |
| 499 | <h4>Update contact information for anthm</h4> |
| 500 | <p>Author: Anthony Minessale |
| 501 | Date: 2025-10-10</p> |
| 502 | <h4>chan_websocket.c: Change payload references to command instead.</h4> |
| 503 | <p>Author: George Joseph |
| 504 | Date: 2025-10-08</p> |
| 505 | <p>Some of the tests in process_text_message() were still comparing to the |
| 506 | websocket message payload instead of the "command" string.</p> |
| 507 | <p>Resolves: #1525</p> |
| 508 | <h4>func_callerid: Document limitation of DNID fields.</h4> |
| 509 | <p>Author: Naveen Albert |
| 510 | Date: 2025-10-06</p> |
| 511 | <p>The Dial() application does not propagate DNID fields, which is counter |
| 512 | to the behavior of the other Caller ID fields. This behavior is likely |
| 513 | intentional since the use of Dial theoretically suggests a new dialed |
| 514 | number, but document this caveat to inform users of it.</p> |
| 515 | <p>Resolves: #1519</p> |
| 516 | <h4>func_channel: Allow R/W of ADSI CPE capability setting.</h4> |
| 517 | <p>Author: Naveen Albert |
| 518 | Date: 2025-10-06</p> |
| 519 | <p>Allow retrieving and setting the channel's ADSI capability from the |
| 520 | dialplan.</p> |
| 521 | <p>Resolves: #1514</p> |
| 522 | <p>UserNote: CHANNEL(adsicpe) can now be read or written to change |
| 523 | the channels' ADSI CPE capability setting.</p> |
| 524 | <h4>core_unreal: Preserve ADSI capability when dialing Local channels.</h4> |
| 525 | <p>Author: Naveen Albert |
| 526 | Date: 2025-10-06</p> |
| 527 | <p>Dial() already preserves the ADSI capability by copying it to the new |
| 528 | channel, but since Local channel pairs consist of two channels, we |
| 529 | also need to copy the capability to the second channel.</p> |
| 530 | <p>Resolves: #1517</p> |
| 531 | <h4>func_hangupcause.c: Add access to Reason headers via HANGUPCAUSE()</h4> |
| 532 | <p>Author: Igor Goncharovsky |
| 533 | Date: 2025-09-04</p> |
| 534 | <p>As soon as SIP call may end with several Reason headers, we |
| 535 | want to make all of them available through the HAGUPCAUSE() function. |
| 536 | This implementation uses the same ao2 hash for cause codes storage |
| 537 | and adds a flag to make difference between last processed sip |
| 538 | message and content of reason headers.</p> |
| 539 | <p>UserNote: Added a new option to HANGUPCAUSE to access additional |
| 540 | information about hangup reason. Reason headers from pjsip |
| 541 | could be read using 'tech_extended' cause type.</p> |
| 542 | <h4>sig_analog: Allow '#' to end the inter-digit timeout when dialing.</h4> |
| 543 | <p>Author: Naveen Albert |
| 544 | Date: 2025-10-03</p> |
| 545 | <p>It is customary to allow # to terminate digit collection immediately |
| 546 | when there would normally be a timeout. However, currently, users are |
| 547 | forced to wait for the timeout to expire when dialing numbers that |
| 548 | are prefixes of other valid matches, and there is no way to end the |
| 549 | timeout early. Customarily, # terminates the timeout, but at the moment, |
| 550 | this is just rejected unless there happens to be a matching extension |
| 551 | ending in #.</p> |
| 552 | <p>Allow # to terminate the timeout in cases where there is no dialplan |
| 553 | match. This ensures that the dialplan is always respected, but if a |
| 554 | valid extension has been dialed that happens to prefix other valid |
| 555 | matches, # can be used to dial it immediately.</p> |
| 556 | <p>Resolves: #1510</p> |
| 557 | <h4>func_math: Add DIGIT_SUM function.</h4> |
| 558 | <p>Author: Naveen Albert |
| 559 | Date: 2025-10-01</p> |
| 560 | <p>Add a function (DIGIT_SUM) which returns the digit sum of a number.</p> |
| 561 | <p>Resolves: #1499</p> |
| 562 | <p>UserNote: The DIGIT_SUM function can be used to return the digit sum of |
| 563 | a number.</p> |
| 564 | <h4>app_sf: Add post-digit timer option to ReceiveSF.</h4> |
| 565 | <p>Author: Naveen Albert |
| 566 | Date: 2025-10-01</p> |
| 567 | <p>Add a sorely needed option to set a timeout between digits, rather than |
| 568 | for receiving the entire number. This is needed if the number of digits |
| 569 | being sent is unknown by the receiver in advance. Previously, we had |
| 570 | to wait for the entire timer to expire.</p> |
| 571 | <p>Resolves: #1493</p> |
| 572 | <p>UserNote: The 't' option for ReceiveSF now allows for a timer since |
| 573 | the last digit received, in addition to the number-wide timeout.</p> |
| 574 | <h4>codec_builtin.c: Adjust some of the quality scores to reflect reality.</h4> |
| 575 | <p>Author: Naveen Albert |
| 576 | Date: 2025-10-02</p> |
| 577 | <p>Among the lower-quality voice codecs, some of the quality scores did |
| 578 | not make sense relative to each other.</p> |
| 579 | <p>For instance, quality-wise, G.729 > G.723 > PLC10. |
| 580 | However, current scores do not uphold these relationships.</p> |
| 581 | <p>Tweak the scores slightly to reflect more accurate relationships.</p> |
| 582 | <p>Resolves: #1501</p> |
| 583 | <h4>res_tonedetect: Fix formatting of XML documentation.</h4> |
| 584 | <p>Author: Naveen Albert |
| 585 | Date: 2025-10-02</p> |
| 586 | <p>Fix the indentation in the documentation for the variable list.</p> |
| 587 | <p>Resolves: #1507</p> |
| 588 | <h4>res_fax: Add XML documentation for channel variables.</h4> |
| 589 | <p>Author: Naveen Albert |
| 590 | Date: 2025-10-02</p> |
| 591 | <p>Document the channel variables currently set by SendFAX and ReceiveFAX.</p> |
| 592 | <p>Resolves: #1505</p> |
| 593 | <h4>channelstorage_cpp_map_name_id: Add read locking around retrievals.</h4> |
| 594 | <p>Author: George Joseph |
| 595 | Date: 2025-10-01</p> |
| 596 | <p>When we retrieve a channel from a C++ map, we actually get back a wrapper |
| 597 | object that points to the channel then right after we retrieve it, we bump its |
| 598 | reference count. There's a tiny chance however that between those two |
| 599 | statements a delete and/or unref might happen which would cause the wrapper |
| 600 | object or the channel itself to become invalid resulting in a SEGV. To avoid |
| 601 | this we now perform a read lock on the driver around those statements.</p> |
| 602 | <p>Resolves: #1491</p> |
| 603 | <h4>app_dial: Allow fractional seconds for dial timeouts.</h4> |
| 604 | <p>Author: Naveen Albert |
| 605 | Date: 2025-09-30</p> |
| 606 | <p>Even though Dial() internally uses milliseconds for its dial timeouts, |
| 607 | this capability has been mostly obscured from users as the argument is |
| 608 | only parsed as an integer, thus forcing the use of whole seconds for |
| 609 | timeouts.</p> |
| 610 | <p>Parse it as a decimal instead so that timeouts can now truly have |
| 611 | millisecond precision.</p> |
| 612 | <p>Resolves: #1487</p> |
| 613 | <p>UserNote: The answer and progress dial timeouts now have millisecond |
| 614 | precision, instead of having to be whole numbers.</p> |
| 615 | <h4>dsp.c: Make minor fixes to debug log messages.</h4> |
| 616 | <p>Author: Naveen Albert |
| 617 | Date: 2025-10-01</p> |
| 618 | <p>Commit dc8e3eeaaf094a3d16991289934093d5e7127680 improved the debug log |
| 619 | messages in dsp.c. This makes two minor corrections to it:</p> |
| 620 | <ul> |
| 621 | <li>Properly guard an added log statement in a conditional.</li> |
| 622 | <li>Don't add one to the hit count if there was no hit (however, we do |
| 623 | still want to do this for the case where this is one).</li> |
| 624 | </ul> |
| 625 | <p>Resolves: #1496</p> |
| 626 | <h4>config_options.c: Improve misleading warning.</h4> |
| 627 | <p>Author: Naveen Albert |
| 628 | Date: 2025-09-30</p> |
| 629 | <p>When running "config show help <module>", if no XML documentation exists |
| 630 | for the specified module, "Module <module> not found." is returned, |
| 631 | which is misleading if the module is loaded but simply has no XML |
| 632 | documentation for its config. Improve the message to clarify that the |
| 633 | module may simply have no config documentation.</p> |
| 634 | <p>Resolves: #1489</p> |
| 635 | <h4>func_scramble: Add example to XML documentation.</h4> |
| 636 | <p>Author: Naveen Albert |
| 637 | Date: 2025-09-29</p> |
| 638 | <p>The previous lack of an example made it ambiguous if the arguments went |
| 639 | inside the function arguments or were part of the right-hand value.</p> |
| 640 | <p>Resolves: #1485</p> |
| 641 | <h4>sig_analog: Eliminate potential timeout with Last Number Redial.</h4> |
| 642 | <p>Author: Naveen Albert |
| 643 | Date: 2025-09-29</p> |
| 644 | <p>If Last Number Redial is used to redial, ensure that we do not wait |
| 645 | for further digits. This was possible if the number that was last |
| 646 | dialed is a prefix of another possible dialplan match. Since all we |
| 647 | did is copy the number into the extension buffer, if other matches |
| 648 | are now possible, there would thus be a timeout before the call went |
| 649 | through. We now complete redialed calls immediaetly in all cases.</p> |
| 650 | <p>Resolves: #1483</p> |
| 651 | <h4>ARI: The bridges play and record APIs now handle sample rates > 8K correctly.</h4> |
| 652 | <p>Author: George Joseph |
| 653 | Date: 2025-09-25</p> |
| 654 | <p>The bridge play and record APIs were forcing the Announcer/Recorder channel |
| 655 | to slin8 which meant that if you played or recorded audio with a sample |
| 656 | rate > 8K, it was downsampled to 8K limiting the bandwidth.</p> |
| 657 | <ul> |
| 658 | <li> |
| 659 | <p>The /bridges/play REST APIs have a new "announcer_format" parameter that |
| 660 | allows the caller to explicitly set the format on the "Announcer" channel |
| 661 | through which the audio is played into the bridge. If not specified, the |
| 662 | default depends on how many channels are currently in the bridge. If |
| 663 | a single channel is in the bridge, then the Announcer channel's format |
| 664 | will be set to the same as that channel's. If multiple channels are in the |
| 665 | bridge, the channels will be scanned to find the one with the highest |
| 666 | sample rate and the Announcer channel's format will be set to the slin |
| 667 | format that has an equal to or greater than sample rate.</p> |
| 668 | </li> |
| 669 | <li> |
| 670 | <p>The /bridges/record REST API has a new "recorder_format" parameter that |
| 671 | allows the caller to explicitly set the format on the "Recorder" channel |
| 672 | from which audio is retrieved to write to the file. If not specified, |
| 673 | the Recorder channel's format will be set to the format that was requested |
| 674 | to save the audio in.</p> |
| 675 | </li> |
| 676 | </ul> |
| 677 | <p>Resolves: #1479</p> |
| 678 | <p>DeveloperNote: The ARI /bridges/play and /bridges/record REST APIs have new |
| 679 | parameters that allow the caller to specify the format to be used on the |
| 680 | "Announcer" and "Recorder" channels respecitvely.</p> |
| 681 | <h4>res_pjsip_geolocation: Add support for Geolocation loc-src parameter</h4> |
| 682 | <p>Author: Max Grobecker |
| 683 | Date: 2025-09-21</p> |
| 684 | <p>This adds support for the Geolocation 'loc-src' parameter to res_pjsip_geolocation. |
| 685 | The already existing config option 'location_source` in res_geolocation is documented to add a 'loc-src' parameter containing a user-defined FQDN to the 'Geolocation:' header, |
| 686 | but that option had no effect as it was not implemented by res_pjsip_geolocation.</p> |
| 687 | <p>If the <code>location_source</code> configuration option is not set or invalid, that parameter will not be added (this is already checked by res_geolocation).</p> |
| 688 | <p>This commits adds already documented functionality.</p> |
| 689 | <h4>sorcery: Move from threadpool to taskpool.</h4> |
| 690 | <p>Author: Joshua C. Colp |
| 691 | Date: 2025-09-23</p> |
| 692 | <p>This change moves observer invocation from the use of |
| 693 | a threadpool to a taskpool. The taskpool options have also |
| 694 | been adjusted to ensure that at least one taskprocessor |
| 695 | remains available at all times.</p> |
| 696 | <h4>stasis_channels.c: Make protocol_id optional to enable blind transfer via ari</h4> |
| 697 | <p>Author: Sven Kube |
| 698 | Date: 2025-09-22</p> |
| 699 | <p>When handling SIP transfers via ARI, there is no protocol_id in case of |
| 700 | a blind transfer.</p> |
| 701 | <p>Resolves: #1467</p> |
| 702 | <h4>Fix some doxygen, typos and whitespace</h4> |
| 703 | <p>Author: Bastian Triller |
| 704 | Date: 2025-09-21</p> |
| 705 | <h4>stasis_channels.c: Add null check for referred_by in ast_ari_transfer_message_create</h4> |
| 706 | <p>Author: Sven Kube |
| 707 | Date: 2025-09-18</p> |
| 708 | <p>When handling SIP transfers via ARI, the <code>referred_by</code> field in |
| 709 | <code>transfer_ari_state</code> may be null, since SIP REFER requests are not |
| 710 | required to include a <code>Referred-By</code> header. Without this check, a null |
| 711 | value caused the transfer to fail and triggered a NOTIFY with a 500 |
| 712 | Internal Server Error.</p> |
| 713 | <h4>app_queue: Add NULL pointer checks in app_queue</h4> |
| 714 | <p>Author: phoneben |
| 715 | Date: 2025-09-11</p> |
| 716 | <p>Add NULL check for word_list before calling word_in_list() |
| 717 | Add NULL checks for channel snapshots from ast_multi_channel_blob_get_channel()</p> |
| 718 | <p>Resolves: #1425</p> |
| 719 | <h4>app_externalivr: Prevent out-of-bounds read during argument processing.</h4> |
| 720 | <p>Author: Sean Bright |
| 721 | Date: 2025-09-17</p> |
| 722 | <p>Resolves: #1422</p> |
| 723 | <h4>chan_dahdi: Add DAHDI_CHANNEL function.</h4> |
| 724 | <p>Author: Naveen Albert |
| 725 | Date: 2025-09-11</p> |
| 726 | <p>Add a dialplan function that can be used to get/set properties of |
| 727 | DAHDI channels (as opposed to Asterisk channels). This exposes |
| 728 | properties that were not previously available, allowing for certain |
| 729 | operations to now be performed in the dialplan.</p> |
| 730 | <p>Resolves: #1455</p> |
| 731 | <p>UserNote: The DAHDI_CHANNEL function allows for getting/setting |
| 732 | certain properties about DAHDI channels from the dialplan.</p> |
| 733 | <h4>taskpool: Update versions for taskpool stasis options.</h4> |
| 734 | <p>Author: Joshua C. Colp |
| 735 | Date: 2025-09-16</p> |
| 736 | <h4>taskpool: Add taskpool API, switch Stasis to using it.</h4> |
| 737 | <p>Author: Joshua C. Colp |
| 738 | Date: 2025-08-06</p> |
| 739 | <p>This change introduces a new API called taskpool. This is a pool |
| 740 | of taskprocessors. It provides the following functionality:</p> |
| 741 | <ol> |
| 742 | <li>Task pushing to a pool of taskprocessors</li> |
| 743 | <li>Synchronous tasks</li> |
| 744 | <li>Serializers for execution ordering of tasks</li> |
| 745 | <li>Growing/shrinking of number of taskprocessors in pool</li> |
| 746 | </ol> |
| 747 | <p>This functionality already exists through the combination of |
| 748 | threadpool+taskprocessors but through investigating I determined |
| 749 | that this carries substantial overhead for short to medium duration |
| 750 | tasks. The threadpool uses a single queue of work, and for management |
| 751 | of threads it involves additional tasks.</p> |
| 752 | <p>I wrote taskpool to eliminate the extra overhead and management |
| 753 | as much as possible. Instead of a single queue of work each |
| 754 | taskprocessor has its own queue and at push time a selector chooses |
| 755 | the taskprocessor to queue the task to. Each taskprocessor also |
| 756 | has its own thread like normal. This spreads out the tasks immediately |
| 757 | and reduces contention on shared resources.</p> |
| 758 | <p>Using the included efficiency tests the number of tasks that can be |
| 759 | executed per second in a taskpool is 6-12 times more than an equivalent |
| 760 | threadpool+taskprocessor setup.</p> |
| 761 | <p>Stasis has been moved over to using this new API as it is a heavy consumer |
| 762 | of threadpool+taskprocessors and produces a lot of tasks.</p> |
| 763 | <p>UpgradeNote: The threadpool_* options in stasis.conf have now been deprecated |
| 764 | though they continue to be read and used. They have been replaced with taskpool |
| 765 | options that give greater control over the underlying taskpool used for stasis.</p> |
| 766 | <p>DeveloperNote: The taskpool API has been added for common usage of a |
| 767 | pool of taskprocessors. It is suggested to use this API instead of the |
| 768 | threadpool+taskprocessor approach.</p> |
| 769 | <h4>app_adsiprog: Fix possible NULL dereference.</h4> |
| 770 | <p>Author: Naveen Albert |
| 771 | Date: 2025-09-10</p> |
| 772 | <p>get_token can return NULL, but process_token uses this result without |
| 773 | checking for NULL; as elsewhere, check for a NULL result to avoid |
| 774 | possible NULL dereference.</p> |
| 775 | <p>Resolves: #1419</p> |
| 776 | <h4>manager.c: Fix presencestate object leak</h4> |
| 777 | <p>Author: Nathan Monfils |
| 778 | Date: 2025-09-08</p> |
| 779 | <p>ast_presence_state allocates subtype and message. We straightforwardly |
| 780 | need to clean those up.</p> |
| 781 | <h4>audiohook.c: Ensure correct AO2 reference is dereffed.</h4> |
| 782 | <p>Author: Sean Bright |
| 783 | Date: 2025-09-10</p> |
| 784 | <p>Part of #1440.</p> |
| 785 | <h4>res_cliexec: Remove unnecessary casts to char*.</h4> |
| 786 | <p>Author: Naveen Albert |
| 787 | Date: 2025-09-09</p> |
| 788 | <p>Resolves: #1436</p> |
| 789 | <h4>rtp_engine.c: Add exception for comfort noise payload.</h4> |
| 790 | <p>Author: Ben Ford |
| 791 | Date: 2025-09-09</p> |
| 792 | <p>In a previous commit, a change was made to |
| 793 | ast_rtp_codecs_payload_code_tx_sample_rate to check for differing sample |
| 794 | rates. This ended up returning an invalid payload int for comfort noise. |
| 795 | A check has been added that returns early if the payload is in fact |
| 796 | supposed to be comfort noise.</p> |
| 797 | <p>Fixes: #1340</p> |
| 798 | <h4>pbx_variables.c: Create real channel for "dialplan eval function".</h4> |
| 799 | <p>Author: Naveen Albert |
| 800 | Date: 2025-09-09</p> |
| 801 | <p>"dialplan eval function" has been using a dummy channel for function |
| 802 | evaluation, much like many of the unit tests. However, sometimes, this |
| 803 | can cause issues for functions that are not expecting dummy channels. |
| 804 | As an example, ast_channel_tech(chan) is NULL on such channels, and |
| 805 | ast_channel_tech(chan)->type consequently results in a NULL dereference. |
| 806 | Normally, functions do not worry about this since channels executing |
| 807 | dialplan aren't dummy channels.</p> |
| 808 | <p>While some functions are better about checking for these sorts of edge |
| 809 | cases, use a real channel with a dummy technology to make this CLI |
| 810 | command inherently safe for any dialplan function that could be evaluated |
| 811 | from the CLI.</p> |
| 812 | <p>Resolves: #1434</p> |
| 813 | </body></html> |