mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
Channels no longer use the Stasis cache for channel snapshots. Instead they are stored in a hash table in stasis_channels which reduces the number of Stasis messages created and allows better storage. As a result the following APIs are no longer available since the stasis cache is no longer used: ast_channel_topic_cached() ast_channel_topic_all_cached() The ast_channel_cache_all() and ast_channel_cache_by_name() functions now return an ao2_container of ast_channel_snapshots rather than a container of stasis_messages therefore you can't (and don't need to) call stasis_cache functions on it. The ast_channel_topic_all() function now returns a normal topic not a cached one so you can't use stasis cache functions on it either. The ast_channel_snapshot_type() stasis message now has the ast_channel_snapshot_update structure as it's data. It contains the last snapshot and the new one. ast_channel_snapshot_get_latest() still returns the latest snapshot. The latest snapshot is now stored on the channel itself to eliminate cache hits when Stasis messages that have the snapshot as a payload are created. ASTERISK-28102 Change-Id: I9334febff60a82d7c39703e49059fa3a68825786
61 lines
2.5 KiB
Plaintext
61 lines
2.5 KiB
Plaintext
===========================================================
|
|
===
|
|
=== Information for upgrading between Asterisk versions
|
|
===
|
|
=== These files document all the changes that MUST be taken
|
|
=== into account when upgrading between the Asterisk
|
|
=== versions listed below. These changes may require that
|
|
=== you modify your configuration files, dialplan or (in
|
|
=== some cases) source code if you have your own Asterisk
|
|
=== modules or patches. These files also include advance
|
|
=== notice of any functionality that has been marked as
|
|
=== 'deprecated' and may be removed in a future release,
|
|
=== along with the suggested replacement functionality.
|
|
===
|
|
=== UPGRADE-1.2.txt -- Upgrade info for 1.0 to 1.2
|
|
=== UPGRADE-1.4.txt -- Upgrade info for 1.2 to 1.4
|
|
=== UPGRADE-1.6.txt -- Upgrade info for 1.4 to 1.6
|
|
=== UPGRADE-1.8.txt -- Upgrade info for 1.6 to 1.8
|
|
=== UPGRADE-10.txt -- Upgrade info for 1.8 to 10
|
|
=== UPGRADE-11.txt -- Upgrade info for 10 to 11
|
|
=== UPGRADE-12.txt -- Upgrade info for 11 to 12
|
|
=== UPGRADE-13.txt -- Upgrade info for 12 to 13
|
|
=== UPGRADE-14.txt -- Upgrade info for 13 to 14
|
|
=== UPGRADE-15.txt -- Upgrade info for 14 to 15
|
|
=== UPGRADE-16.txt -- Upgrade info for 15 to 16
|
|
===========================================================
|
|
|
|
New in 17.0.0:
|
|
|
|
chan_sip:
|
|
- The chan_sip module is now deprecated, users should migrate to the
|
|
replacement module chan_pjsip. See guides at the Asterisk Wiki:
|
|
https://wiki.asterisk.org/wiki/x/tAHOAQ
|
|
https://wiki.asterisk.org/wiki/x/hYCLAQ
|
|
|
|
func_callerid:
|
|
- The CALLERPRES() dialplan function, deprecated in Asterisk 1.8, has been
|
|
removed.
|
|
|
|
res_parking:
|
|
- The PARKINGSLOT channel variable, deprecated in Asterisk 12 in favor of the
|
|
PARKING_SPACE channel variable, will no longer be set.
|
|
|
|
res_xmpp:
|
|
- The JabberStatus application, deprecated in Asterisk 12, has been removed.
|
|
|
|
Channels:
|
|
- The core no longer uses the stasis cache for channels snapshots.
|
|
The following APIs are no longer available:
|
|
ast_channel_topic_cached()
|
|
ast_channel_topic_all_cached()
|
|
The ast_channel_cache_all() and ast_channel_cache_by_name() functions
|
|
now returns an ao2_container of ast_channel_snapshots rather than a
|
|
container of stasis_messages therefore you can't call stasis_cache
|
|
functions on it.
|
|
The ast_channel_topic_all() function now returns a normal topic,
|
|
not a cached one so you can't use stasis cache functions on it either.
|
|
The ast_channel_snapshot_type() stasis message now has the
|
|
ast_channel_snapshot_update structure as it's data.
|
|
ast_channel_snapshot_get_latest() still returns the latest snapshot.
|