Channels: Masquerades to automatically move frame/audio hooks
Whenever possible, audiohooks and framehooks will now be copied over to the channel that the masquerading channel gets cloned into. This should occur for all audiohooks and most framehooks. As a result, in Asterisk 12.5 and up, the AUDIOHOOK_INHERIT function is now deprecated and its behavior is essentially the new default for all audiohooks, plus some additional audiohooks/framehooks. Review: https://reviewboard.asterisk.org/r/3721/ ........ Merged revisions 418914 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- CHANGES 5 additions, 0 deletionsCHANGES
- bridges/bridge_native_rtp.c 1 addition, 0 deletionsbridges/bridge_native_rtp.c
- funcs/func_audiohookinherit.c 17 additions, 234 deletionsfuncs/func_audiohookinherit.c
- include/asterisk/audiohook.h 11 additions, 0 deletionsinclude/asterisk/audiohook.h
- include/asterisk/framehook.h 32 additions, 1 deletioninclude/asterisk/framehook.h
- include/asterisk/res_fax.h 4 additions, 0 deletionsinclude/asterisk/res_fax.h
- main/audiohook.c 43 additions, 6 deletionsmain/audiohook.c
- main/bridge_basic.c 1 addition, 0 deletionsmain/bridge_basic.c
- main/channel.c 14 additions, 0 deletionsmain/channel.c
- main/framehook.c 49 additions, 4 deletionsmain/framehook.c
- res/res_fax.c 39 additions, 0 deletionsres/res_fax.c
- res/res_pjsip_refer.c 1 addition, 0 deletionsres/res_pjsip_refer.c
Loading
Please register or sign in to comment