func_audiohookinherit: Document some missed sources.
authorJonathan Rose <jrose@digium.com>
Mon, 24 Sep 2012 21:19:49 +0000 (21:19 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 24 Sep 2012 21:19:49 +0000 (21:19 +0000)
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
........

Merged revisions 373470 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373479 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_mixmonitor.c
funcs/func_audiohookinherit.c

index 9ebea1a..50da593 100644 (file)
@@ -132,6 +132,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        <para>Records the audio on the current channel to the specified file.</para>
                        <para>This application does not automatically answer and should be preceeded by
                        an application such as Answer or Progress().</para>
+                       <note><para>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.</para></note>
                        <variablelist>
                                <variable name="MIXMONITOR_FILENAME">
                                        <para>Will contain the filename used to record.</para>
@@ -143,6 +148,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        <ref type="application">StopMixMonitor</ref>
                        <ref type="application">PauseMonitor</ref>
                        <ref type="application">UnpauseMonitor</ref>
+                       <ref type="function">AUDIOHOOK_INHERIT</ref>
                </see-also>
        </application>
        <application name="StopMixMonitor" language="en_US">
index 073c5c4..f3a5b61 100644 (file)
@@ -53,7 +53,9 @@
                                        <enum name="Chanspy" />
                                        <enum name="Volume" />
                                        <enum name="Speex" />
+                                       <enum name="pitch_shift" />
                                        <enum name="JACK_HOOK" />
+                                       <enum name="Mute" />
                                </enumlist>
                                <para>Note that the names are not case-sensitive</para>
                        </parameter>