summaryrefslogtreecommitdiff
path: root/res/parking/res_parking.h
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2014-05-02 16:06:40 +0000
committerJonathan Rose <jrose@digium.com>2014-05-02 16:06:40 +0000
commit57372e61d23543c70158ba8a0fec40e4848ee44e (patch)
treefbd75ebee25d4fb5edd93fa5e6b2657fa468875d /res/parking/res_parking.h
parent120ac66df9021a122d6a7cb492002a685c137403 (diff)
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
Diffstat (limited to 'res/parking/res_parking.h')
-rw-r--r--res/parking/res_parking.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/parking/res_parking.h b/res/parking/res_parking.h
index f97e85be9..3d77e514c 100644
--- a/res/parking/res_parking.h
+++ b/res/parking/res_parking.h
@@ -386,6 +386,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
*