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
This commit is contained in:
Jonathan Rose
2013-07-08 15:59:47 +00:00
parent 7ee5b025f4
commit b083a4cdae
4 changed files with 35 additions and 12 deletions

View File

@@ -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