mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
Parking: Add 'AnnounceChannel' argument to manager action 'Park'
(closes ASTERISK-23397) Reported by: Denis Review: https://reviewboard.asterisk.org/r/3446/ ........ Merged revisions 413196 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@413197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -385,6 +385,19 @@ void publish_parked_call_failure(struct ast_channel *parkee);
|
||||
*/
|
||||
void publish_parked_call(struct parked_user *pu, enum ast_parked_call_event_type event_type);
|
||||
|
||||
/*!
|
||||
* \since 12.3.0
|
||||
* \brief Create a parking announcement subscription
|
||||
*
|
||||
* \param chan Channel that will receive the announcement
|
||||
* \param parkee_uuid Unique ID of the channel being parked
|
||||
* \param hangup_after if non-zero, have the channel hangup after hearing the announcement
|
||||
*
|
||||
* \retval 0 on success
|
||||
* \retval -1 on failure
|
||||
*/
|
||||
int create_parked_subscription(struct ast_channel *chan, const char *parkee_uuid, int hangup_after);
|
||||
|
||||
/*!
|
||||
* \since 12.0.0
|
||||
* \brief Setup a parked call on a parking bridge without needing to parse appdata
|
||||
|
Reference in New Issue
Block a user