Channels: Masquerades to automatically move frame/audio hooks
authorJonathan Rose <jrose@digium.com>
Fri, 18 Jul 2014 16:28:10 +0000 (16:28 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 18 Jul 2014 16:28:10 +0000 (16:28 +0000)
commitaf4cd651431b5a2a0dadebf4331be4fe61389e1b
tree989983f58c5a8ebca0b7588c9592a87f26db23db
parent5c988cc4e6c5693f03080f88e3057cb7a5358597
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
12 files changed:
CHANGES
bridges/bridge_native_rtp.c
funcs/func_audiohookinherit.c
include/asterisk/audiohook.h
include/asterisk/framehook.h
include/asterisk/res_fax.h
main/audiohook.c
main/bridge_basic.c
main/channel.c
main/framehook.c
res/res_fax.c
res/res_pjsip_refer.c