| 1 | <html><head><title>ChangeLog for asterisk-22.4.0</title></head><body> |
| 2 | <h2>Change Log for Release asterisk-22.4.0</h2> |
| 3 | <h3>Links:</h3> |
| 4 | <ul> |
| 5 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.4.0.html">Full ChangeLog</a> </li> |
| 6 | <li><a href="https://github.com/asterisk/asterisk/compare/22.3.0...22.4.0">GitHub Diff</a> </li> |
| 7 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.4.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: 24</li> |
| 13 | <li>Commit Authors: 18</li> |
| 14 | <li>Issues Resolved: 12</li> |
| 15 | <li>Security Advisories Resolved: 0</li> |
| 16 | </ul> |
| 17 | <h3>User Notes:</h3> |
| 18 | <ul> |
| 19 | <li> |
| 20 | <h4>stasis/control.c: Set Hangup Cause to No Answer on Dial timeout</h4> |
| 21 | <p>A Dial timeout on POST /channels/{channelId}/dial will now result in a |
| 22 | CANCEL and ChannelDestroyed with cause 19 / User alerting, no answer. Previously |
| 23 | no explicit cause was set, resulting in a cause of 16 / Normal Call Clearing.</p> |
| 24 | </li> |
| 25 | <li> |
| 26 | <h4>contrib: Add systemd service and timer files for malloc trim.</h4> |
| 27 | <p>Service and timer files for systemd have been added to the |
| 28 | contrib/systemd/ directory. If you are experiencing memory issues, |
| 29 | install these files to have "malloc trim" periodically run on the |
| 30 | system.</p> |
| 31 | </li> |
| 32 | <li> |
| 33 | <h4>Add log-caller-id-name option to log Caller ID Name in queue log</h4> |
| 34 | <p>This patch adds a global configuration option, log-caller-id-name, to queues.conf |
| 35 | to control whether the Caller ID name is logged as parameter 4 when a call enters a queue. |
| 36 | When log-caller-id-name=yes, the Caller ID name is included in the queue log, |
| 37 | Any '|' characters in the caller ID name will be replaced with '_'. |
| 38 | (provided it’s allowed by the existing log_restricted_caller_id rules). |
| 39 | When log-caller-id-name=no (the default), the Caller ID name is omitted.</p> |
| 40 | </li> |
| 41 | <li> |
| 42 | <h4>asterisk.c: Add "pre-init" and "pre-module" capability to cli.conf.</h4> |
| 43 | <p>In cli.conf, you can now define startup commands that run before |
| 44 | core initialization and before module initialization.</p> |
| 45 | </li> |
| 46 | <li> |
| 47 | <h4>audiosocket: added support for DTMF frames</h4> |
| 48 | <p>The AudioSocket protocol now forwards DTMF frames with |
| 49 | payload type 0x03. The payload is a 1-byte ascii representing the DTMF |
| 50 | digit (0-9,*,#...).</p> |
| 51 | </li> |
| 52 | </ul> |
| 53 | <h3>Upgrade Notes:</h3> |
| 54 | <ul> |
| 55 | <li> |
| 56 | <h4>ARI: REST over Websocket</h4> |
| 57 | This commit adds the ability to make ARI REST requests over the same |
| 58 | websocket used to receive events. |
| 59 | See https://docs.asterisk.org/Configuration/Interfaces/Asterisk-REST-Interface-ARI/ARI-REST-over-WebSocket/</li> |
| 60 | </ul> |
| 61 | <h3>Commit Authors:</h3> |
| 62 | <ul> |
| 63 | <li>Albrecht Oster: (1)</li> |
| 64 | <li>Alexei Gradinari: (1)</li> |
| 65 | <li>Allan Nathanson: (1)</li> |
| 66 | <li>Andreas Wehrmann: (1)</li> |
| 67 | <li>Ben Ford: (1)</li> |
| 68 | <li>Florent CHAUVEAU: (1)</li> |
| 69 | <li>George Joseph: (4)</li> |
| 70 | <li>Joshua C. Colp: (1)</li> |
| 71 | <li>Luz Paz: (1)</li> |
| 72 | <li>Mark Murawski: (1)</li> |
| 73 | <li>Mike Bradeen: (1)</li> |
| 74 | <li>Mkmer: (1)</li> |
| 75 | <li>Naveen Albert: (3)</li> |
| 76 | <li>Norm Harrison: (2)</li> |
| 77 | <li>Peter Jannesen: (1)</li> |
| 78 | <li>Phoneben: (1)</li> |
| 79 | <li>Sean Bright: (1)</li> |
| 80 | <li>Zhai Liangliang: (1)</li> |
| 81 | </ul> |
| 82 | <h2>Issue and Commit Detail:</h2> |
| 83 | <h3>Closed Issues:</h3> |
| 84 | <ul> |
| 85 | <li>505: [bug]: res_pjproject: ast_sockaddr_cmp() always fails on sockaddrs created by ast_sockaddr_from_pj_sockaddr()</li> |
| 86 | <li>643: [new-feature]: pjsip show contact -- show all details same as AMI PJSIPShowContacts</li> |
| 87 | <li>963: [bug]: missing hangup cause for ARI ChannelDestroyed when Dial times out</li> |
| 88 | <li>1091: [improvement]: app queue :add to queue log callerid name</li> |
| 89 | <li>1144: [bug]: action_redirect don't remove bridge_after_goto data</li> |
| 90 | <li>1171: [improvement]: Need the capability in audiohook.c for fractional (float) type volume adjustments.</li> |
| 91 | <li>1181: [bug]: Incorrect PJSIP Endpoint Device States on Multiple Channels</li> |
| 92 | <li>1190: [bug]: Crash when starting ConfBridge recording over CLI and AMI</li> |
| 93 | <li>1197: [bug]: ChannelHangupRequest does not show cause code in all cases</li> |
| 94 | <li>1206: [improvement]: chan_iax2: Minor improvements to documentation and warning messages.</li> |
| 95 | <li>1220: [bug]: res_pjsip_caller_id: OLI is not parsed if contained in a URI parameter</li> |
| 96 | <li>1224: [improvement]: app_meetme: Removal version is incorrect</li> |
| 97 | </ul> |
| 98 | <h3>Commits By Author:</h3> |
| 99 | <ul> |
| 100 | <li> |
| 101 | <h4>Albrecht Oster (1):</h4> |
| 102 | </li> |
| 103 | <li> |
| 104 | <p>res_pjproject: Fix DTLS client check failing on some platforms</p> |
| 105 | </li> |
| 106 | <li> |
| 107 | <h4>Alexei Gradinari (1):</h4> |
| 108 | </li> |
| 109 | <li> |
| 110 | <p>chan_pjsip: set correct Endpoint Device State on multiple channels</p> |
| 111 | </li> |
| 112 | <li> |
| 113 | <h4>Allan Nathanson (1):</h4> |
| 114 | </li> |
| 115 | <li> |
| 116 | <p>file.c: missing "custom" sound files should not generate warning logs</p> |
| 117 | </li> |
| 118 | <li> |
| 119 | <h4>Andreas Wehrmann (1):</h4> |
| 120 | </li> |
| 121 | <li> |
| 122 | <p>pbx_ael: unregister AELSub application and CLI commands on module load failure</p> |
| 123 | </li> |
| 124 | <li> |
| 125 | <h4>Ben Ford (1):</h4> |
| 126 | </li> |
| 127 | <li> |
| 128 | <p>contrib: Add systemd service and timer files for malloc trim.</p> |
| 129 | </li> |
| 130 | <li> |
| 131 | <h4>Florent CHAUVEAU (1):</h4> |
| 132 | </li> |
| 133 | <li> |
| 134 | <p>audiosocket: added support for DTMF frames</p> |
| 135 | </li> |
| 136 | <li> |
| 137 | <h4>George Joseph (4):</h4> |
| 138 | </li> |
| 139 | <li>ARI: REST over Websocket</li> |
| 140 | <li>ari_websockets: Fix frack if ARI config fails to load.</li> |
| 141 | <li>asterisk.c: Add "pre-init" and "pre-module" capability to cli.conf.</li> |
| 142 | <li> |
| 143 | <p>Prequisites for ARI Outbound Websockets</p> |
| 144 | </li> |
| 145 | <li> |
| 146 | <h4>Joshua C. Colp (1):</h4> |
| 147 | </li> |
| 148 | <li> |
| 149 | <p>channel: Always provide cause code in ChannelHangupRequest.</p> |
| 150 | </li> |
| 151 | <li> |
| 152 | <h4>Luz Paz (1):</h4> |
| 153 | </li> |
| 154 | <li> |
| 155 | <p>docs: Fix typos in apps/</p> |
| 156 | </li> |
| 157 | <li> |
| 158 | <h4>Mark Murawski (1):</h4> |
| 159 | </li> |
| 160 | <li> |
| 161 | <p>chan_pjsip: Add the same details as PJSIPShowContacts to the CLI via 'pjsip s..</p> |
| 162 | </li> |
| 163 | <li> |
| 164 | <h4>Mike Bradeen (1):</h4> |
| 165 | </li> |
| 166 | <li> |
| 167 | <p>stasis/control.c: Set Hangup Cause to No Answer on Dial timeout</p> |
| 168 | </li> |
| 169 | <li> |
| 170 | <h4>Naveen Albert (3):</h4> |
| 171 | </li> |
| 172 | <li>chan_iax2: Minor improvements to documentation and warning messages.</li> |
| 173 | <li>app_meetme: Remove inaccurate removal version from xmldocs.</li> |
| 174 | <li> |
| 175 | <p>res_pjsip_caller_id: Also parse URI parameters for ANI2.</p> |
| 176 | </li> |
| 177 | <li> |
| 178 | <h4>Norm Harrison (2):</h4> |
| 179 | </li> |
| 180 | <li>audiosocket: fix timeout, fix dialplan app exit, server address in logs</li> |
| 181 | <li> |
| 182 | <p>asterisk/channel.h: fix documentation for 'ast_waitfor_nandfds()'</p> |
| 183 | </li> |
| 184 | <li> |
| 185 | <h4>Peter Jannesen (1):</h4> |
| 186 | </li> |
| 187 | <li> |
| 188 | <p>action_redirect: remove after_bridge_goto_info</p> |
| 189 | </li> |
| 190 | <li> |
| 191 | <h4>Sean Bright (1):</h4> |
| 192 | </li> |
| 193 | <li> |
| 194 | <p>app_confbridge: Prevent crash when publishing channel-less event.</p> |
| 195 | </li> |
| 196 | <li> |
| 197 | <h4>Zhai Liangliang (1):</h4> |
| 198 | </li> |
| 199 | <li> |
| 200 | <p>Update config.guess and config.sub</p> |
| 201 | </li> |
| 202 | <li> |
| 203 | <h4>mkmer (1):</h4> |
| 204 | </li> |
| 205 | <li> |
| 206 | <p>audiohook.c: Add ability to adjust volume with float</p> |
| 207 | </li> |
| 208 | <li> |
| 209 | <h4>phoneben (1):</h4> |
| 210 | </li> |
| 211 | <li>Add log-caller-id-name option to log Caller ID Name in queue log</li> |
| 212 | </ul> |
| 213 | <h3>Commit List:</h3> |
| 214 | <ul> |
| 215 | <li>res_pjsip_caller_id: Also parse URI parameters for ANI2.</li> |
| 216 | <li>app_meetme: Remove inaccurate removal version from xmldocs.</li> |
| 217 | <li>docs: Fix typos in apps/</li> |
| 218 | <li>stasis/control.c: Set Hangup Cause to No Answer on Dial timeout</li> |
| 219 | <li>chan_iax2: Minor improvements to documentation and warning messages.</li> |
| 220 | <li>pbx_ael: unregister AELSub application and CLI commands on module load failure</li> |
| 221 | <li>res_pjproject: Fix DTLS client check failing on some platforms</li> |
| 222 | <li>Prequisites for ARI Outbound Websockets</li> |
| 223 | <li>contrib: Add systemd service and timer files for malloc trim.</li> |
| 224 | <li>action_redirect: remove after_bridge_goto_info</li> |
| 225 | <li>channel: Always provide cause code in ChannelHangupRequest.</li> |
| 226 | <li>Add log-caller-id-name option to log Caller ID Name in queue log</li> |
| 227 | <li>asterisk.c: Add "pre-init" and "pre-module" capability to cli.conf.</li> |
| 228 | <li>app_confbridge: Prevent crash when publishing channel-less event.</li> |
| 229 | <li>ari_websockets: Fix frack if ARI config fails to load.</li> |
| 230 | <li>ARI: REST over Websocket</li> |
| 231 | <li>audiohook.c: Add ability to adjust volume with float</li> |
| 232 | <li>audiosocket: added support for DTMF frames</li> |
| 233 | <li>asterisk/channel.h: fix documentation for 'ast_waitfor_nandfds()'</li> |
| 234 | <li>audiosocket: fix timeout, fix dialplan app exit, server address in logs</li> |
| 235 | <li>Update config.guess and config.sub</li> |
| 236 | <li>chan_pjsip: set correct Endpoint Device State on multiple channels</li> |
| 237 | <li>file.c: missing "custom" sound files should not generate warning logs</li> |
| 238 | </ul> |
| 239 | <h3>Commit Details:</h3> |
| 240 | <h4>res_pjsip_caller_id: Also parse URI parameters for ANI2.</h4> |
| 241 | <p>Author: Naveen Albert |
| 242 | Date: 2025-04-26</p> |
| 243 | <p>If the isup-oli was sent as a URI parameter, rather than a header |
| 244 | parameter, it was not being parsed. Make sure we parse both if |
| 245 | needed so the ANI2 is set regardless of which type of parameter |
| 246 | the isup-oli is sent as.</p> |
| 247 | <p>Resolves: #1220</p> |
| 248 | <h4>app_meetme: Remove inaccurate removal version from xmldocs.</h4> |
| 249 | <p>Author: Naveen Albert |
| 250 | Date: 2025-04-26</p> |
| 251 | <p>app_meetme is deprecated but wasn't removed as planned in 21, |
| 252 | so remove the inaccurate removal version.</p> |
| 253 | <p>Resolves: #1224</p> |
| 254 | <h4>docs: Fix typos in apps/</h4> |
| 255 | <p>Author: Luz Paz |
| 256 | Date: 2025-04-09</p> |
| 257 | <p>Found via codespell</p> |
| 258 | <h4>stasis/control.c: Set Hangup Cause to No Answer on Dial timeout</h4> |
| 259 | <p>Author: Mike Bradeen |
| 260 | Date: 2025-04-17</p> |
| 261 | <p>Other Dial operations (dial, app_dial) use Q.850 cause 19 when a dial timeout occurs, |
| 262 | but the Dial command via ARI did not set an explicit reason. This resulted in a |
| 263 | CANCEL with Normal Call Clearing and corresponding ChannelDestroyed.</p> |
| 264 | <p>This change sets the hangup cause to AST_CAUSE_NO_ANSWER to be consistent with the |
| 265 | other operations.</p> |
| 266 | <p>Fixes: #963</p> |
| 267 | <p>UserNote: A Dial timeout on POST /channels/{channelId}/dial will now result in a |
| 268 | CANCEL and ChannelDestroyed with cause 19 / User alerting, no answer. Previously |
| 269 | no explicit cause was set, resulting in a cause of 16 / Normal Call Clearing.</p> |
| 270 | <h4>chan_iax2: Minor improvements to documentation and warning messages.</h4> |
| 271 | <p>Author: Naveen Albert |
| 272 | Date: 2025-04-18</p> |
| 273 | <ul> |
| 274 | <li>Update Dial() documentation for IAX2 to include syntax for RSA |
| 275 | public key names.</li> |
| 276 | <li>Add additional details to a couple warnings to provide more context |
| 277 | when an undecodable frame is received.</li> |
| 278 | </ul> |
| 279 | <p>Resolves: #1206</p> |
| 280 | <h4>pbx_ael: unregister AELSub application and CLI commands on module load failure</h4> |
| 281 | <p>Author: Andreas Wehrmann |
| 282 | Date: 2025-04-18</p> |
| 283 | <p>This fixes crashes/hangs I noticed with Asterisk 20.3.0 and 20.13.0 and quickly found out, |
| 284 | that the AEL module doesn't do proper cleanup when it fails to load. |
| 285 | This happens for example when there are syntax errors and AEL fails to compile in which case pbx_load_module() |
| 286 | returns an error but load_module() doesn't then unregister CLI cmds and the application.</p> |
| 287 | <h4>res_pjproject: Fix DTLS client check failing on some platforms</h4> |
| 288 | <p>Author: Albrecht Oster |
| 289 | Date: 2025-04-10</p> |
| 290 | <p>Certain platforms (mainly BSD derivatives) have an additional length |
| 291 | field in <code>sockaddr_in6</code> and <code>sockaddr_in</code>. |
| 292 | <code>ast_sockaddr_from_pj_sockaddr()</code> does not take this field into account |
| 293 | when copying over values from the <code>pj_sockaddr</code> into the <code>ast_sockaddr</code>. |
| 294 | The resulting <code>ast_sockaddr</code> will have an uninitialized value for |
| 295 | <code>sin6_len</code>/<code>sin_len</code> while the other <code>ast_sockaddr</code> (not converted from |
| 296 | a <code>pj_sockaddr</code>) to check against in <code>ast_sockaddr_pj_sockaddr_cmp()</code> |
| 297 | has the correct length value set.</p> |
| 298 | <p>This has the effect that <code>ast_sockaddr_cmp()</code> will always indicate |
| 299 | an address mismatch, because it does a bitwise comparison, and all DTLS |
| 300 | packets are dropped even if addresses and ports match.</p> |
| 301 | <p><code>ast_sockaddr_from_pj_sockaddr()</code> now checks whether the length fields |
| 302 | are available on the current platform and sets the values accordingly.</p> |
| 303 | <p>Resolves: #505</p> |
| 304 | <h4>Prequisites for ARI Outbound Websockets</h4> |
| 305 | <p>Author: George Joseph |
| 306 | Date: 2025-04-16</p> |
| 307 | <p>stasis: |
| 308 | * Added stasis_app_is_registered(). |
| 309 | * Added stasis_app_control_mark_failed(). |
| 310 | * Added stasis_app_control_is_failed(). |
| 311 | * Fixed res_stasis_device_state so unsubscribe all works properly. |
| 312 | * Modified stasis_app_unregister() to unsubscribe from all event sources. |
| 313 | * Modified stasis_app_exec to return -1 if stasis_app_control_is_failed() |
| 314 | returns true.</p> |
| 315 | <p>http: |
| 316 | * Added ast_http_create_basic_auth_header().</p> |
| 317 | <p>md5: |
| 318 | * Added define for MD5_DIGEST_LENGTH.</p> |
| 319 | <p>tcptls: |
| 320 | * Added flag to ast_tcptls_session_args to suppress connection log messages |
| 321 | to give callers more control over logging.</p> |
| 322 | <p>http_websocket: |
| 323 | * Add flag to ast_websocket_client_options to suppress connection log messages |
| 324 | to give callers more control over logging. |
| 325 | * Added username and password to ast_websocket_client_options to support |
| 326 | outbound basic authentication. |
| 327 | * Added ast_websocket_result_to_str().</p> |
| 328 | <h4>contrib: Add systemd service and timer files for malloc trim.</h4> |
| 329 | <p>Author: Ben Ford |
| 330 | Date: 2025-04-16</p> |
| 331 | <p>Adds two files to the contrib/systemd/ directory that can be installed |
| 332 | to periodically run "malloc trim" on Asterisk. These files do nothing |
| 333 | unless they are explicitly moved to the correct location on the system. |
| 334 | Users who are experiencing Asterisk memory issues can use this service |
| 335 | to potentially help combat the problem. These files can also be |
| 336 | configured to change the start time and interval. See systemd.timer(5) |
| 337 | and systemd.time(7) for more information.</p> |
| 338 | <p>UserNote: Service and timer files for systemd have been added to the |
| 339 | contrib/systemd/ directory. If you are experiencing memory issues, |
| 340 | install these files to have "malloc trim" periodically run on the |
| 341 | system.</p> |
| 342 | <h4>action_redirect: remove after_bridge_goto_info</h4> |
| 343 | <p>Author: Peter Jannesen |
| 344 | Date: 2025-03-13</p> |
| 345 | <p>Under certain circumstances the context/extens/prio are stored in the |
| 346 | after_bridge_goto_info. This info is used when the bridge is broken by |
| 347 | for hangup of the other party. In the situation that the bridge is |
| 348 | broken by an AMI Redirect this info is not used but also not removed. |
| 349 | With the result that when the channel is put back in a bridge and the |
| 350 | bridge is broken the execution continues at the wrong |
| 351 | context/extens/prio.</p> |
| 352 | <p>Resolves: #1144</p> |
| 353 | <h4>channel: Always provide cause code in ChannelHangupRequest.</h4> |
| 354 | <p>Author: Joshua C. Colp |
| 355 | Date: 2025-04-16</p> |
| 356 | <p>When queueing a channel to be hung up a cause code can be |
| 357 | specified in one of two ways:</p> |
| 358 | <ol> |
| 359 | <li> |
| 360 | <p>ast_queue_hangup_with_cause |
| 361 | This function takes in a cause code and queues it as part |
| 362 | of the hangup request, which ultimately results in it being |
| 363 | set on the channel.</p> |
| 364 | </li> |
| 365 | <li> |
| 366 | <p>ast_channel_hangupcause_set + ast_queue_hangup |
| 367 | This combination sets the hangup cause on the channel before |
| 368 | queueing the hangup instead of as part of that process.</p> |
| 369 | </li> |
| 370 | </ol> |
| 371 | <p>In the #2 case the ChannelHangupRequest event would not contain |
| 372 | the cause code. For consistency if a cause code has been set |
| 373 | on the channel it will now be added to the event.</p> |
| 374 | <p>Resolves: #1197</p> |
| 375 | <h4>Add log-caller-id-name option to log Caller ID Name in queue log</h4> |
| 376 | <p>Author: phoneben |
| 377 | Date: 2025-02-28</p> |
| 378 | <p>Add log-caller-id-name option to log Caller ID Name in queue log</p> |
| 379 | <p>This patch introduces a new global configuration option, log-caller-id-name, |
| 380 | to queues.conf to control whether the Caller ID name is logged when a call enters a queue.</p> |
| 381 | <p>When log-caller-id-name=yes, the Caller ID name is logged |
| 382 | as parameter 4 in the queue log, provided it’s allowed by the |
| 383 | existing log_restricted_caller_id rules. If log-caller-id-name=no (the default), |
| 384 | the Caller ID name is omitted from the logs.</p> |
| 385 | <p>Fixes: #1091</p> |
| 386 | <p>UserNote: This patch adds a global configuration option, log-caller-id-name, to queues.conf |
| 387 | to control whether the Caller ID name is logged as parameter 4 when a call enters a queue. |
| 388 | When log-caller-id-name=yes, the Caller ID name is included in the queue log, |
| 389 | Any '|' characters in the caller ID name will be replaced with '_'. |
| 390 | (provided it’s allowed by the existing log_restricted_caller_id rules). |
| 391 | When log-caller-id-name=no (the default), the Caller ID name is omitted.</p> |
| 392 | <h4>asterisk.c: Add "pre-init" and "pre-module" capability to cli.conf.</h4> |
| 393 | <p>Author: George Joseph |
| 394 | Date: 2025-04-10</p> |
| 395 | <p>Commands in the "[startup_commands]" section of cli.conf have historically run |
| 396 | after all core and module initialization has been completed and just before |
| 397 | "Asterisk Ready" is printed on the console. This meant that if you |
| 398 | wanted to debug initialization of a specific module, your only option |
| 399 | was to turn on debug for everything by setting "debug" in asterisk.conf.</p> |
| 400 | <p>This commit introduces options to allow you to run CLI commands earlier in |
| 401 | the asterisk startup process.</p> |
| 402 | <p>A command with a value of "pre-init" will run just after logger initialization |
| 403 | but before most core, and all module, initialization.</p> |
| 404 | <p>A command with a value of "pre-module" will run just after all core |
| 405 | initialization but before all module initialization.</p> |
| 406 | <p>A command with a value of "fully-booted" (or "yes" for backwards |
| 407 | compatibility) will run as they always have been...after all |
| 408 | initialization and just before "Asterisk Ready" is printed on the console.</p> |
| 409 | <p>This means you could do this...</p> |
| 410 | <p><code>[startup_commands] |
| 411 | core set debug 3 res_pjsip.so = pre-module |
| 412 | core set debug 0 res_pjsip.so = fully-booted</code></p> |
| 413 | <p>This would turn debugging on for res_pjsip.so to catch any module |
| 414 | initialization debug messages then turn it off again after the module is |
| 415 | loaded.</p> |
| 416 | <p>UserNote: In cli.conf, you can now define startup commands that run before |
| 417 | core initialization and before module initialization.</p> |
| 418 | <h4>app_confbridge: Prevent crash when publishing channel-less event.</h4> |
| 419 | <p>Author: Sean Bright |
| 420 | Date: 2025-04-07</p> |
| 421 | <p>Resolves: #1190</p> |
| 422 | <h4>ari_websockets: Fix frack if ARI config fails to load.</h4> |
| 423 | <p>Author: George Joseph |
| 424 | Date: 2025-04-02</p> |
| 425 | <p>ari_ws_session_registry_dtor() wasn't checking that the container was valid |
| 426 | before running ao2_callback on it to shutdown registered sessions.</p> |
| 427 | <h4>ARI: REST over Websocket</h4> |
| 428 | <p>Author: George Joseph |
| 429 | Date: 2025-03-12</p> |
| 430 | <p>This commit adds the ability to make ARI REST requests over the same |
| 431 | websocket used to receive events.</p> |
| 432 | <p>For full details on how to use the new capability, visit...</p> |
| 433 | <p>https://docs.asterisk.org/Configuration/Interfaces/Asterisk-REST-Interface-ARI/ARI-REST-over-WebSocket/</p> |
| 434 | <p>Changes:</p> |
| 435 | <ul> |
| 436 | <li>Added utilities to http.c:<ul> |
| 437 | <li>ast_get_http_method_from_string().</li> |
| 438 | <li>ast_http_parse_post_form().</li> |
| 439 | </ul> |
| 440 | </li> |
| 441 | <li>Added utilities to json.c:<ul> |
| 442 | <li>ast_json_nvp_array_to_ast_variables().</li> |
| 443 | <li>ast_variables_to_json_nvp_array().</li> |
| 444 | </ul> |
| 445 | </li> |
| 446 | <li>Added definitions for new events to carry REST responses.</li> |
| 447 | <li>Created res/ari/ari_websocket_requests.c to house the new request handlers.</li> |
| 448 | <li>Moved non-event specific code out of res/ari/resource_events.c into |
| 449 | res/ari/ari_websockets.c</li> |
| 450 | <li>Refactored res/res_ari.c to move non-http code out of ast_ari_callback() |
| 451 | (which is http specific) and into ast_ari_invoke() so it can be shared |
| 452 | between both the http and websocket transports.</li> |
| 453 | </ul> |
| 454 | <p>UpgradeNote: This commit adds the ability to make ARI REST requests over the same |
| 455 | websocket used to receive events. |
| 456 | See https://docs.asterisk.org/Configuration/Interfaces/Asterisk-REST-Interface-ARI/ARI-REST-over-WebSocket/</p> |
| 457 | <h4>audiohook.c: Add ability to adjust volume with float</h4> |
| 458 | <p>Author: mkmer |
| 459 | Date: 2025-03-18</p> |
| 460 | <p>Add the capability to audiohook for float type volume adjustments. This allows for adjustments to volume smaller than 6dB. With INT adjustments, the first step is 2 which converts to ~6dB (or 1/2 volume / double volume depending on adjustment sign). 3dB is a typical adjustment level which can now be accommodated with an adjustment value of 1.41.</p> |
| 461 | <p>This is accomplished by the following: |
| 462 | Convert internal variables to type float. |
| 463 | Always use ast_frame_adjust_volume_float() for adjustments. |
| 464 | Cast int to float in original functions ast_audiohook_volume_set(), and ast_volume_adjust(). |
| 465 | Cast float to int in ast_audiohook_volume_get() |
| 466 | Add functions ast_audiohook_volume_get_float, ast_audiohook_volume_set_float, and ast_audiohook_volume_adjust_float.</p> |
| 467 | <p>This update maintains 100% backward compatibility.</p> |
| 468 | <p>Resolves: #1171</p> |
| 469 | <h4>audiosocket: added support for DTMF frames</h4> |
| 470 | <p>Author: Florent CHAUVEAU |
| 471 | Date: 2025-02-28</p> |
| 472 | <p>Updated the AudioSocket protocol to allow sending DTMF frames. |
| 473 | AST_FRAME_DTMF frames are now forwarded to the server, in addition to |
| 474 | AST_FRAME_AUDIO frames. A new payload type AST_AUDIOSOCKET_KIND_DTMF |
| 475 | with value 0x03 was added to the protocol. The payload is a 1-byte |
| 476 | ascii representing the DTMF digit (0-9,*,#...).</p> |
| 477 | <p>UserNote: The AudioSocket protocol now forwards DTMF frames with |
| 478 | payload type 0x03. The payload is a 1-byte ascii representing the DTMF |
| 479 | digit (0-9,*,#...).</p> |
| 480 | <h4>asterisk/channel.h: fix documentation for 'ast_waitfor_nandfds()'</h4> |
| 481 | <p>Author: Norm Harrison |
| 482 | Date: 2023-04-03</p> |
| 483 | <p>Co-authored-by: Florent CHAUVEAU <a href="mailto:florentch@pm.me">florentch@pm.me</a></p> |
| 484 | <h4>audiosocket: fix timeout, fix dialplan app exit, server address in logs</h4> |
| 485 | <p>Author: Norm Harrison |
| 486 | Date: 2023-04-03</p> |
| 487 | <ul> |
| 488 | <li>Correct wait timeout logic in the dialplan application.</li> |
| 489 | <li>Include server address in log messages for better traceability.</li> |
| 490 | <li>Allow dialplan app to exit gracefully on hangup messages and socket closure.</li> |
| 491 | <li>Optimize I/O by reducing redundant read()/write() operations.</li> |
| 492 | </ul> |
| 493 | <p>Co-authored-by: Florent CHAUVEAU <a href="mailto:florentch@pm.me">florentch@pm.me</a></p> |
| 494 | <h4>chan_pjsip: Add the same details as PJSIPShowContacts to the CLI via 'pjsip s..</h4> |
| 495 | <p>Author: Mark Murawski |
| 496 | Date: 2025-03-23</p> |
| 497 | <p>CLI 'pjsip show contact' does not show enough information. |
| 498 | One must telnet to AMI or write a script to ask Asterisk for example what the User-Agent is on a Contact |
| 499 | This feature adds the same details as PJSIPShowContacts to the CLI</p> |
| 500 | <p>Resolves: #643</p> |
| 501 | <h4>Update config.guess and config.sub</h4> |
| 502 | <p>Author: Zhai Liangliang |
| 503 | Date: 2025-03-26</p> |
| 504 | <h4>chan_pjsip: set correct Endpoint Device State on multiple channels</h4> |
| 505 | <p>Author: Alexei Gradinari |
| 506 | Date: 2025-03-25</p> |
| 507 | <ol> |
| 508 | <li> |
| 509 | <p>When one channel is placed on hold, the device state is set to ONHOLD |
| 510 | without checking other channels states. |
| 511 | In case of AST_CONTROL_HOLD set the device state as AST_DEVICE_UNKNOWN |
| 512 | to calculate aggregate device state of all active channels.</p> |
| 513 | </li> |
| 514 | <li> |
| 515 | <p>The current implementation incorrectly classifies channels in use. |
| 516 | The only channels that has the states: UP, RING and BUSY are considered as "in use". |
| 517 | A channel should be considered "in use" if its state is anything other than |
| 518 | DOWN or RESERVED.</p> |
| 519 | </li> |
| 520 | <li> |
| 521 | <p>Currently, if the number of channels "in use" is greater than device_state_busy_at, |
| 522 | the system does not set the state to BUSY. Instead, it incorrectly assigns an aggregate |
| 523 | device state. |
| 524 | The endpoint device state should be BUSY if the number of channels "in use" is greater |
| 525 | than or equal to device_state_busy_at.</p> |
| 526 | </li> |
| 527 | </ol> |
| 528 | <p>Fixes: #1181</p> |
| 529 | <h4>file.c: missing "custom" sound files should not generate warning logs</h4> |
| 530 | <p>Author: Allan Nathanson |
| 531 | Date: 2025-03-18</p> |
| 532 | <p>With <code>sounds_search_custom_dir = yes</code> we first look to see if a sound file |
| 533 | is present in the "custom" sound directory before looking in the standard |
| 534 | sound directories. We should not be issuing a WARNING log message if a |
| 535 | sound cannot be found in the "custom" directory.</p> |
| 536 | <p>Resolves: https://github.com/asterisk/asterisk/issues/1170</p> |
| 537 | </body></html> |