| 1 | <html><head><title>ChangeLog for asterisk-22.3.0</title></head><body> |
| 2 | <h2>Change Log for Release asterisk-22.3.0</h2> |
| 3 | <h3>Links:</h3> |
| 4 | <ul> |
| 5 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.3.0.html">Full ChangeLog</a> </li> |
| 6 | <li><a href="https://github.com/asterisk/asterisk/compare/22.2.0...22.3.0">GitHub Diff</a> </li> |
| 7 | <li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.3.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: 28</li> |
| 13 | <li>Commit Authors: 12</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>ari/pjsip: Make it possible to control transfers through ARI</h4> |
| 21 | Call transfers on the PJSIP channel can now be controlled by |
| 22 | ARI. This can be enabled by using the PJSIP_TRANSFER_HANDLING(ari-only) |
| 23 | dialplan function.</li> |
| 24 | </ul> |
| 25 | <h3>Upgrade Notes:</h3> |
| 26 | <h3>Commit Authors:</h3> |
| 27 | <ul> |
| 28 | <li>Allan Nathanson: (1)</li> |
| 29 | <li>Ben Ford: (1)</li> |
| 30 | <li>Fabriziopicconi: (1)</li> |
| 31 | <li>George Joseph: (10)</li> |
| 32 | <li>Holger Hans Peter Freyther: (1)</li> |
| 33 | <li>Jeremy Lainé: (1)</li> |
| 34 | <li>Joshua Elson: (1)</li> |
| 35 | <li>Luz Paz: (3)</li> |
| 36 | <li>Maximilian Fridrich: (1)</li> |
| 37 | <li>Mike Bradeen: (1)</li> |
| 38 | <li>Naveen Albert: (1)</li> |
| 39 | <li>Sean Bright: (6)</li> |
| 40 | </ul> |
| 41 | <h2>Issue and Commit Detail:</h2> |
| 42 | <h3>Closed Issues:</h3> |
| 43 | <ul> |
| 44 | <li>211: [bug]: stasis: Off-nominal channel leave causes bridge to be destroyed</li> |
| 45 | <li>1085: [bug]: utils: Compilation failure with DEVMODE due to old-style definitions</li> |
| 46 | <li>1101: [bug]: when setting a var with a double quotes and using Set(HASH)</li> |
| 47 | <li>1109: [bug]: Off nominal memory leak in res/ari/resource_channels.c</li> |
| 48 | <li>1112: [bug]: STIR/SHAKEN verification doesn't allow anonymous callerid to be passed to the dialplan.</li> |
| 49 | <li>1119: [bug]: Realtime database not working after upgrade from 22.0.0 to 22.2.0</li> |
| 50 | <li>1122: Need status on CVE-2024-57520 claim.</li> |
| 51 | <li>1124: [bug]: Race condition between bridge and channel delete can over-write cause code set in hangup.</li> |
| 52 | <li>1131: [bug]: CHANGES link broken in README.md</li> |
| 53 | <li>1135: [bug]: Problems with video decoding due to RTP marker bit set</li> |
| 54 | <li>1149: [bug]: res_pjsip: Mismatch in tcp_keepalive_enable causes not to enable</li> |
| 55 | <li>1164: [bug]: WARNING Message in messages.log for res_curl.conf [globals]</li> |
| 56 | </ul> |
| 57 | <h3>Commits By Author:</h3> |
| 58 | <ul> |
| 59 | <li> |
| 60 | <h4>Allan Nathanson (1):</h4> |
| 61 | </li> |
| 62 | <li> |
| 63 | <p>config.c: #include of non-existent file should not crash</p> |
| 64 | </li> |
| 65 | <li> |
| 66 | <h4>Ben Ford (1):</h4> |
| 67 | </li> |
| 68 | <li> |
| 69 | <p>documentation: Update Gosub, Goto, and add new documentationtype.</p> |
| 70 | </li> |
| 71 | <li> |
| 72 | <h4>George Joseph (10):</h4> |
| 73 | </li> |
| 74 | <li>docs: Add version information to ARI resources and methods.</li> |
| 75 | <li>docs: Add version information to AGI command XML elements.</li> |
| 76 | <li>func_strings.c: Prevent SEGV in HASH single-argument mode.</li> |
| 77 | <li>resource_channels.c: Fix memory leak in ast_ari_channels_external_media.</li> |
| 78 | <li>res_stir_shaken: Allow missing or anonymous CID to continue to the dialplan.</li> |
| 79 | <li>res_config_pgsql: Fix regression that removed dbname config.</li> |
| 80 | <li>bridging: Fix multiple bridging issues causing SEGVs and FRACKs.</li> |
| 81 | <li>swagger_model.py: Fix invalid escape sequence in get_list_parameter_type().</li> |
| 82 | <li>manager.c: Check for restricted file in action_createconfig.</li> |
| 83 | <li> |
| 84 | <p>README.md: Updates and Fixes</p> |
| 85 | </li> |
| 86 | <li> |
| 87 | <h4>Holger Hans Peter Freyther (1):</h4> |
| 88 | </li> |
| 89 | <li> |
| 90 | <p>ari/pjsip: Make it possible to control transfers through ARI</p> |
| 91 | </li> |
| 92 | <li> |
| 93 | <h4>Jeremy Lainé (1):</h4> |
| 94 | </li> |
| 95 | <li> |
| 96 | <p>docs: Fix minor typo in MixMonitor AMI action</p> |
| 97 | </li> |
| 98 | <li> |
| 99 | <h4>Joshua Elson (1):</h4> |
| 100 | </li> |
| 101 | <li> |
| 102 | <p>fix: Correct default flag for tcp_keepalive_enable option</p> |
| 103 | </li> |
| 104 | <li> |
| 105 | <h4>Luz Paz (3):</h4> |
| 106 | </li> |
| 107 | <li>docs: Fix various typos in main/ Found via `codespell -q 3 -S "./CREDITS" -L a..</li> |
| 108 | <li>docs: Fix various typos in channels/ Found via `codespell -q 3 -S "./CREDITS,*..</li> |
| 109 | <li> |
| 110 | <p>docs: Fix typos in cdr/ Found via codespell</p> |
| 111 | </li> |
| 112 | <li> |
| 113 | <h4>Maximilian Fridrich (1):</h4> |
| 114 | </li> |
| 115 | <li> |
| 116 | <p>Revert "res_rtp_asterisk.c: Set Mark on rtp when timestamp skew is too big"</p> |
| 117 | </li> |
| 118 | <li> |
| 119 | <h4>Mike Bradeen (1):</h4> |
| 120 | </li> |
| 121 | <li> |
| 122 | <p>bridge_channel: don't set cause code on channel during bridge delete if alread..</p> |
| 123 | </li> |
| 124 | <li> |
| 125 | <h4>Naveen Albert (1):</h4> |
| 126 | </li> |
| 127 | <li> |
| 128 | <p>utils: Disable old style definition warnings for libdb.</p> |
| 129 | </li> |
| 130 | <li> |
| 131 | <h4>Sean Bright (6):</h4> |
| 132 | </li> |
| 133 | <li>docs: Indent <since> tags.</li> |
| 134 | <li>channel.c: Remove dead AST_GENERATOR_FD code.</li> |
| 135 | <li>res_rtp_asterisk.c: Use correct timeout value for T.140 RED timer.</li> |
| 136 | <li>docs: AMI documentation fixes.</li> |
| 137 | <li>res_rtp_asterisk.c: Don't truncate spec-compliant <code>ice-ufrag</code> or <code>ice-pwd</code>.</li> |
| 138 | <li> |
| 139 | <p>res_config_curl.c: Remove unnecessary warnings.</p> |
| 140 | </li> |
| 141 | <li> |
| 142 | <h4>fabriziopicconi (1):</h4> |
| 143 | </li> |
| 144 | <li>rtp.conf.sample: Correct stunaddr example.</li> |
| 145 | </ul> |
| 146 | <h3>Commit List:</h3> |
| 147 | <ul> |
| 148 | <li>documentation: Update Gosub, Goto, and add new documentationtype.</li> |
| 149 | <li>res_config_curl.c: Remove unnecessary warnings.</li> |
| 150 | <li>README.md: Updates and Fixes</li> |
| 151 | <li>res_rtp_asterisk.c: Don't truncate spec-compliant <code>ice-ufrag</code> or <code>ice-pwd</code>.</li> |
| 152 | <li>fix: Correct default flag for tcp_keepalive_enable option</li> |
| 153 | <li>docs: AMI documentation fixes.</li> |
| 154 | <li>config.c: #include of non-existent file should not crash</li> |
| 155 | <li>manager.c: Check for restricted file in action_createconfig.</li> |
| 156 | <li>swagger_model.py: Fix invalid escape sequence in get_list_parameter_type().</li> |
| 157 | <li>Revert "res_rtp_asterisk.c: Set Mark on rtp when timestamp skew is too big"</li> |
| 158 | <li>res_rtp_asterisk.c: Use correct timeout value for T.140 RED timer.</li> |
| 159 | <li>docs: Fix typos in cdr/ Found via codespell</li> |
| 160 | <li>bridging: Fix multiple bridging issues causing SEGVs and FRACKs.</li> |
| 161 | <li>res_config_pgsql: Fix regression that removed dbname config.</li> |
| 162 | <li>res_stir_shaken: Allow missing or anonymous CID to continue to the dialplan.</li> |
| 163 | <li>resource_channels.c: Fix memory leak in ast_ari_channels_external_media.</li> |
| 164 | <li>ari/pjsip: Make it possible to control transfers through ARI</li> |
| 165 | <li>channel.c: Remove dead AST_GENERATOR_FD code.</li> |
| 166 | <li>func_strings.c: Prevent SEGV in HASH single-argument mode.</li> |
| 167 | <li>docs: Add version information to AGI command XML elements.</li> |
| 168 | <li>docs: Fix minor typo in MixMonitor AMI action</li> |
| 169 | <li>utils: Disable old style definition warnings for libdb.</li> |
| 170 | <li>rtp.conf.sample: Correct stunaddr example.</li> |
| 171 | <li>docs: Add version information to ARI resources and methods.</li> |
| 172 | <li>docs: Indent <since> tags.</li> |
| 173 | </ul> |
| 174 | <h3>Commit Details:</h3> |
| 175 | <h4>documentation: Update Gosub, Goto, and add new documentationtype.</h4> |
| 176 | <p>Author: Ben Ford |
| 177 | Date: 2025-03-14</p> |
| 178 | <p>Gosub and Goto were not displaying their syntax correctly on the docs |
| 179 | site. This change adds a new way to specify an optional context, an |
| 180 | optional extension, and a required priority that the xml stylesheet can |
| 181 | parse without having to know which optional parameters come in which |
| 182 | order. In Asterisk, it looks like this:</p> |
| 183 | <pre><code>parameter name="context" documentationtype="dialplan_context" |
| 184 | parameter name="extension" documentationtype="dialplan_extension" |
| 185 | parameter name="priority" documentationtype="dialplan_priority" required="true" |
| 186 | </code></pre> |
| 187 | <p>The stylesheet will ignore the context and extension parameters, but for |
| 188 | priority, it will automatically inject the following:</p> |
| 189 | <pre><code>[[context,]extension,]priority |
| 190 | </code></pre> |
| 191 | <p>This is the correct oder for applications such as Gosub and Goto.</p> |
| 192 | <h4>res_config_curl.c: Remove unnecessary warnings.</h4> |
| 193 | <p>Author: Sean Bright |
| 194 | Date: 2025-03-17</p> |
| 195 | <p>Resolves: #1164</p> |
| 196 | <h4>README.md: Updates and Fixes</h4> |
| 197 | <p>Author: George Joseph |
| 198 | Date: 2025-03-05</p> |
| 199 | <ul> |
| 200 | <li>Outdated information has been removed.</li> |
| 201 | <li>New links added.</li> |
| 202 | <li>Placeholder added for link to change logs.</li> |
| 203 | </ul> |
| 204 | <p>Going forward, the release process will create HTML versions of the README |
| 205 | and change log and will update the link in the README to the current |
| 206 | change log for the branch...</p> |
| 207 | <ul> |
| 208 | <li>In the development branches, the link will always point to the current |
| 209 | release on GitHub.</li> |
| 210 | <li>In the "releases/*" branches and the tarballs, the link will point to the |
| 211 | ChangeLogs/ChangeLog-<version>.html file in the source directory.</li> |
| 212 | <li>On the downloads website, the link will point to the |
| 213 | ChangeLog-<version>.html file in the same directory.</li> |
| 214 | </ul> |
| 215 | <p>Resolves: #1131</p> |
| 216 | <h4>res_rtp_asterisk.c: Don't truncate spec-compliant <code>ice-ufrag</code> or <code>ice-pwd</code>.</h4> |
| 217 | <p>Author: Sean Bright |
| 218 | Date: 2025-03-07</p> |
| 219 | <p>RFC 8839[1] indicates that the <code>ice-ufrag</code> and <code>ice-pwd</code> attributes |
| 220 | can be up to 256 bytes long. While we don't generate values of that |
| 221 | size, we should be able to accomodate them without truncating.</p> |
| 222 | <ol> |
| 223 | <li>https://www.rfc-editor.org/rfc/rfc8839#name-ice-ufrag-and-ice-pwd-attri</li> |
| 224 | </ol> |
| 225 | <h4>fix: Correct default flag for tcp_keepalive_enable option</h4> |
| 226 | <p>Author: Joshua Elson |
| 227 | Date: 2025-03-06</p> |
| 228 | <p>Resolves an issue where the tcp_keepalive_enable option was not properly enabled in the sample configuration due to an incorrect default flag setting.</p> |
| 229 | <p>Fixes: #1149</p> |
| 230 | <h4>docs: AMI documentation fixes.</h4> |
| 231 | <p>Author: Sean Bright |
| 232 | Date: 2025-02-18</p> |
| 233 | <p>Most of this patch is adding missing PJSIP-related event |
| 234 | documentation, but the one functional change was adding a sorcery |
| 235 | to-string handler for endpoint's <code>redirect_method</code> which was not |
| 236 | showing up in the AMI event details or <code>pjsip show endpoint |
| 237 | <endpoint></code> output.</p> |
| 238 | <p>The rest of the changes are summarized below:</p> |
| 239 | <ul> |
| 240 | <li>app_agent_pool.c: Typo fix Epoche -> Epoch.</li> |
| 241 | <li>stasis_bridges.c: Add missing AttendedTransfer properties.</li> |
| 242 | <li>stasis_channels.c: Add missing AgentLogoff properties.</li> |
| 243 | <li>pjsip_manager.xml:<ul> |
| 244 | <li>Add missing AorList properties.</li> |
| 245 | <li>Add missing AorDetail properties.</li> |
| 246 | <li>Add missing ContactList properties.</li> |
| 247 | <li>Add missing ContactStatusDetail properties.</li> |
| 248 | <li>Add missing EventDetail properties.</li> |
| 249 | <li>Add missing AuthList properties.</li> |
| 250 | <li>Add missing AuthDetail properties.</li> |
| 251 | <li>Add missing TransportDetail properties.</li> |
| 252 | <li>Add missing EndpointList properties.</li> |
| 253 | <li>Add missing IdentifyDetail properties.</li> |
| 254 | </ul> |
| 255 | </li> |
| 256 | <li>res_pjsip_registrar.c: Add missing InboundRegistrationDetail documentation.</li> |
| 257 | <li>res_pjsip_pubsub.c:<ul> |
| 258 | <li>Add missing ResourceListDetail documentation.</li> |
| 259 | <li>Add missing InboundSubscriptionDetail documentation.</li> |
| 260 | <li>Add missing OutboundSubscriptionDetail documentation.</li> |
| 261 | </ul> |
| 262 | </li> |
| 263 | <li>res_pjsip_outbound_registration.c: Add missing OutboundRegistrationDetail documentation.</li> |
| 264 | </ul> |
| 265 | <h4>config.c: #include of non-existent file should not crash</h4> |
| 266 | <p>Author: Allan Nathanson |
| 267 | Date: 2025-03-03</p> |
| 268 | <p>Corrects a segmentation fault when a configuration file has a #include |
| 269 | statement that referenced a file that does not exist.</p> |
| 270 | <p>Resolves: https://github.com/asterisk/asterisk/issues/1139</p> |
| 271 | <h4>manager.c: Check for restricted file in action_createconfig.</h4> |
| 272 | <p>Author: George Joseph |
| 273 | Date: 2025-03-03</p> |
| 274 | <p>The <code>CreateConfig</code> manager action now ensures that a config file can |
| 275 | only be created in the AST_CONFIG_DIR unless <code>live_dangerously</code> is set.</p> |
| 276 | <p>Resolves: #1122</p> |
| 277 | <h4>swagger_model.py: Fix invalid escape sequence in get_list_parameter_type().</h4> |
| 278 | <p>Author: George Joseph |
| 279 | Date: 2025-03-04</p> |
| 280 | <p>Recent python versions complain when backslashes in strings create invalid |
| 281 | escape sequences. This causes issues for strings used as regex patterns like |
| 282 | <code>'^List\[(.*)\]$'</code> where you want the regex parser to treat <code>[</code> and <code>]</code> |
| 283 | as literals. Double-backslashing is one way to fix it but simply converting |
| 284 | the string to a raw string <code>re.match(r'^List\[(.*)\]$', text)</code> is easier |
| 285 | and less error prone.</p> |
| 286 | <h4>Revert "res_rtp_asterisk.c: Set Mark on rtp when timestamp skew is too big"</h4> |
| 287 | <p>Author: Maximilian Fridrich |
| 288 | Date: 2025-02-28</p> |
| 289 | <p>This reverts commit f30ad96b3f467739c38ff415e80bffc4afff1da7.</p> |
| 290 | <p>The original change was not RFC compliant and caused issues because it |
| 291 | set the RTP marker bit in cases when it shouldn't be set. See the |
| 292 | linked issue #1135 for a detailed explanation.</p> |
| 293 | <p>Fixes: #1135.</p> |
| 294 | <h4>res_rtp_asterisk.c: Use correct timeout value for T.140 RED timer.</h4> |
| 295 | <p>Author: Sean Bright |
| 296 | Date: 2025-02-24</p> |
| 297 | <p>Found while reviewing #1128</p> |
| 298 | <h4>docs: Fix typos in cdr/ Found via codespell</h4> |
| 299 | <p>Author: Luz Paz |
| 300 | Date: 2025-02-12</p> |
| 301 | <h4>docs: Fix various typos in channels/ Found via `codespell -q 3 -S "./CREDITS,*..</h4> |
| 302 | <p>Author: Luz Paz |
| 303 | Date: 2025-02-04</p> |
| 304 | <h4>docs: Fix various typos in main/ Found via `codespell -q 3 -S "./CREDITS" -L a..</h4> |
| 305 | <p>Author: Luz Paz |
| 306 | Date: 2025-02-04</p> |
| 307 | <h4>bridging: Fix multiple bridging issues causing SEGVs and FRACKs.</h4> |
| 308 | <p>Author: George Joseph |
| 309 | Date: 2025-01-22</p> |
| 310 | <p>Issues:</p> |
| 311 | <ul> |
| 312 | <li> |
| 313 | <p>The bridging core allowed multiple bridges to be created with the same |
| 314 | unique bridgeId at the same time. Only the last bridge created with the |
| 315 | duplicate name was actually saved to the core bridges container.</p> |
| 316 | </li> |
| 317 | <li> |
| 318 | <p>The bridging core was creating a stasis topic for the bridge and saving it |
| 319 | in the bridge->topic field but not increasing its reference count. In the |
| 320 | case where two bridges were created with the same uniqueid (which is also |
| 321 | the topic name), the second bridge would get the <em>existing</em> topic the first |
| 322 | bridge created. When the first bridge was destroyed, it would take the |
| 323 | topic with it so when the second bridge attempted to publish a message to |
| 324 | it it either FRACKed or SEGVd.</p> |
| 325 | </li> |
| 326 | <li> |
| 327 | <p>The bridge destructor, which also destroys the bridge topic, is run from the |
| 328 | bridge manager thread not the caller's thread. This makes it possible for |
| 329 | an ARI developer to create a new one with the same uniqueid believing the |
| 330 | old one was destroyed when, in fact, the old one's destructor hadn't |
| 331 | completed. This could cause the new bridge to get the old one's topic just |
| 332 | before the topic was destroyed. When the new bridge attempted to publish |
| 333 | a message on that topic, asterisk could either FRACK or SEGV.</p> |
| 334 | </li> |
| 335 | <li> |
| 336 | <p>The ARI bridges resource also allowed multiple bridges to be created with |
| 337 | the same uniqueid but it kept the duplicate bridges in its app_bridges |
| 338 | container. This created a situation where if you added two bridges with |
| 339 | the same "bridge1" uniqueid, all operations on "bridge1" were performed on |
| 340 | the first bridge created and the second was basically orphaned. If you |
| 341 | attempted to delete what you thought was the second bridge, you actually |
| 342 | deleted the first one created.</p> |
| 343 | </li> |
| 344 | </ul> |
| 345 | <p>Changes:</p> |
| 346 | <ul> |
| 347 | <li> |
| 348 | <p>A new API <code>ast_bridge_topic_exists(uniqueid)</code> was created to determine if |
| 349 | a topic already exists for a bridge.</p> |
| 350 | </li> |
| 351 | <li> |
| 352 | <p><code>bridge_base_init()</code> in bridge.c and <code>ast_ari_bridges_create()</code> in |
| 353 | resource_bridges.c now call <code>ast_bridge_topic_exists(uniqueid)</code> to check |
| 354 | if a bridge with the requested uniqueid already exists and will fail if it |
| 355 | does.</p> |
| 356 | </li> |
| 357 | <li> |
| 358 | <p><code>bridge_register()</code> in bridges.c now checks the core bridges container to |
| 359 | make sure a bridge doesn't already exist with the requested uniqueid. |
| 360 | Although most callers of <code>bridge_register()</code> will have already called |
| 361 | <code>bridge_base_init()</code>, which will now fail on duplicate bridges, there |
| 362 | is no guarantee of this so we must check again.</p> |
| 363 | </li> |
| 364 | <li> |
| 365 | <p>The core bridges container allocation was changed to reject duplicate |
| 366 | uniqueids instead of silently replacing an existing one. This is a "belt |
| 367 | and suspenders" check.</p> |
| 368 | </li> |
| 369 | <li> |
| 370 | <p>A global mutex was added to bridge.c to prevent concurrent calls to |
| 371 | <code>bridge_base_init()</code> and <code>bridge_register()</code>.</p> |
| 372 | </li> |
| 373 | <li> |
| 374 | <p>Even though you can no longer create multiple bridges with the same uniqueid |
| 375 | at the same time, it's still possible that the bridge topic might be |
| 376 | destroyed while a second bridge with the same uniqueid was trying to use |
| 377 | it. To address this, the bridging core now increments the reference count |
| 378 | on bridge->topic when a bridge is created and decrements it when the |
| 379 | bridge is destroyed.</p> |
| 380 | </li> |
| 381 | <li> |
| 382 | <p><code>bridge_create_common()</code> in res_stasis.c now checks the stasis app_bridges |
| 383 | container to make sure a bridge with the requested uniqueid doesn't already |
| 384 | exist. This may seem like overkill but there are so many entrypoints to |
| 385 | bridge creation that we need to be safe and catch issues as soon in the |
| 386 | process as possible.</p> |
| 387 | </li> |
| 388 | <li> |
| 389 | <p>The stasis app_bridges container allocation was changed to reject duplicate |
| 390 | uniqueids instead of adding them. This is a "belt and suspenders" check.</p> |
| 391 | </li> |
| 392 | <li> |
| 393 | <p>The <code>bridge show all</code> CLI command now shows the bridge name as well as the |
| 394 | bridge id.</p> |
| 395 | </li> |
| 396 | <li> |
| 397 | <p>Response code 409 "Conflict" was added as a possible response from the ARI |
| 398 | bridge create resources to signal that a bridge with the requested uniqueid |
| 399 | already exists.</p> |
| 400 | </li> |
| 401 | <li> |
| 402 | <p>Additional debugging was added to multiple bridging and stasis files.</p> |
| 403 | </li> |
| 404 | </ul> |
| 405 | <p>Resolves: #211</p> |
| 406 | <h4>bridge_channel: don't set cause code on channel during bridge delete if alread..</h4> |
| 407 | <p>Author: Mike Bradeen |
| 408 | Date: 2025-02-18</p> |
| 409 | <p>Due to a potential race condition via ARI when hanging up a channel hangup with cause |
| 410 | while also deleting a bridge containing that channel, the bridge delete can over-write |
| 411 | the hangup cause code resulting in Normal Call Clearing instead of the set value.</p> |
| 412 | <p>With this change, bridge deletion will only set the hangup code if it hasn't been |
| 413 | previously set.</p> |
| 414 | <p>Resolves: #1124</p> |
| 415 | <h4>res_config_pgsql: Fix regression that removed dbname config.</h4> |
| 416 | <p>Author: George Joseph |
| 417 | Date: 2025-02-11</p> |
| 418 | <p>A recent commit accidentally removed the code that sets dbname. |
| 419 | This commit adds it back in.</p> |
| 420 | <p>Resolves: #1119</p> |
| 421 | <h4>res_stir_shaken: Allow missing or anonymous CID to continue to the dialplan.</h4> |
| 422 | <p>Author: George Joseph |
| 423 | Date: 2025-02-05</p> |
| 424 | <p>The verification check for missing or anonymous callerid was happening before |
| 425 | the endpoint's profile was retrieved which meant that the failure_action |
| 426 | parameter wasn't available. Therefore, if verification was enabled and there |
| 427 | was no callerid or it was "anonymous", the call was immediately terminated |
| 428 | instead of giving the dialplan the ability to decide what to do with the call.</p> |
| 429 | <ul> |
| 430 | <li> |
| 431 | <p>The callerid check now happens after the verification context is created and |
| 432 | the endpoint's stir_shaken_profile is available.</p> |
| 433 | </li> |
| 434 | <li> |
| 435 | <p>The check now processes the callerid failure just as it does for other |
| 436 | verification failures and respects the failure_action parameter. If set |
| 437 | to "continue" or "continue_return_reason", <code>STIR_SHAKEN(0,verify_result)</code> |
| 438 | in the dialplan will return "invalid_or_no_callerid".</p> |
| 439 | </li> |
| 440 | <li> |
| 441 | <p>If the endpoint's failure_action is "reject_request", the call will be |
| 442 | rejected with <code>433 "Anonymity Disallowed"</code>.</p> |
| 443 | </li> |
| 444 | <li> |
| 445 | <p>If the endpoint's failure_action is "continue_return_reason", the call will |
| 446 | continue but a <code>Reason: STIR; cause=433; text="Anonymity Disallowed"</code> |
| 447 | header will be added to the next provisional or final response.</p> |
| 448 | </li> |
| 449 | </ul> |
| 450 | <p>Resolves: #1112</p> |
| 451 | <h4>resource_channels.c: Fix memory leak in ast_ari_channels_external_media.</h4> |
| 452 | <p>Author: George Joseph |
| 453 | Date: 2025-02-04</p> |
| 454 | <p>Between ast_ari_channels_external_media(), external_media_rtp_udp(), |
| 455 | and external_media_audiosocket_tcp(), the <code>variables</code> structure being passed |
| 456 | around wasn't being cleaned up properly when there was a failure.</p> |
| 457 | <ul> |
| 458 | <li> |
| 459 | <p>In ast_ari_channels_external_media(), the <code>variables</code> structure is now |
| 460 | defined with RAII_VAR to ensure it always gets cleaned up.</p> |
| 461 | </li> |
| 462 | <li> |
| 463 | <p>The ast_variables_destroy() call was removed from external_media_rtp_udp().</p> |
| 464 | </li> |
| 465 | <li> |
| 466 | <p>The ast_variables_destroy() call was removed from |
| 467 | external_media_audiosocket_tcp(), its <code>endpoint</code> allocation was changed to |
| 468 | to use ast_asprintf() as external_media_rtp_udp() does, and it now |
| 469 | returns an error on failure.</p> |
| 470 | </li> |
| 471 | <li> |
| 472 | <p>ast_ari_channels_external_media() now checks the new return code from |
| 473 | external_media_audiosocket_tcp() and sets the appropriate error response.</p> |
| 474 | </li> |
| 475 | </ul> |
| 476 | <p>Resolves: #1109</p> |
| 477 | <h4>ari/pjsip: Make it possible to control transfers through ARI</h4> |
| 478 | <p>Author: Holger Hans Peter Freyther |
| 479 | Date: 2024-06-15</p> |
| 480 | <p>Introduce a ChannelTransfer event and the ability to notify progress to |
| 481 | ARI. Implement emitting this event from the PJSIP channel instead of |
| 482 | handling the transfer in Asterisk when configured.</p> |
| 483 | <p>Introduce a dialplan function to the PJSIP channel to switch between the |
| 484 | "core" and "ari-only" behavior.</p> |
| 485 | <p>UserNote: Call transfers on the PJSIP channel can now be controlled by |
| 486 | ARI. This can be enabled by using the PJSIP_TRANSFER_HANDLING(ari-only) |
| 487 | dialplan function.</p> |
| 488 | <h4>channel.c: Remove dead AST_GENERATOR_FD code.</h4> |
| 489 | <p>Author: Sean Bright |
| 490 | Date: 2025-02-06</p> |
| 491 | <p>Nothing ever sets the <code>AST_GENERATOR_FD</code>, so this block of code will |
| 492 | never execute. It also is the only place where the <code>generate</code> callback |
| 493 | is called with the channel lock held which made it difficult to reason |
| 494 | about the thread safety of <code>ast_generator</code>s.</p> |
| 495 | <p>In passing, also note that <code>AST_AGENT_FD</code> isn't used either.</p> |
| 496 | <h4>func_strings.c: Prevent SEGV in HASH single-argument mode.</h4> |
| 497 | <p>Author: George Joseph |
| 498 | Date: 2025-01-30</p> |
| 499 | <p>When in single-argument mode (very rarely used), a malformation of a column |
| 500 | name (also very rare) could cause a NULL to be returned when retrieving the |
| 501 | channel variable for that column. Passing that to strncat causes a SEGV. We |
| 502 | now check for the NULL and print a warning message.</p> |
| 503 | <p>Resolves: #1101</p> |
| 504 | <h4>docs: Add version information to AGI command XML elements.</h4> |
| 505 | <p>Author: George Joseph |
| 506 | Date: 2025-01-24</p> |
| 507 | <p>This process was a bit different than the others because everything |
| 508 | is in the same file, there's an array that contains the command |
| 509 | names and their handler functions, and the last command was created |
| 510 | over 15 years ago.</p> |
| 511 | <ul> |
| 512 | <li>Dump a <code>git blame</code> of res/res_agi.c from BEFORE the handle_* prototypes |
| 513 | were changed.</li> |
| 514 | <li>Create a command <> handler function xref by parsing the the agi_command |
| 515 | array.</li> |
| 516 | <li>For each entry, grep the function definition line "static int handle_*" |
| 517 | from the git blame output and capture the commit. This will be the |
| 518 | commit the command was created in.</li> |
| 519 | <li>Do a <code>git tag --contains <commit> | sort -V | head -1</code> to get the |
| 520 | tag the function was created in.</li> |
| 521 | <li>Add a single since/version element to the command XML. Multiple versions |
| 522 | aren't supported here because the branching and tagging scheme changed |
| 523 | several times in the 2000's.</li> |
| 524 | </ul> |
| 525 | <h4>docs: Fix minor typo in MixMonitor AMI action</h4> |
| 526 | <p>Author: Jeremy Lainé |
| 527 | Date: 2025-01-28</p> |
| 528 | <p>The <code>Options</code> argument was erroneously documented as lowercase |
| 529 | <code>options</code>.</p> |
| 530 | <h4>utils: Disable old style definition warnings for libdb.</h4> |
| 531 | <p>Author: Naveen Albert |
| 532 | Date: 2025-01-23</p> |
| 533 | <p>Newer versions of gcc now warn about old style definitions, such |
| 534 | as those in libdb, which causes compilation failure with DEVMODE |
| 535 | enabled. Ignore these warnings for libdb.</p> |
| 536 | <p>Resolves: #1085</p> |
| 537 | <h4>rtp.conf.sample: Correct stunaddr example.</h4> |
| 538 | <p>Author: fabriziopicconi |
| 539 | Date: 2024-09-25</p> |
| 540 | <h4>docs: Add version information to ARI resources and methods.</h4> |
| 541 | <p>Author: George Joseph |
| 542 | Date: 2025-01-27</p> |
| 543 | <ul> |
| 544 | <li> |
| 545 | <p>Dump a git blame of each file in rest-api/api-docs.</p> |
| 546 | </li> |
| 547 | <li> |
| 548 | <p>Get the commit for each "resourcePath" and "httpMethod" entry.</p> |
| 549 | </li> |
| 550 | <li> |
| 551 | <p>Find the tags for each commit (same as other processes).</p> |
| 552 | </li> |
| 553 | <li> |
| 554 | <p>Insert a "since" array after each "resourcePath" and "httpMethod" entry.</p> |
| 555 | </li> |
| 556 | </ul> |
| 557 | <h4>docs: Indent <since> tags.</h4> |
| 558 | <p>Author: Sean Bright |
| 559 | Date: 2025-01-23</p> |
| 560 | <p>Also updates the 'since' of applications/functions that existed before |
| 561 | XML documentation was introduced (1.6.2.0).</p> |
| 562 | </body></html> |