mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "stasis/endpoint: Fix memory leak of channel_ids in ast_endpoint structure." into 16
This commit is contained in:
@@ -2649,6 +2649,18 @@ void ast_channel_internal_swap_uniqueid_and_linkedid(struct ast_channel *a, stru
|
||||
*/
|
||||
void ast_channel_internal_swap_topics(struct ast_channel *a, struct ast_channel *b);
|
||||
|
||||
/*!
|
||||
* \brief Swap endpoint_forward and endpoint_cache_forward between two channels
|
||||
* \param a First channel
|
||||
* \param b Second channel
|
||||
* \return void
|
||||
*
|
||||
* \note
|
||||
* This is used in masquerade to exchange endpoint details if one of the two or both
|
||||
* the channels were created with endpoint
|
||||
*/
|
||||
void ast_channel_internal_swap_endpoint_forward_and_endpoint_cache_forward(struct ast_channel *a, struct ast_channel *b);
|
||||
|
||||
/*!
|
||||
* \brief Set uniqueid and linkedid string value only (not time)
|
||||
* \param chan The channel to set the uniqueid to
|
||||
|
Reference in New Issue
Block a user