-
- Downloads
Handle DTMF and hold wrapup when a channel leaves the bridging system.
DTMF start/end and hold/unhold events have state because a DTMF begin event and hold event must be ended by something. The following cases need to be handled when a channel is moved around in the system. * When a channel leaves a bridge it may owe a DTMF end event to the bridge. * When a channel leaves a bridge it may owe an UNHOLD event to the bridge. (This case is explicitly ignored because things like transfers need explicit control over this.) * When a channel leaves the bridging system it may need to simulate a DTMF end event to the channel. * When a channel leaves the bridging system it may need to simulate an UNHOLD event to the channel. The patch also fixes the following: * Fixes playing a file and restarting MOH using the latest MOH class used. (closes issue ASTERISK-22043) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2791/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- bridges/bridge_builtin_interval_features.c 6 additions, 4 deletionsbridges/bridge_builtin_interval_features.c
- include/asterisk/bridge_channel.h 7 additions, 0 deletionsinclude/asterisk/bridge_channel.h
- include/asterisk/bridge_channel_internal.h 14 additions, 0 deletionsinclude/asterisk/bridge_channel_internal.h
- include/asterisk/channel.h 4 additions, 0 deletionsinclude/asterisk/channel.h
- main/bridge.c 4 additions, 0 deletionsmain/bridge.c
- main/bridge_channel.c 56 additions, 25 deletionsmain/bridge_channel.c
- main/channel.c 35 additions, 3 deletionsmain/channel.c
- main/channel_internal_api.c 12 additions, 0 deletionsmain/channel_internal_api.c
- res/res_musiconhold.c 1 addition, 0 deletionsres/res_musiconhold.c
Loading
Please register or sign in to comment