diff options
author | Jonathan Rose <jrose@digium.com> | 2013-07-08 15:59:47 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2013-07-08 15:59:47 +0000 |
commit | b083a4cdae461b9e6e6326cb882ffd78e354347d (patch) | |
tree | d43b1dfdce507f6ce5219ff6012e85635ce83ff6 /res/parking/res_parking.h | |
parent | 7ee5b025f44656edae72ada703832fb093dcfde1 (diff) |
res_parking: Apply ringing role option on swap with a channel that rings
(closes issue ASTERISK-21877)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2656/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/parking/res_parking.h')
-rw-r--r-- | res/parking/res_parking.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/res/parking/res_parking.h b/res/parking/res_parking.h index b128ee335..78ad9117d 100644 --- a/res/parking/res_parking.h +++ b/res/parking/res_parking.h @@ -214,8 +214,11 @@ void parked_call_retrieve_enable_features(struct ast_channel *chan, struct parki * \param chan Entering channel * \param lot The parking lot the channel will be entering * \param force_ringing Use ringing instead of music on hold + * + * \retval 0 on success + * \retval non-zero on failure */ -void parking_channel_set_roles(struct ast_channel *chan, struct parking_lot *lot, int force_ringing); +int parking_channel_set_roles(struct ast_channel *chan, struct parking_lot *lot, int force_ringing); /*! * \since 12.0.0 |