From 0d5509fae5729be6a83087ad7a623b10c50151a8 Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Mon, 24 Sep 2012 21:05:44 +0000 Subject: [PATCH] func_audiohookinherit: Document some missed sources. This patch also mentions that AUDIOHOOK_INHERIT can be used to transfer MixMonitor audiohooks. There is also wiki that addresses audiohooks and the use of AUDIOHOOK_INHERIT at the following link: https://wiki.asterisk.org/wiki/display/AST/Audiohooks (closes issue ASTERISK-18220) Reported by: Ishfaq Malik ........ Merged revisions 373467 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@373468 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_mixmonitor.c | 6 ++++++ funcs/func_audiohookinherit.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index b694cbb1ca..d53cac6811 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -119,6 +119,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Records the audio on the current channel to the specified file. This application does not automatically answer and should be preceeded by an application such as Answer or Progress(). + MixMonitor runs as an audiohook. In order to keep it running through + a transfer, AUDIOHOOK_INHERIT must be set for the channel which ran mixmonitor. + For more information, including dialplan configuration set for using + AUDIOHOOK_INHERIT with MixMonitor, see the function documentation for + AUDIOHOOK_INHERIT. Will contain the filename used to record. @@ -130,6 +135,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") StopMixMonitor PauseMonitor UnpauseMonitor + AUDIOHOOK_INHERIT diff --git a/funcs/func_audiohookinherit.c b/funcs/func_audiohookinherit.c index 59faa90198..f43310bbbc 100644 --- a/funcs/func_audiohookinherit.c +++ b/funcs/func_audiohookinherit.c @@ -53,7 +53,9 @@ + + Note that the names are not case-sensitive -- 2.47.2