mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -1015,7 +1015,9 @@ void ast_bridge_channel_playfile(struct ast_bridge_channel *bridge_channel, ast_
|
||||
* playing the announcment.
|
||||
*
|
||||
* XXX We have no idea what MOH class was in use before playing
|
||||
* the file.
|
||||
* the file. This method also fails to restore ringing indications.
|
||||
* the proposed solution is to create a resume_entertainment callback
|
||||
* for the bridge technology and execute it here.
|
||||
*/
|
||||
if (ast_test_flag(ast_channel_flags(bridge_channel->chan), AST_FLAG_MOH)) {
|
||||
ast_moh_start(bridge_channel->chan, NULL, NULL);
|
||||
|
Reference in New Issue
Block a user