mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-04 12:12:48 +00:00
Alternate Channel Storage Backends
Full details: http://s.asterisk.net/dc679ec3 The previous proof-of-concept showed that the cpp_map_name_id alternate storage backed performed better than all the others so this final PR adds only that option. You still need to enable it in menuselect under the "Alternate Channel Storage Backends" category. To select which one is used at runtime, set the "channel_storage_backend" option in asterisk.conf to one of the values described in asterisk.conf.sample. The default remains "ao2_legacy". UpgradeNote: With this release, you can now select an alternate channel storage backend based on C++ Maps. Using the new backend may increase performance and reduce the chances of deadlocks on heavily loaded systems. For more information, see http://s.asterisk.net/dc679ec3
This commit is contained in:
@@ -39,4 +39,11 @@ void ast_channel_internal_set_stream_topology_change_source(
|
||||
void ast_channel_internal_swap_stream_topology(struct ast_channel *chan1,
|
||||
struct ast_channel *chan2);
|
||||
|
||||
/*! \brief The current channel storage driver */
|
||||
extern const struct ast_channelstorage_driver *current_channel_storage_driver;
|
||||
extern struct ast_channelstorage_instance *current_channel_storage_instance;
|
||||
|
||||
void ast_channel_close_storage(void);
|
||||
int ast_channel_open_storage(void);
|
||||
|
||||
#endif /* ASTERISK_CHANNEL_INTERNAL_H */
|
||||
|
Reference in New Issue
Block a user