From b083a4cdae461b9e6e6326cb882ffd78e354347d Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Mon, 8 Jul 2013 15:59:47 +0000 Subject: 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 --- res/parking/res_parking.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'res/parking/res_parking.h') 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 -- cgit v1.2.3