From: Jonathan Rose Date: Mon, 24 Sep 2012 21:12:28 +0000 (+0000) Subject: func_audiohookinherit: Document some missed sources. X-Git-Tag: 11.0.0-rc1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=759221d51522504f81117b97a2b9ec991ffe9405;p=thirdparty%2Fasterisk.git 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 ........ Merged revisions 373468 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@373470 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 9ebea1a855..50da593069 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -132,6 +132,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. @@ -143,6 +148,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") StopMixMonitor PauseMonitor UnpauseMonitor + AUDIOHOOK_INHERIT diff --git a/funcs/func_audiohookinherit.c b/funcs/func_audiohookinherit.c index 073c5c46f5..f3a5b61892 100644 --- a/funcs/func_audiohookinherit.c +++ b/funcs/func_audiohookinherit.c @@ -53,7 +53,9 @@ + + Note that the names are not case-sensitive