| 1 | <html><head><title>ChangeLog for asterisk-22.6.0</title></head><body> |
| 2 | <h2>Change Log for Release asterisk-22.6.0</h2> |
| 3 | <h3>Links:</h3> |
| 4 | <ul> |
| 5 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.6.0.html">Full ChangeLog</a> </li> |
| 6 | <li><a href="https://github.com/asterisk/asterisk/compare/22.5.2...22.6.0">GitHub Diff</a> </li> |
| 7 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.6.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: 54</li> |
| 13 | <li>Commit Authors: 22</li> |
| 14 | <li>Issues Resolved: 40</li> |
| 15 | <li>Security Advisories Resolved: 0</li> |
| 16 | </ul> |
| 17 | <h3>User Notes:</h3> |
| 18 | <ul> |
| 19 | <li> |
| 20 | <h4>app_queue.c: Add new global 'log_unpause_on_reason_change'</h4> |
| 21 | <p>Add new global option 'log_unpause_on_reason_change' that |
| 22 | is default disabled. When enabled cause addition of UNPAUSE event on |
| 23 | every re-PAUSE with reason changed.</p> |
| 24 | </li> |
| 25 | <li> |
| 26 | <h4>pbx_builtins: Allow custom tone for WaitExten.</h4> |
| 27 | <p>The tone used while waiting for digits in WaitExten |
| 28 | can now be overridden by specifying an argument for the 'd' |
| 29 | option.</p> |
| 30 | </li> |
| 31 | <li> |
| 32 | <h4>res_tonedetect: Add option for TONE_DETECT detection to auto stop.</h4> |
| 33 | <p>The 'e' option for TONE_DETECT now allows detection to |
| 34 | be disabled automatically once the desired number of matches have |
| 35 | been fulfilled, which can help prevent race conditions in the |
| 36 | dialplan, since TONE_DETECT does not need to be disabled after |
| 37 | a hit.</p> |
| 38 | </li> |
| 39 | <li> |
| 40 | <h4>sorcery: Prevent duplicate objects and ensure missing objects are created on u..</h4> |
| 41 | <p>Users relying on Sorcery multiple writable backends configurations |
| 42 | (e.g., astdb + realtime) may now enable update_or_create_on_update_miss = yes |
| 43 | in sorcery.conf to ensure missing objects are recreated after temporary backend |
| 44 | failures. Default behavior remains unchanged unless explicitly enabled.</p> |
| 45 | </li> |
| 46 | <li> |
| 47 | <h4>chan_websocket: Allow additional URI parameters to be added to the outgoing URI.</h4> |
| 48 | <p>A new WebSocket channel driver option <code>v</code> has been added to the |
| 49 | Dial application that allows you to specify additional URI parameters on |
| 50 | outgoing connections. Run <code>core show application Dial</code> from the Asterisk CLI |
| 51 | to see how to use it.</p> |
| 52 | </li> |
| 53 | <li> |
| 54 | <h4>app_chanspy: Add option to not automatically answer channel.</h4> |
| 55 | <p>ChanSpy and ExtenSpy can now be configured to not |
| 56 | automatically answer the channel by using the 'N' option.</p> |
| 57 | </li> |
| 58 | <li> |
| 59 | <h4>cel: Add STREAM_BEGIN, STREAM_END and DTMF event types.</h4> |
| 60 | <p>Enabling the tracking of the |
| 61 | STREAM_BEGIN and the STREAM_END event |
| 62 | types in cel.conf will log media files and |
| 63 | music on hold played to each channel. |
| 64 | The STREAM_BEGIN event's extra field will |
| 65 | contain a JSON with the file details (path, |
| 66 | format and language), or the class name, in |
| 67 | case of music on hold is played. The DTMF |
| 68 | event's extra field will contain a JSON with |
| 69 | the digit and the duration in milliseconds.</p> |
| 70 | </li> |
| 71 | <li> |
| 72 | <h4>res_srtp: Add menuselect options to enable AES_192, AES_256 and AES_GCM</h4> |
| 73 | <p>Options are now available in the menuselect "Resource Modules" |
| 74 | category that allow you to enable the AES_192, AES_256 and AES_GCM |
| 75 | cipher suites in res_srtp. Of course, libsrtp and OpenSSL must support |
| 76 | them but modern versions do. Previously, the only way to enable them was |
| 77 | to set the CFLAGS environment variable when running ./configure. |
| 78 | The default setting is to disable them preserving existing behavior.</p> |
| 79 | </li> |
| 80 | <li> |
| 81 | <h4>cdr: add CANCEL dispostion in CDR</h4> |
| 82 | <p>A new CDR option "canceldispositionenabled" has been added |
| 83 | that when set to true, the NO ANSWER disposition will be split into |
| 84 | two dispositions: CANCEL and NO ANSWER. The default value is 'no'</p> |
| 85 | </li> |
| 86 | <li> |
| 87 | <h4>func_curl: Allow auth methods to be set.</h4> |
| 88 | <p>The httpauth field in CURLOPT now allows the authentication |
| 89 | methods to be set.</p> |
| 90 | </li> |
| 91 | <li> |
| 92 | <h4>Media over Websocket Channel Driver</h4> |
| 93 | <p>A new channel driver "chan_websocket" is now available. It can |
| 94 | exchange media over both inbound and outbound websockets and will both frame |
| 95 | and re-time the media it receives. |
| 96 | See http://s.asterisk.net/mow for more information. |
| 97 | The ARI channels/externalMedia API now includes support for the</p> |
| 98 | </li> |
| 99 | </ul> |
| 100 | <h3>Upgrade Notes:</h3> |
| 101 | <h3>Developer Notes:</h3> |
| 102 | <ul> |
| 103 | <li> |
| 104 | <h4>ARI: Add command to indicate progress to a channel</h4> |
| 105 | <p>A new ARI endpoint is available at <code>/channels/{channelId}/progress</code> to indicate progress to a channel.</p> |
| 106 | </li> |
| 107 | <li> |
| 108 | <h4>options: Change ast_options from ast_flags to ast_flags64.</h4> |
| 109 | <p>The 32-bit ast_options has no room left to accomodate new |
| 110 | options and so has been converted to an ast_flags64 structure. All internal |
| 111 | references to ast_options have been updated to use the 64-bit flag |
| 112 | manipulation macros. External module references to the 32-bit ast_options |
| 113 | should continue to work on little-endian systems because the |
| 114 | least-significant bytes of a 64 bit integer will be in the same location as a |
| 115 | 32-bit integer. Because that's not the case on big-endian systems, we've |
| 116 | swapped the bytes in the flags manupulation macros on big-endian systems |
| 117 | so external modules should still work however you are encouraged to test.</p> |
| 118 | </li> |
| 119 | </ul> |
| 120 | <h3>Commit Authors:</h3> |
| 121 | <ul> |
| 122 | <li>Alexei Gradinari: (2)</li> |
| 123 | <li>Alexey Khabulyak: (2)</li> |
| 124 | <li>Allan Nathanson: (1)</li> |
| 125 | <li>Artem Umerov: (1)</li> |
| 126 | <li>Ben Ford: (1)</li> |
| 127 | <li>George Joseph: (12)</li> |
| 128 | <li>Igor Goncharovsky: (2)</li> |
| 129 | <li>Jaco Kroon: (1)</li> |
| 130 | <li>Joe Garlick: (1)</li> |
| 131 | <li>Jose Lopes: (1)</li> |
| 132 | <li>Kodokaii: (1)</li> |
| 133 | <li>Martin Tomec: (1)</li> |
| 134 | <li>Mike Bradeen: (1)</li> |
| 135 | <li>Mkmer: (1)</li> |
| 136 | <li>Naveen Albert: (15)</li> |
| 137 | <li>Sean Bright: (2)</li> |
| 138 | <li>Sperl Viktor: (2)</li> |
| 139 | <li>Stanislav Abramenkov: (1)</li> |
| 140 | <li>Stuart Henderson: (1)</li> |
| 141 | <li>Sven Kube: (2)</li> |
| 142 | <li>Tinet-Mucw: (2)</li> |
| 143 | <li>Zhou_jiajian: (1)</li> |
| 144 | </ul> |
| 145 | <h2>Issue and Commit Detail:</h2> |
| 146 | <h3>Closed Issues:</h3> |
| 147 | <ul> |
| 148 | <li>401: [bug]: app_dial: Answer Gosub option passthrough regression</li> |
| 149 | <li>927: [bug]: no audio when media source changed during the call</li> |
| 150 | <li>1176: [bug]: ast_slinear_saturated_multiply_float produces potentially audible distortion artifacts</li> |
| 151 | <li>1259: [bug]: New TenantID feature doesn't seem to set CDR for incoming calls</li> |
| 152 | <li>1260: [bug]: Asterisk sends RTP audio stream before ICE/DTLS completes</li> |
| 153 | <li>1269: [bug]: MixMonitor with D option produces corrupt file</li> |
| 154 | <li>1273: [bug]: When executed with GotoIf, the action Redirect does not take effect and causes confusion in dialplan execution.</li> |
| 155 | <li>1280: [improvement]: logging playback of audio per channel</li> |
| 156 | <li>1289: [bug]: sorcery - duplicate objects from multiple backends and backend divergence on update</li> |
| 157 | <li>1301: [bug]: sig_analog: fgccamamf doesn't handle STP, STP2, or STP3</li> |
| 158 | <li>1304: [bug]: FLUSH_MEDIA does not reset frame_queue_length in WebSocket channel</li> |
| 159 | <li>1305: [bug]: Realtime incorrectly falls back to next backend on record-not-found (SQL_NO_DATA), causing incorrect behavior and delay</li> |
| 160 | <li>1307: [improvement]: ast_tls_cert: Allow certificate validity to be configurable</li> |
| 161 | <li>1309: [bug]: Crash with C++ alternative storage backend enabled</li> |
| 162 | <li>1315: [bug]: When executed with dialplan, the action Redirect does not take effect.</li> |
| 163 | <li>1317: [bug]: AGI command buffer overflow with long variables</li> |
| 164 | <li>1321: [improvement]: app_agent_pool: Remove obsolete documentation</li> |
| 165 | <li>1323: [new-feature]: add CANCEL dispostion in CDR</li> |
| 166 | <li>1327: [bug]: res_stasis_device_state: can't delete ARI Devicestate after asterisk restart</li> |
| 167 | <li>1332: [new-feature]: func_curl: Allow auth methods to be set</li> |
| 168 | <li>1349: [bug]: Race condition on redirect can cause missing Diversion header</li> |
| 169 | <li>1352: [improvement]: Websocket channel with custom URI</li> |
| 170 | <li>1353: [bug]: AST_DATA_DIR/sounds/custom directory not searched</li> |
| 171 | <li>1358: [new-feature]: app_chanspy: Add option to not automatically answer channel</li> |
| 172 | <li>1364: [bug]: bridge.c: BRIDGE_NOANSWER not always obeyed</li> |
| 173 | <li>1366: [improvement]: func_frame_drop: Handle allocation failure properly</li> |
| 174 | <li>1369: [bug]: test_res_prometheus: Compilation failure in devmode due to curlopts not using long type</li> |
| 175 | <li>1371: [improvement]: func_frame_drop: Add debug messages for frames that can be dropped</li> |
| 176 | <li>1375: [improvement]: dsp.c: Improve logging in tone_detect().</li> |
| 177 | <li>1378: [bug]: chan_dahdi: dialmode feature is not properly reset between calls</li> |
| 178 | <li>1380: [bug]: sig_analog: Segfault due to calling strcmp on NULL</li> |
| 179 | <li>1384: [bug]: chan_websocket: asterisk crashes on hangup after STOP_MEDIA_BUFFERING command with id</li> |
| 180 | <li>1386: [bug]: enabling announceposition_only_up prevents any queue position announcements</li> |
| 181 | <li>1390: [improvement]: res_tonedetect: Add option to automatically end detection in TONE_DETECT</li> |
| 182 | <li>1394: [improvement]: sig_analog: Skip Caller ID spill if Caller ID is disabled</li> |
| 183 | <li>1396: [new-feature]: pbx_builtins: Make tone option for WaitExten configurable</li> |
| 184 | <li>1401: [bug]: app_waitfornoise timeout is always less then configured because of time() usage</li> |
| 185 | <li>1457: [bug]: segmentation fault because of a wrong ari config</li> |
| 186 | <li>1462: [bug]: chan_websocket isn't handling the "opus" codec correctly.</li> |
| 187 | <li>1474: [bug]: Media doesn't flow for video conference after res_rtp_asterisk change to stop media flow before DTLS completes</li> |
| 188 | </ul> |
| 189 | <h3>Commits By Author:</h3> |
| 190 | <ul> |
| 191 | <li> |
| 192 | <h4>Alexei Gradinari (2):</h4> |
| 193 | </li> |
| 194 | <li>res_config_odbc: Prevent Realtime fallback on record-not-found (SQL_NO_DATA)</li> |
| 195 | <li> |
| 196 | <p>sorcery: Prevent duplicate objects and ensure missing objects are created on u..</p> |
| 197 | </li> |
| 198 | <li> |
| 199 | <h4>Alexey Khabulyak (2):</h4> |
| 200 | </li> |
| 201 | <li>app_dial.c: Moved channel lock to prevent deadlock</li> |
| 202 | <li> |
| 203 | <p>pbx_lua.c: segfault when pass null data to term_color function</p> |
| 204 | </li> |
| 205 | <li> |
| 206 | <h4>Allan Nathanson (1):</h4> |
| 207 | </li> |
| 208 | <li> |
| 209 | <p>file.c: with "sounds_search_custom_dir = yes", search "custom" directory</p> |
| 210 | </li> |
| 211 | <li> |
| 212 | <h4>Artem Umerov (1):</h4> |
| 213 | </li> |
| 214 | <li> |
| 215 | <p>Fix missing ast_test_flag64 in extconf.c</p> |
| 216 | </li> |
| 217 | <li> |
| 218 | <h4>Ben Ford (1):</h4> |
| 219 | </li> |
| 220 | <li> |
| 221 | <p>res_rtp_asterisk: Don't send RTP before DTLS has negotiated.</p> |
| 222 | </li> |
| 223 | <li> |
| 224 | <h4>George Joseph (12):</h4> |
| 225 | </li> |
| 226 | <li>Media over Websocket Channel Driver</li> |
| 227 | <li>app_mixmonitor: Update the documentation concerning the "D" option.</li> |
| 228 | <li>cdr.c: Set tenantid from party_a->base instead of chan->base.</li> |
| 229 | <li>options: Change ast_options from ast_flags to ast_flags64.</li> |
| 230 | <li>res_srtp: Add menuselect options to enable AES_192, AES_256 and AES_GCM</li> |
| 231 | <li>channelstorage_cpp_map_name_id.cc: Refactor iterators for thread-safety.</li> |
| 232 | <li>xmldoc.c: Fix rendering of CLI output.</li> |
| 233 | <li>chan_websocket: Fix buffer overrun when processing TEXT websocket frames.</li> |
| 234 | <li>chan_websocket: Allow additional URI parameters to be added to the outgoing URI.</li> |
| 235 | <li>res_ari: Ensure outbound websocket config has a websocket_client_id.</li> |
| 236 | <li>chan_websocket: Fix codec validation and add passthrough option.</li> |
| 237 | <li> |
| 238 | <p>res_rtp_asterisk.c: Use rtp->dtls in __rtp_sendto when rtcp mux is used.</p> |
| 239 | </li> |
| 240 | <li> |
| 241 | <h4>Igor Goncharovsky (2):</h4> |
| 242 | </li> |
| 243 | <li>app_waitforsilence.c: Use milliseconds to calculate timeout time</li> |
| 244 | <li> |
| 245 | <p>app_queue.c: Add new global 'log_unpause_on_reason_change'</p> |
| 246 | </li> |
| 247 | <li> |
| 248 | <h4>Jaco Kroon (1):</h4> |
| 249 | </li> |
| 250 | <li> |
| 251 | <p>res_musiconhold: Appropriately lock channel during start.</p> |
| 252 | </li> |
| 253 | <li> |
| 254 | <h4>Joe Garlick (1):</h4> |
| 255 | </li> |
| 256 | <li> |
| 257 | <p>chan_websocket.c: Add DTMF messages</p> |
| 258 | </li> |
| 259 | <li> |
| 260 | <h4>Jose Lopes (1):</h4> |
| 261 | </li> |
| 262 | <li> |
| 263 | <p>res_stasis_device_state: Fix delete ARI Devicestates after asterisk restart.</p> |
| 264 | </li> |
| 265 | <li> |
| 266 | <h4>Martin Tomec (1):</h4> |
| 267 | </li> |
| 268 | <li> |
| 269 | <p>chan_pjsip.c: Change SSRC after media source change</p> |
| 270 | </li> |
| 271 | <li> |
| 272 | <h4>Mike Bradeen (1):</h4> |
| 273 | </li> |
| 274 | <li> |
| 275 | <p>res_pjsip_diversion: resolve race condition between Diversion header processin..</p> |
| 276 | </li> |
| 277 | <li> |
| 278 | <h4>Naveen Albert (15):</h4> |
| 279 | </li> |
| 280 | <li>sig_analog: Properly handle STP, ST2P, and ST3P for fgccamamf.</li> |
| 281 | <li>ast_tls_cert: Make certificate validity configurable.</li> |
| 282 | <li>app_agent_pool: Remove documentation for removed option.</li> |
| 283 | <li>func_curl: Allow auth methods to be set.</li> |
| 284 | <li>bridge.c: Obey BRIDGE_NOANSWER variable to skip answering channel.</li> |
| 285 | <li>func_frame_drop: Handle allocation failure properly.</li> |
| 286 | <li>test_res_prometheus: Fix compilation failure on Debian 13.</li> |
| 287 | <li>func_frame_drop: Add debug messages for dropped frames.</li> |
| 288 | <li>app_chanspy: Add option to not automatically answer channel.</li> |
| 289 | <li>dsp.c: Improve debug logging in tone_detect().</li> |
| 290 | <li>sig_analog: Fix SEGV due to calling strcmp on NULL.</li> |
| 291 | <li>chan_dahdi: Fix erroneously persistent dialmode.</li> |
| 292 | <li>sig_analog: Skip Caller ID spill if usecallerid=no.</li> |
| 293 | <li>res_tonedetect: Add option for TONE_DETECT detection to auto stop.</li> |
| 294 | <li> |
| 295 | <p>pbx_builtins: Allow custom tone for WaitExten.</p> |
| 296 | </li> |
| 297 | <li> |
| 298 | <h4>Sean Bright (2):</h4> |
| 299 | </li> |
| 300 | <li>res_musiconhold.c: Annotate when the channel is locked.</li> |
| 301 | <li> |
| 302 | <p>res_musiconhold.c: Ensure we're always locked around music state access.</p> |
| 303 | </li> |
| 304 | <li> |
| 305 | <h4>Sperl Viktor (2):</h4> |
| 306 | </li> |
| 307 | <li>res_agi: Increase AGI command buffer size from 2K to 8K</li> |
| 308 | <li> |
| 309 | <p>cel: Add STREAM_BEGIN, STREAM_END and DTMF event types.</p> |
| 310 | </li> |
| 311 | <li> |
| 312 | <h4>Stanislav Abramenkov (1):</h4> |
| 313 | </li> |
| 314 | <li> |
| 315 | <p>bundled_pjproject: Avoid deadlock between transport and transaction</p> |
| 316 | </li> |
| 317 | <li> |
| 318 | <h4>Stuart Henderson (1):</h4> |
| 319 | </li> |
| 320 | <li> |
| 321 | <p>app_queue: fix comparison for announce-position-only-up</p> |
| 322 | </li> |
| 323 | <li> |
| 324 | <h4>Sven Kube (2):</h4> |
| 325 | </li> |
| 326 | <li>resource_channels.c: Don't call ast_channel_get_by_name on empty optional argu..</li> |
| 327 | <li> |
| 328 | <p>ARI: Add command to indicate progress to a channel</p> |
| 329 | </li> |
| 330 | <li> |
| 331 | <h4>Tinet-mucw (2):</h4> |
| 332 | </li> |
| 333 | <li>pbx.c: when set flag AST_SOFTHANGUP_ASYNCGOTO, ast_explicit_goto should return..</li> |
| 334 | <li> |
| 335 | <p>pbx.c: When the AST_SOFTHANGUP_ASYNCGOTO flag is set, pbx_extension_helper sho..</p> |
| 336 | </li> |
| 337 | <li> |
| 338 | <h4>kodokaii (1):</h4> |
| 339 | </li> |
| 340 | <li> |
| 341 | <p>chan_websocket: Reset frame_queue_length to 0 after FLUSH_MEDIA</p> |
| 342 | </li> |
| 343 | <li> |
| 344 | <h4>mkmer (1):</h4> |
| 345 | </li> |
| 346 | <li> |
| 347 | <p>utils.h: Add rounding to float conversion to int.</p> |
| 348 | </li> |
| 349 | <li> |
| 350 | <h4>zhou_jiajian (1):</h4> |
| 351 | </li> |
| 352 | <li>cdr: add CANCEL dispostion in CDR</li> |
| 353 | </ul> |
| 354 | <h3>Commit List:</h3> |
| 355 | <ul> |
| 356 | <li>res_rtp_asterisk.c: Use rtp->dtls in __rtp_sendto when rtcp mux is used.</li> |
| 357 | <li>chan_websocket: Fix codec validation and add passthrough option.</li> |
| 358 | <li>res_ari: Ensure outbound websocket config has a websocket_client_id.</li> |
| 359 | <li>chan_websocket.c: Add DTMF messages</li> |
| 360 | <li>app_queue.c: Add new global 'log_unpause_on_reason_change'</li> |
| 361 | <li>app_waitforsilence.c: Use milliseconds to calculate timeout time</li> |
| 362 | <li>Fix missing ast_test_flag64 in extconf.c</li> |
| 363 | <li>pbx_builtins: Allow custom tone for WaitExten.</li> |
| 364 | <li>res_tonedetect: Add option for TONE_DETECT detection to auto stop.</li> |
| 365 | <li>app_queue: fix comparison for announce-position-only-up</li> |
| 366 | <li>sig_analog: Skip Caller ID spill if usecallerid=no.</li> |
| 367 | <li>chan_dahdi: Fix erroneously persistent dialmode.</li> |
| 368 | <li>chan_websocket: Fix buffer overrun when processing TEXT websocket frames.</li> |
| 369 | <li>sig_analog: Fix SEGV due to calling strcmp on NULL.</li> |
| 370 | <li>ARI: Add command to indicate progress to a channel</li> |
| 371 | <li>dsp.c: Improve debug logging in tone_detect().</li> |
| 372 | <li>res_stasis_device_state: Fix delete ARI Devicestates after asterisk restart.</li> |
| 373 | <li>app_chanspy: Add option to not automatically answer channel.</li> |
| 374 | <li>xmldoc.c: Fix rendering of CLI output.</li> |
| 375 | <li>func_frame_drop: Add debug messages for dropped frames.</li> |
| 376 | <li>test_res_prometheus: Fix compilation failure on Debian 13.</li> |
| 377 | <li>func_frame_drop: Handle allocation failure properly.</li> |
| 378 | <li>pbx_lua.c: segfault when pass null data to term_color function</li> |
| 379 | <li>bridge.c: Obey BRIDGE_NOANSWER variable to skip answering channel.</li> |
| 380 | <li>res_rtp_asterisk: Don't send RTP before DTLS has negotiated.</li> |
| 381 | <li>app_dial.c: Moved channel lock to prevent deadlock</li> |
| 382 | <li>file.c: with "sounds_search_custom_dir = yes", search "custom" directory</li> |
| 383 | <li>cel: Add STREAM_BEGIN, STREAM_END and DTMF event types.</li> |
| 384 | <li>channelstorage_cpp_map_name_id.cc: Refactor iterators for thread-safety.</li> |
| 385 | <li>res_srtp: Add menuselect options to enable AES_192, AES_256 and AES_GCM</li> |
| 386 | <li>cdr: add CANCEL dispostion in CDR</li> |
| 387 | <li>func_curl: Allow auth methods to be set.</li> |
| 388 | <li>options: Change ast_options from ast_flags to ast_flags64.</li> |
| 389 | <li>res_config_odbc: Prevent Realtime fallback on record-not-found (SQL_NO_DATA)</li> |
| 390 | <li>app_agent_pool: Remove documentation for removed option.</li> |
| 391 | <li>res_agi: Increase AGI command buffer size from 2K to 8K</li> |
| 392 | <li>ast_tls_cert: Make certificate validity configurable.</li> |
| 393 | <li>cdr.c: Set tenantid from party_a->base instead of chan->base.</li> |
| 394 | <li>app_mixmonitor: Update the documentation concerning the "D" option.</li> |
| 395 | <li>sig_analog: Properly handle STP, ST2P, and ST3P for fgccamamf.</li> |
| 396 | <li>chan_websocket: Reset frame_queue_length to 0 after FLUSH_MEDIA</li> |
| 397 | <li>chan_pjsip.c: Change SSRC after media source change</li> |
| 398 | <li>Media over Websocket Channel Driver</li> |
| 399 | <li>bundled_pjproject: Avoid deadlock between transport and transaction</li> |
| 400 | <li>utils.h: Add rounding to float conversion to int.</li> |
| 401 | <li>res_musiconhold.c: Ensure we're always locked around music state access.</li> |
| 402 | <li>res_musiconhold.c: Annotate when the channel is locked.</li> |
| 403 | <li>res_musiconhold: Appropriately lock channel during start.</li> |
| 404 | </ul> |
| 405 | <h3>Commit Details:</h3> |
| 406 | <h4>res_rtp_asterisk.c: Use rtp->dtls in __rtp_sendto when rtcp mux is used.</h4> |
| 407 | <p>Author: George Joseph |
| 408 | Date: 2025-09-23</p> |
| 409 | <p>In __rtp_sendto(), the check for DTLS negotiation completion for rtcp packets |
| 410 | needs to use the rtp->dtls structure instead of rtp->rtcp->dtls when |
| 411 | AST_RTP_INSTANCE_RTCP_MUX is set.</p> |
| 412 | <p>Resolves: #1474</p> |
| 413 | <h4>chan_websocket: Fix codec validation and add passthrough option.</h4> |
| 414 | <p>Author: George Joseph |
| 415 | Date: 2025-09-17</p> |
| 416 | <ul> |
| 417 | <li>Fixed an issue in webchan_write() where we weren't detecting equivalent |
| 418 | codecs properly.</li> |
| 419 | <li>Added the "p" dialstring option that puts the channel driver in |
| 420 | "passthrough" mode where it will not attempt to re-frame or re-time |
| 421 | media coming in over the websocket from the remote app. This can be used |
| 422 | for any codec but MUST be used for codecs that use packet headers or whose |
| 423 | data stream can't be broken up on arbitrary byte boundaries. In this case, |
| 424 | the remote app is fully responsible for correctly framing and timing media |
| 425 | sent to Asterisk and the MEDIA text commands that could be sent over the |
| 426 | websocket are disabled. Currently, passthrough mode is automatically set |
| 427 | for the opus, speex and g729 codecs.</li> |
| 428 | <li>Now calling ast_set_read_format() after ast_channel_set_rawreadformat() to |
| 429 | ensure proper translation paths are set up when switching between native |
| 430 | frames and slin silence frames. This fixes an issue with codec errors |
| 431 | when transcode_via_sln=yes.</li> |
| 432 | </ul> |
| 433 | <p>Resolves: #1462</p> |
| 434 | <h4>res_ari: Ensure outbound websocket config has a websocket_client_id.</h4> |
| 435 | <p>Author: George Joseph |
| 436 | Date: 2025-09-12</p> |
| 437 | <p>Added a check to outbound_websocket_apply() that makes sure an outbound |
| 438 | websocket config object in ari.conf has a websocket_client_id parameter.</p> |
| 439 | <p>Resolves: #1457</p> |
| 440 | <h4>chan_websocket.c: Add DTMF messages</h4> |
| 441 | <p>Author: Joe Garlick |
| 442 | Date: 2025-09-04</p> |
| 443 | <p>Added DTMF messages to the chan_websocket feature.</p> |
| 444 | <p>When a user presses DTMF during a call over chan_websocket it will send a message like: |
| 445 | "DTMF_END digit:1"</p> |
| 446 | <p>Resolves: https://github.com/asterisk/asterisk-feature-requests/issues/70</p> |
| 447 | <h4>app_queue.c: Add new global 'log_unpause_on_reason_change'</h4> |
| 448 | <p>Author: Igor Goncharovsky |
| 449 | Date: 2025-09-02</p> |
| 450 | <p>In many asterisk-based systems, the pause reason is used to separate |
| 451 | pauses by type,and logically, changing the reason defines two intervals |
| 452 | that should be accounted for separately. The introduction of a new |
| 453 | option allows me to separate the intervals of operator inactivity in |
| 454 | the log by the event of unpausing.</p> |
| 455 | <p>UserNote: Add new global option 'log_unpause_on_reason_change' that |
| 456 | is default disabled. When enabled cause addition of UNPAUSE event on |
| 457 | every re-PAUSE with reason changed.</p> |
| 458 | <h4>app_waitforsilence.c: Use milliseconds to calculate timeout time</h4> |
| 459 | <p>Author: Igor Goncharovsky |
| 460 | Date: 2025-09-04</p> |
| 461 | <p>The functions WaitForNoise() and WaitForSilence() use the time() |
| 462 | functions to calculate elapsed time, which causes the timer to fire on |
| 463 | a whole second boundary, and the actual function execution time to fire |
| 464 | the timer may be 1 second less than expected. This fix replaces time() |
| 465 | with ast_tvnow().</p> |
| 466 | <p>Fixes: #1401</p> |
| 467 | <h4>Fix missing ast_test_flag64 in extconf.c</h4> |
| 468 | <p>Author: Artem Umerov |
| 469 | Date: 2025-08-29</p> |
| 470 | <p>Fix missing ast_test_flag64 after https://github.com/asterisk/asterisk/commit/43bf8a4ded7a65203b766b91eaf8331a600e9d8d</p> |
| 471 | <h4>pbx_builtins: Allow custom tone for WaitExten.</h4> |
| 472 | <p>Author: Naveen Albert |
| 473 | Date: 2025-08-25</p> |
| 474 | <p>Currently, the 'd' option will play dial tone while waiting |
| 475 | for digits. Allow it to accept an argument for any tone from |
| 476 | indications.conf.</p> |
| 477 | <p>Resolves: #1396</p> |
| 478 | <p>UserNote: The tone used while waiting for digits in WaitExten |
| 479 | can now be overridden by specifying an argument for the 'd' |
| 480 | option.</p> |
| 481 | <h4>res_tonedetect: Add option for TONE_DETECT detection to auto stop.</h4> |
| 482 | <p>Author: Naveen Albert |
| 483 | Date: 2025-08-22</p> |
| 484 | <p>One of the problems with TONE_DETECT as it was originally written |
| 485 | is that if a tone is detected multiple times, it can trigger |
| 486 | the redirect logic multiple times as well. For example, if we |
| 487 | do an async goto in the dialplan after detecting a tone, because |
| 488 | the detector is still active until explicitly disabled, if we |
| 489 | detect the tone again, we will branch again and start executing |
| 490 | that dialplan a second time. This is rarely ever desired behavior, |
| 491 | and can happen if the detector is not removed quickly enough.</p> |
| 492 | <p>Add a new option, 'e', which automatically disables the detector |
| 493 | once the desired number of matches have been heard. This eliminates |
| 494 | the potential race condition where previously the detector would |
| 495 | need to be disabled immediately, but doing so quickly enough |
| 496 | was not guaranteed. This also allows match criteria to be retained |
| 497 | longer if needed, so the detector does not need to be destroyed |
| 498 | prematurely.</p> |
| 499 | <p>Resolves: #1390</p> |
| 500 | <p>UserNote: The 'e' option for TONE_DETECT now allows detection to |
| 501 | be disabled automatically once the desired number of matches have |
| 502 | been fulfilled, which can help prevent race conditions in the |
| 503 | dialplan, since TONE_DETECT does not need to be disabled after |
| 504 | a hit.</p> |
| 505 | <h4>app_queue: fix comparison for announce-position-only-up</h4> |
| 506 | <p>Author: Stuart Henderson |
| 507 | Date: 2025-08-21</p> |
| 508 | <p>Numerically comparing that the current queue position is less than |
| 509 | last_pos_said can only be done after at least one announcement has been |
| 510 | made, otherwise last_pos_said is at the default (0).</p> |
| 511 | <p>Fixes: #1386</p> |
| 512 | <h4>sorcery: Prevent duplicate objects and ensure missing objects are created on u..</h4> |
| 513 | <p>Author: Alexei Gradinari |
| 514 | Date: 2025-07-07</p> |
| 515 | <p>This patch resolves two issues in Sorcery objectset handling with multiple |
| 516 | backends:</p> |
| 517 | <ol> |
| 518 | <li> |
| 519 | <p>Prevent duplicate objects: |
| 520 | When an object exists in more than one backend (e.g., a contact in both |
| 521 | 'astdb' and 'realtime'), the objectset previously returned multiple instances |
| 522 | of the same logical object. This caused logic failures in components like the |
| 523 | PJSIP registrar, where duplicate contact entries led to overcounting and |
| 524 | incorrect deletions, when max_contacts=1 and remove_existing=yes.</p> |
| 525 | <p>This patch ensures only one instance of an object with a given key is added |
| 526 | to the objectset, avoiding these duplicate-related side effects.</p> |
| 527 | </li> |
| 528 | <li> |
| 529 | <p>Ensure missing objects are created: |
| 530 | When using multiple writable backends, a temporary backend failure can lead |
| 531 | to objects missing permanently from that backend. |
| 532 | Currently, .update() silently fails if the object is not present, |
| 533 | and no .create() is attempted. |
| 534 | This results in inconsistent state across backends (e.g. astdb vs. realtime).</p> |
| 535 | <p>This patch introduces a new global option in sorcery.conf: |
| 536 | [general] |
| 537 | update_or_create_on_update_miss = yes|no</p> |
| 538 | <p>Default: no (preserves existing behavior).</p> |
| 539 | <p>When enabled: if .update() fails with no data found, .create() is attempted |
| 540 | in that backend. This ensures that objects missing due to temporary backend |
| 541 | outages are re-synchronized once the backend is available again.</p> |
| 542 | <p>Added a new CLI command: |
| 543 | sorcery show settings |
| 544 | Displays global Sorcery settings, including the current value of |
| 545 | update_or_create_on_update_miss.</p> |
| 546 | <p>Updated tests to validate both flag enabled/disabled behavior.</p> |
| 547 | </li> |
| 548 | </ol> |
| 549 | <p>Fixes: #1289</p> |
| 550 | <p>UserNote: Users relying on Sorcery multiple writable backends configurations |
| 551 | (e.g., astdb + realtime) may now enable update_or_create_on_update_miss = yes |
| 552 | in sorcery.conf to ensure missing objects are recreated after temporary backend |
| 553 | failures. Default behavior remains unchanged unless explicitly enabled.</p> |
| 554 | <h4>sig_analog: Skip Caller ID spill if usecallerid=no.</h4> |
| 555 | <p>Author: Naveen Albert |
| 556 | Date: 2025-08-25</p> |
| 557 | <p>If Caller ID is disabled for an FXS port, then we should not send any |
| 558 | Caller ID spill on the line, as we have no Caller ID information that |
| 559 | we can/should be sending.</p> |
| 560 | <p>Resolves: #1394</p> |
| 561 | <h4>chan_dahdi: Fix erroneously persistent dialmode.</h4> |
| 562 | <p>Author: Naveen Albert |
| 563 | Date: 2025-08-18</p> |
| 564 | <p>It is possible to modify the dialmode setting in the chan_dahdi/sig_analog |
| 565 | private using the CHANNEL function, to modify it during calls. However, |
| 566 | it was not being reset between calls, meaning that if, for example, tone |
| 567 | dialing was disabled, it would never work again unless explicitly enabled.</p> |
| 568 | <p>This fixes the setting by pairing it with a "perm" version of the setting, |
| 569 | as a few other features have, so that it can be reset to the permanent |
| 570 | setting between calls. The documentation is also clarified to explain |
| 571 | the interaction of this setting and the digitdetect setting more clearly.</p> |
| 572 | <p>Resolves: #1378</p> |
| 573 | <h4>chan_websocket: Allow additional URI parameters to be added to the outgoing URI.</h4> |
| 574 | <p>Author: George Joseph |
| 575 | Date: 2025-08-13</p> |
| 576 | <ul> |
| 577 | <li>Added a new option to the WebSocket dial string to capture the additional |
| 578 | URI parameters.</li> |
| 579 | <li>Added a new API ast_uri_verify_encoded() that verifies that a string |
| 580 | either doesn't need URI encoding or that it has already been encoded.</li> |
| 581 | <li>Added a new API ast_websocket_client_add_uri_params() to add the params |
| 582 | to the client websocket session.</li> |
| 583 | <li>Added XML documentation that will show up with <code>core show application Dial</code> |
| 584 | that shows how to use it.</li> |
| 585 | </ul> |
| 586 | <p>Resolves: #1352</p> |
| 587 | <p>UserNote: A new WebSocket channel driver option <code>v</code> has been added to the |
| 588 | Dial application that allows you to specify additional URI parameters on |
| 589 | outgoing connections. Run <code>core show application Dial</code> from the Asterisk CLI |
| 590 | to see how to use it.</p> |
| 591 | <h4>chan_websocket: Fix buffer overrun when processing TEXT websocket frames.</h4> |
| 592 | <p>Author: George Joseph |
| 593 | Date: 2025-08-19</p> |
| 594 | <p>ast_websocket_read() receives data into a fixed 64K buffer then continually |
| 595 | reallocates a final buffer that, after all continuation frames have been |
| 596 | received, is the exact length of the data received and returns that to the |
| 597 | caller. process_text_message() in chan_websocket was attempting to set a |
| 598 | NULL terminator on the received payload assuming the payload buffer it |
| 599 | received was the large 64K buffer. The assumption was incorrect so when it |
| 600 | tried to set a NULL terminator on the payload, it could, depending on the |
| 601 | state of the heap at the time, cause heap corruption.</p> |
| 602 | <p>process_text_message() now allocates its own payload_len + 1 sized buffer, |
| 603 | copies the payload received from ast_websocket_read() into it then NULL |
| 604 | terminates it prevent the possibility of the overrun and corruption.</p> |
| 605 | <p>Resolves: #1384</p> |
| 606 | <h4>sig_analog: Fix SEGV due to calling strcmp on NULL.</h4> |
| 607 | <p>Author: Naveen Albert |
| 608 | Date: 2025-08-18</p> |
| 609 | <p>Add an additional check to guard against the channel application being |
| 610 | NULL.</p> |
| 611 | <p>Resolves: #1380</p> |
| 612 | <h4>ARI: Add command to indicate progress to a channel</h4> |
| 613 | <p>Author: Sven Kube |
| 614 | Date: 2025-07-30</p> |
| 615 | <p>Adds an ARI command to send a progress indication to a channel.</p> |
| 616 | <p>DeveloperNote: A new ARI endpoint is available at <code>/channels/{channelId}/progress</code> to indicate progress to a channel.</p> |
| 617 | <h4>dsp.c: Improve debug logging in tone_detect().</h4> |
| 618 | <p>Author: Naveen Albert |
| 619 | Date: 2025-08-15</p> |
| 620 | <p>The debug logging during DSP processing has always been kind |
| 621 | of overwhelming and annoying to troubleshoot. Simplify and |
| 622 | improve the logging in a few ways to aid DSP debugging:</p> |
| 623 | <ul> |
| 624 | <li>If we had a DSP hit, don't also emit the previous debug message that |
| 625 | was always logged. It is duplicated by the hit message, so this can |
| 626 | reduce the number of debug messages during detection by 50%.</li> |
| 627 | <li>Include the hit count and required number of hits in the message so |
| 628 | on partial detections can be more easily troubleshot.</li> |
| 629 | <li>Use debug level 9 for hits instead of 10, so we can focus on hits |
| 630 | without all the noise from the per-frame debug message.</li> |
| 631 | <li>1-index the hit count in the debug messages. On the first hit, it |
| 632 | currently logs '0', just as when we are not detecting anything, |
| 633 | which can be confusing.</li> |
| 634 | </ul> |
| 635 | <p>Resolves: #1375</p> |
| 636 | <h4>res_stasis_device_state: Fix delete ARI Devicestates after asterisk restart.</h4> |
| 637 | <p>Author: Jose Lopes |
| 638 | Date: 2025-07-30</p> |
| 639 | <p>After an asterisk restart, the deletion of ARI Devicestates didn't |
| 640 | return error, but the devicestate was not deleted. |
| 641 | Found a typo on populate_cache function that created wrong cache for |
| 642 | device states. |
| 643 | This bug caused wrong assumption that devicestate didn't exist, |
| 644 | since it was not in cache, so deletion didn't returned error.</p> |
| 645 | <p>Fixes: #1327</p> |
| 646 | <h4>app_chanspy: Add option to not automatically answer channel.</h4> |
| 647 | <p>Author: Naveen Albert |
| 648 | Date: 2025-08-13</p> |
| 649 | <p>Add an option for ChanSpy and ExtenSpy to not answer the channel |
| 650 | automatically. Most applications that auto-answer by default |
| 651 | already have an option to disable this behavior if unwanted.</p> |
| 652 | <p>Resolves: #1358</p> |
| 653 | <p>UserNote: ChanSpy and ExtenSpy can now be configured to not |
| 654 | automatically answer the channel by using the 'N' option.</p> |
| 655 | <h4>xmldoc.c: Fix rendering of CLI output.</h4> |
| 656 | <p>Author: George Joseph |
| 657 | Date: 2025-08-14</p> |
| 658 | <p>If you do a <code>core show application Dial</code>, you'll see it's kind of a mess. |
| 659 | Indents are wrong is some places, examples are printed in black which makes |
| 660 | them invisible on most terminals, and the lack of line breaks in some cases |
| 661 | makes it hard to follow.</p> |
| 662 | <ul> |
| 663 | <li>Fixed the rendering of examples so they are indented properly and changed |
| 664 | the color so they can be seen.</li> |
| 665 | <li>There is now a line break before each option.</li> |
| 666 | <li>Options are now printed on their own line with all option content indented |
| 667 | below them.</li> |
| 668 | </ul> |
| 669 | <p>Example from Dial before fixes: |
| 670 | ``` |
| 671 | Example: Dial 555-1212 on first available channel in group 1, searching |
| 672 | from highest to lowest</p> |
| 673 | <pre><code> Example: Ringing FXS channel 4 with ring cadence 2 |
| 674 | |
| 675 | Example: Dial 555-1212 on channel 3 and require answer confirmation |
| 676 | </code></pre> |
| 677 | <p>...</p> |
| 678 | <pre><code> O([mode]): |
| 679 | mode - With <mode> either not specified or set to '1', the originator |
| 680 | hanging up will cause the phone to ring back immediately. |
| 681 | </code></pre> |
| 682 | <ul> |
| 683 | <li> |
| 684 | <p>With <mode> set to '2', when the operator flashes the trunk, it will ring |
| 685 | their phone back. |
| 686 | Enables <em>operator services</em> mode. This option only works when bridging a DAHDI |
| 687 | channel to another DAHDI channel only. If specified on non-DAHDI interfaces, it |
| 688 | will be ignored. When the destination answers (presumably an operator services |
| 689 | station), the originator no longer has control of their line. They may hang up, |
| 690 | but the switch will not release their line until the destination party (the |
| 691 | operator) hangs up.</p> |
| 692 | <p>p: This option enables screening mode. This is basically Privacy mode |
| 693 | without memory. |
| 694 | ```</p> |
| 695 | </li> |
| 696 | </ul> |
| 697 | <p>After: |
| 698 | ``` |
| 699 | Example: Dial 555-1212 on first available channel in group 1, searching |
| 700 | from highest to lowest</p> |
| 701 | <pre><code> same => n,Dial(DAHDI/g1/5551212) |
| 702 | |
| 703 | Example: Ringing FXS channel 4 with ring cadence 2 |
| 704 | |
| 705 | same => n,Dial(DAHDI/4r2) |
| 706 | |
| 707 | Example: Dial 555-1212 on channel 3 and require answer confirmation |
| 708 | |
| 709 | same => n,Dial(DAHDI/3c/5551212) |
| 710 | </code></pre> |
| 711 | <p>...</p> |
| 712 | <pre><code> O([mode]): |
| 713 | mode - With <mode> either not specified or set to '1', the originator |
| 714 | hanging up will cause the phone to ring back immediately. |
| 715 | With <mode> set to '2', when the operator flashes the trunk, it will |
| 716 | ring their phone back. |
| 717 | Enables *operator services* mode. This option only works when bridging |
| 718 | a DAHDI channel to another DAHDI channel only. If specified on |
| 719 | non-DAHDI interfaces, it will be ignored. When the destination answers |
| 720 | (presumably an operator services station), the originator no longer has |
| 721 | control of their line. They may hang up, but the switch will not |
| 722 | release their line until the destination party (the operator) hangs up. |
| 723 | |
| 724 | p: |
| 725 | This option enables screening mode. This is basically Privacy mode |
| 726 | without memory. |
| 727 | </code></pre> |
| 728 | <p>```</p> |
| 729 | <p>There are still things we can do to make this more readable but this is a |
| 730 | start.</p> |
| 731 | <h4>func_frame_drop: Add debug messages for dropped frames.</h4> |
| 732 | <p>Author: Naveen Albert |
| 733 | Date: 2025-08-14</p> |
| 734 | <p>Add debug messages in scenarios where frames that are usually processed |
| 735 | are dropped or skipped.</p> |
| 736 | <p>Resolves: #1371</p> |
| 737 | <h4>test_res_prometheus: Fix compilation failure on Debian 13.</h4> |
| 738 | <p>Author: Naveen Albert |
| 739 | Date: 2025-08-14</p> |
| 740 | <p>curl_easy_setopt expects long types, so be explicit.</p> |
| 741 | <p>Resolves: #1369</p> |
| 742 | <h4>func_frame_drop: Handle allocation failure properly.</h4> |
| 743 | <p>Author: Naveen Albert |
| 744 | Date: 2025-08-14</p> |
| 745 | <p>Handle allocation failure and simplify the allocation using asprintf.</p> |
| 746 | <p>Resolves: #1366</p> |
| 747 | <h4>pbx_lua.c: segfault when pass null data to term_color function</h4> |
| 748 | <p>Author: Alexey Khabulyak |
| 749 | Date: 2025-08-14</p> |
| 750 | <p>This can be reproduced under certain curcomstences. |
| 751 | For example: call app.playback from lua with invalid data: app.playback({}). |
| 752 | pbx_lua.c will try to get data for this playback using lua_tostring function. |
| 753 | This function returs NULL for everything but strings and numbers. |
| 754 | Then, it calls term_color with NULL data. |
| 755 | term_color function can call(if we don't use vt100 compat term) |
| 756 | ast_copy_string with NULL inbuf which cause segfault. bt example: |
| 757 | ast_copy_string (size=8192, src=0x0, dst=0x7fe44b4be8b0) |
| 758 | at /usr/src/asterisk/asterisk-20.11.0/include/asterisk/strings.h:412</p> |
| 759 | <p>Resolves: https://github.com/asterisk/asterisk/issues/1363</p> |
| 760 | <h4>bridge.c: Obey BRIDGE_NOANSWER variable to skip answering channel.</h4> |
| 761 | <p>Author: Naveen Albert |
| 762 | Date: 2025-08-14</p> |
| 763 | <p>If the BRIDGE_NOANSWER variable is set on a channel, it is not supposed |
| 764 | to answer when another channel bridges to it using Bridge(), and this is |
| 765 | checked when ast_bridge_call* is called. However, another path exists |
| 766 | (bridge_exec -> ast_bridge_add_channel) where this variable was not |
| 767 | checked and channels would be answered. We now check the variable there.</p> |
| 768 | <p>Resolves: #401 |
| 769 | Resolves: #1364</p> |
| 770 | <h4>res_rtp_asterisk: Don't send RTP before DTLS has negotiated.</h4> |
| 771 | <p>Author: Ben Ford |
| 772 | Date: 2025-08-04</p> |
| 773 | <p>There was no check in __rtp_sendto that prevented Asterisk from sending |
| 774 | RTP before DTLS had finished negotiating. This patch adds logic to do |
| 775 | so.</p> |
| 776 | <p>Fixes: #1260</p> |
| 777 | <h4>app_dial.c: Moved channel lock to prevent deadlock</h4> |
| 778 | <p>Author: Alexey Khabulyak |
| 779 | Date: 2025-08-04</p> |
| 780 | <p>It's reproducible with pbx_lua, not regular dialplan.</p> |
| 781 | <p>deadlock description: |
| 782 | 1. asterisk locks a channel |
| 783 | 2. calls function onedigit_goto |
| 784 | 3. calls ast_goto_if_exists funciton |
| 785 | 4. checks ast_exists_extension -> pbx_extension_helper |
| 786 | 5. pbx_extension_helper calls pbx_find_extension |
| 787 | 6. Then asterisk starts autoservice in a new thread |
| 788 | 7. autoservice run tries to lock the channel again</p> |
| 789 | <p>Because our channel is locked already, autoservice can't lock. |
| 790 | Autoservice can't lock -> autoservice stop is waiting forever. |
| 791 | onedigit_goto waits for autoservice stop.</p> |
| 792 | <p>Resolves: https://github.com/asterisk/asterisk/issues/1335</p> |
| 793 | <h4>res_pjsip_diversion: resolve race condition between Diversion header processin..</h4> |
| 794 | <p>Author: Mike Bradeen |
| 795 | Date: 2025-08-07</p> |
| 796 | <p>Based on the firing order of the PJSIP call-backs on a redirect, it was possible for |
| 797 | the Diversion header to not be included in the outgoing 181 response to the UAC and |
| 798 | the INVITE to the UAS.</p> |
| 799 | <p>This change moves the Diversion header processing to an earlier PJSIP callback while also |
| 800 | preventing the corresponding update that can cause a duplicate 181 response when processing |
| 801 | the header at that time.</p> |
| 802 | <p>Resolves: #1349</p> |
| 803 | <h4>file.c: with "sounds_search_custom_dir = yes", search "custom" directory</h4> |
| 804 | <p>Author: Allan Nathanson |
| 805 | Date: 2025-08-10</p> |
| 806 | <p>With <code>sounds_search_custom_dir = yes</code>, we are supposed to search for sounds |
| 807 | in the <code>AST_DATA_DIR/sounds/custom</code> directory before searching the normal |
| 808 | directories. Unfortunately, a recent change |
| 809 | (https://github.com/asterisk/asterisk/pull/1172) had a typo resulting in |
| 810 | the "custom" directory not being searched. This change restores this |
| 811 | expected behavior.</p> |
| 812 | <p>Resolves: #1353</p> |
| 813 | <h4>cel: Add STREAM_BEGIN, STREAM_END and DTMF event types.</h4> |
| 814 | <p>Author: Sperl Viktor |
| 815 | Date: 2025-06-30</p> |
| 816 | <p>Fixes: #1280</p> |
| 817 | <p>UserNote: Enabling the tracking of the |
| 818 | STREAM_BEGIN and the STREAM_END event |
| 819 | types in cel.conf will log media files and |
| 820 | music on hold played to each channel. |
| 821 | The STREAM_BEGIN event's extra field will |
| 822 | contain a JSON with the file details (path, |
| 823 | format and language), or the class name, in |
| 824 | case of music on hold is played. The DTMF |
| 825 | event's extra field will contain a JSON with |
| 826 | the digit and the duration in milliseconds.</p> |
| 827 | <h4>channelstorage_cpp_map_name_id.cc: Refactor iterators for thread-safety.</h4> |
| 828 | <p>Author: George Joseph |
| 829 | Date: 2025-07-30</p> |
| 830 | <p>The fact that deleting an object from a map invalidates any iterator |
| 831 | that happens to currently point to that object was overlooked in the initial |
| 832 | implementation. Unfortunately, there's no way to detect that an iterator |
| 833 | has been invalidated so the result was an occasional SEGV triggered by modules |
| 834 | like app_chanspy that opens an iterator and can keep it open for a long period |
| 835 | of time. The new implementation doesn't keep the underlying C++ iterator |
| 836 | open across calls to ast_channel_iterator_next() and uses a read lock |
| 837 | on the map to ensure that, even for the few microseconds we use the |
| 838 | iterator, another thread can't delete a channel from under it. Even with |
| 839 | this change, the iterators are still WAY faster than the ao2_legacy |
| 840 | storage driver.</p> |
| 841 | <p>Full details about the new implementation are located in the comments for |
| 842 | iterator_next() in channelstorage_cpp_map_name_id.cc.</p> |
| 843 | <p>Resolves: #1309</p> |
| 844 | <h4>res_srtp: Add menuselect options to enable AES_192, AES_256 and AES_GCM</h4> |
| 845 | <p>Author: George Joseph |
| 846 | Date: 2025-08-05</p> |
| 847 | <p>UserNote: Options are now available in the menuselect "Resource Modules" |
| 848 | category that allow you to enable the AES_192, AES_256 and AES_GCM |
| 849 | cipher suites in res_srtp. Of course, libsrtp and OpenSSL must support |
| 850 | them but modern versions do. Previously, the only way to enable them was |
| 851 | to set the CFLAGS environment variable when running ./configure. |
| 852 | The default setting is to disable them preserving existing behavior.</p> |
| 853 | <h4>cdr: add CANCEL dispostion in CDR</h4> |
| 854 | <p>Author: zhou_jiajian |
| 855 | Date: 2025-07-24</p> |
| 856 | <p>In the original implementation, both CANCEL and NO ANSWER states were |
| 857 | consolidated under the NO ANSWER disposition. This patch introduces a |
| 858 | separate CANCEL disposition, with an optional configuration switch to |
| 859 | enable this new disposition.</p> |
| 860 | <p>Resolves: #1323</p> |
| 861 | <p>UserNote: A new CDR option "canceldispositionenabled" has been added |
| 862 | that when set to true, the NO ANSWER disposition will be split into |
| 863 | two dispositions: CANCEL and NO ANSWER. The default value is 'no'</p> |
| 864 | <h4>func_curl: Allow auth methods to be set.</h4> |
| 865 | <p>Author: Naveen Albert |
| 866 | Date: 2025-08-01</p> |
| 867 | <p>Currently the CURL function only supports Basic Authentication, |
| 868 | the default auth method in libcurl. Add an option that also |
| 869 | allows enabling digest authentication.</p> |
| 870 | <p>Resolves: #1332</p> |
| 871 | <p>UserNote: The httpauth field in CURLOPT now allows the authentication |
| 872 | methods to be set.</p> |
| 873 | <h4>options: Change ast_options from ast_flags to ast_flags64.</h4> |
| 874 | <p>Author: George Joseph |
| 875 | Date: 2025-07-21</p> |
| 876 | <p>DeveloperNote: The 32-bit ast_options has no room left to accomodate new |
| 877 | options and so has been converted to an ast_flags64 structure. All internal |
| 878 | references to ast_options have been updated to use the 64-bit flag |
| 879 | manipulation macros. External module references to the 32-bit ast_options |
| 880 | should continue to work on little-endian systems because the |
| 881 | least-significant bytes of a 64 bit integer will be in the same location as a |
| 882 | 32-bit integer. Because that's not the case on big-endian systems, we've |
| 883 | swapped the bytes in the flags manupulation macros on big-endian systems |
| 884 | so external modules should still work however you are encouraged to test.</p> |
| 885 | <h4>res_config_odbc: Prevent Realtime fallback on record-not-found (SQL_NO_DATA)</h4> |
| 886 | <p>Author: Alexei Gradinari |
| 887 | Date: 2025-07-15</p> |
| 888 | <p>This patch fixes an issue in the ODBC Realtime engine where Asterisk incorrectly |
| 889 | falls back to the next configured backend when the current one returns |
| 890 | SQL_NO_DATA (i.e., no record found). |
| 891 | This is a logical error and performance risk in multi-backend configurations.</p> |
| 892 | <p>Solution: |
| 893 | Introduced CONFIG_RT_NOT_FOUND ((void *)-1) as a special return marker. |
| 894 | ODBC Realtime backend now return CONFIG_RT_NOT_FOUND when no data is found. |
| 895 | Core engine stops iterating on this marker, avoiding unnecessary fallback.</p> |
| 896 | <p>Notes: |
| 897 | Other Realtime backends (PostgreSQL, LDAP, etc.) can be updated similarly. |
| 898 | This patch only covers ODBC.</p> |
| 899 | <p>Fixes: #1305</p> |
| 900 | <h4>resource_channels.c: Don't call ast_channel_get_by_name on empty optional argu..</h4> |
| 901 | <p>Author: Sven Kube |
| 902 | Date: 2025-07-30</p> |
| 903 | <p><code>ast_ari_channels_create</code> and <code>ast_ari_channels_dial</code> called the |
| 904 | <code>ast_channel_get_by_name</code> function with optional arguments. Since |
| 905 | 8f1982c4d6, this function logs an error for empty channel names. |
| 906 | This commit adds checks for empty optional arguments that are used |
| 907 | to call <code>ast_channel_get_by_name</code> to prevent these error logs.</p> |
| 908 | <h4>app_agent_pool: Remove documentation for removed option.</h4> |
| 909 | <p>Author: Naveen Albert |
| 910 | Date: 2025-07-28</p> |
| 911 | <p>The already-deprecated "password" option for the AGENT function was |
| 912 | removed in commit d43b17a872e8227aa8a9905a21f90bd48f9d5348 for |
| 913 | Asterisk 12, but the documentation for it wasn't removed then.</p> |
| 914 | <p>Resolves: #1321</p> |
| 915 | <h4>pbx.c: When the AST_SOFTHANGUP_ASYNCGOTO flag is set, pbx_extension_helper sho..</h4> |
| 916 | <p>Author: Tinet-mucw |
| 917 | Date: 2025-07-22</p> |
| 918 | <p>Under certain circumstances the context/extens/prio are set in the ast_async_goto, for example action Redirect. |
| 919 | In the situation that action Redirect is broken by pbx_extension_helper this info is changed. |
| 920 | This will cause the current dialplan location to be executed twice. |
| 921 | In other words, the Redirect action does not take effect.</p> |
| 922 | <p>Resolves: #1315</p> |
| 923 | <h4>res_agi: Increase AGI command buffer size from 2K to 8K</h4> |
| 924 | <p>Author: Sperl Viktor |
| 925 | Date: 2025-07-22</p> |
| 926 | <p>Fixes: #1317</p> |
| 927 | <h4>ast_tls_cert: Make certificate validity configurable.</h4> |
| 928 | <p>Author: Naveen Albert |
| 929 | Date: 2025-07-16</p> |
| 930 | <p>Currently, the ast_tls_cert script is hardcoded to produce certificates |
| 931 | with a validity of 365 days, which is not generally desirable for self- |
| 932 | signed certificates. Make this parameter configurable.</p> |
| 933 | <p>Resolves: #1307</p> |
| 934 | <h4>cdr.c: Set tenantid from party_a->base instead of chan->base.</h4> |
| 935 | <p>Author: George Joseph |
| 936 | Date: 2025-07-17</p> |
| 937 | <p>The CDR tenantid was being set in cdr_object_alloc from the channel->base |
| 938 | snapshot. Since this happens at channel creation before the dialplan is even |
| 939 | reached, calls to <code>CHANNEL(tenantid)=<something></code> in the dialplan were being |
| 940 | ignored. Instead we now take tenantid from party_a when |
| 941 | cdr_object_create_public_records() is called which is after the call has |
| 942 | ended and all channel snapshots rebuilt. This is exactly how accountcode |
| 943 | and amaflags, which can also be set in tha dialplpan, are handled.</p> |
| 944 | <p>Resolves: #1259</p> |
| 945 | <h4>app_mixmonitor: Update the documentation concerning the "D" option.</h4> |
| 946 | <p>Author: George Joseph |
| 947 | Date: 2025-07-16</p> |
| 948 | <p>When using the "D" option to output interleaved audio, the file extension |
| 949 | must be ".raw". That info wasn't being properly rendered in the markdown |
| 950 | and HTML on the documentation site. The XML was updated to move the |
| 951 | note in the option section to a warning in the description.</p> |
| 952 | <p>Resolves: #1269</p> |
| 953 | <h4>sig_analog: Properly handle STP, ST2P, and ST3P for fgccamamf.</h4> |
| 954 | <p>Author: Naveen Albert |
| 955 | Date: 2025-07-14</p> |
| 956 | <p>Previously, we were only using # (ST) as a terminator, and not handling |
| 957 | A (STP), B (ST2P), or C (ST3P), which erroneously led to it being |
| 958 | treated as part of the dialed number. Parse any of these as the start |
| 959 | digit.</p> |
| 960 | <p>Resolves: #1301</p> |
| 961 | <h4>chan_websocket: Reset frame_queue_length to 0 after FLUSH_MEDIA</h4> |
| 962 | <p>Author: kodokaii |
| 963 | Date: 2025-07-03</p> |
| 964 | <p>In the WebSocket channel driver, the FLUSH_MEDIA command clears all frames from |
| 965 | the queue but does not reset the frame_queue_length counter.</p> |
| 966 | <p>As a result, the driver incorrectly thinks the queue is full after flushing, |
| 967 | which prevents new multimedia frames from being sent, especially after multiple |
| 968 | flush commands.</p> |
| 969 | <p>This fix sets frame_queue_length to 0 after flushing, ensuring the queue state |
| 970 | is consistent with its actual content.</p> |
| 971 | <p>Fixes: #1304</p> |
| 972 | <h4>chan_pjsip.c: Change SSRC after media source change</h4> |
| 973 | <p>Author: Martin Tomec |
| 974 | Date: 2025-06-25</p> |
| 975 | <p>When the RTP media source changes, such as after a blind transfer, the new source introduces a discontinuous timestamp. According to RFC 3550, Section 5.1, an RTP stream's timestamp for a given SSRC must increment monotonically and linearly. |
| 976 | To comply with the standard and avoid a large timestamp jump on the existing SSRC, a new SSRC is generated for the new media stream. |
| 977 | This change resolves known interoperability issues with certain SBCs (like Sonus/Ribbon) that stop forwarding media when they detect such a timestamp violation. This code uses the existing implementation from chan_sip.</p> |
| 978 | <p>Resolves: #927</p> |
| 979 | <h4>Media over Websocket Channel Driver</h4> |
| 980 | <p>Author: George Joseph |
| 981 | Date: 2025-04-28</p> |
| 982 | <ul> |
| 983 | <li> |
| 984 | <p>Created chan_websocket which can exchange media over both inbound and |
| 985 | outbound websockets which the driver will frame and time. |
| 986 | See http://s.asterisk.net/mow for more information.</p> |
| 987 | </li> |
| 988 | <li> |
| 989 | <p>res_http_websocket: Made defines for max message size public and converted |
| 990 | a few nuisance verbose messages to debugs.</p> |
| 991 | </li> |
| 992 | <li> |
| 993 | <p>main/channel.c: Changed an obsolete nuisance error to a debug.</p> |
| 994 | </li> |
| 995 | <li> |
| 996 | <p>ARI channels: Updated externalMedia to include chan_websocket as a supported |
| 997 | transport.</p> |
| 998 | </li> |
| 999 | </ul> |
| 1000 | <p>UserNote: A new channel driver "chan_websocket" is now available. It can |
| 1001 | exchange media over both inbound and outbound websockets and will both frame |
| 1002 | and re-time the media it receives. |
| 1003 | See http://s.asterisk.net/mow for more information.</p> |
| 1004 | <p>UserNote: The ARI channels/externalMedia API now includes support for the |
| 1005 | WebSocket transport provided by chan_websocket.</p> |
| 1006 | <h4>bundled_pjproject: Avoid deadlock between transport and transaction</h4> |
| 1007 | <p>Author: Stanislav Abramenkov |
| 1008 | Date: 2025-07-01</p> |
| 1009 | <p>Backport patch from upstream |
| 1010 | * Avoid deadlock between transport and transaction |
| 1011 | https://github.com/pjsip/pjproject/commit/edde06f261ac</p> |
| 1012 | <p>Issue described in |
| 1013 | https://github.com/pjsip/pjproject/issues/4442</p> |
| 1014 | <h4>utils.h: Add rounding to float conversion to int.</h4> |
| 1015 | <p>Author: mkmer |
| 1016 | Date: 2025-03-23</p> |
| 1017 | <p>Quote from an audio engineer NR9V: |
| 1018 | There is a minor issue of a small amount of crossover distortion though as a result of <code>ast_slinear_saturated_multiply_float()</code> not rounding the float. This could result in some quiet but potentially audible distortion artifacts in lower volume parts of the signal. If you have for example a sign wave function with a max amplitude of just a few samples, all samples between -1 and 1 will be truncated to zero, resulting in the waveform no longer being a sine wave and in harmonic distortion.</p> |
| 1019 | <p>Resolves: #1176</p> |
| 1020 | <h4>pbx.c: when set flag AST_SOFTHANGUP_ASYNCGOTO, ast_explicit_goto should return..</h4> |
| 1021 | <p>Author: Tinet-mucw |
| 1022 | Date: 2025-06-18</p> |
| 1023 | <p>Under certain circumstances the context/extens/prio are set in the ast_async_goto, for example action Redirect. |
| 1024 | In the situation that action Redirect is broken by GotoIf this info is changed. |
| 1025 | that will causes confusion in dialplan execution.</p> |
| 1026 | <p>Resolves: #1273</p> |
| 1027 | <h4>res_musiconhold.c: Ensure we're always locked around music state access.</h4> |
| 1028 | <p>Author: Sean Bright |
| 1029 | Date: 2025-04-08</p> |
| 1030 | <h4>res_musiconhold.c: Annotate when the channel is locked.</h4> |
| 1031 | <p>Author: Sean Bright |
| 1032 | Date: 2025-04-08</p> |
| 1033 | <h4>res_musiconhold: Appropriately lock channel during start.</h4> |
| 1034 | <p>Author: Jaco Kroon |
| 1035 | Date: 2024-12-19</p> |
| 1036 | <p>This relates to #829</p> |
| 1037 | <p>This doesn't sully solve the Ops issue, but it solves the specific crash |
| 1038 | there. Further PRs to follow.</p> |
| 1039 | <p>In the specific crash the generator was still under construction when |
| 1040 | moh was being stopped, which then proceeded to close the stream whilst |
| 1041 | it was still in use.</p> |
| 1042 | <p>Signed-off-by: Jaco Kroon <a href="mailto:jaco@uls.co.za">jaco@uls.co.za</a></p> |
| 1043 | </body></html> |