app_queue: track masquerades in app_queue to avoid leaked stasis subscriptions

Add a new "masquarade" channel event, and use it in app_queue to track unique id's.

Testcase is submitted as https://gerrit.asterisk.org/c/testsuite/+/14210

ASTERISK-28829 #close
ASTERISK-25844 #close

Change-Id: Ifc5f9f9fd70903f3c6e49738d3bc632b085d2df6
This commit is contained in:
Nathan Bruning
2020-04-09 01:41:55 +02:00
committed by Joshua Colp
parent 44e5dd288b
commit f217fcdc62
4 changed files with 45 additions and 0 deletions
+8
View File
@@ -501,6 +501,14 @@ struct stasis_message_type *ast_channel_varset_type(void);
*/
struct stasis_message_type *ast_channel_hangup_request_type(void);
/*!
* \since 16
* \brief Message type for when a channel is being masqueraded
*
* \retval A stasis message type
*/
struct stasis_message_type *ast_channel_masquerade_type(void);
/*!
* \since 12
* \brief Message type for when DTMF begins on a channel.