]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
func_audiohookinherit: Document some missed sources.
authorJonathan Rose <jrose@digium.com>
Mon, 24 Sep 2012 21:12:28 +0000 (21:12 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 24 Sep 2012 21:12:28 +0000 (21:12 +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

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

apps/app_mixmonitor.c
funcs/func_audiohookinherit.c

index 9ebea1a85555225ceb1aae5ca2be9d9a73772c8d..50da59306952a02f0fe1c5d5f39c001d861e2bea 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 073c5c46f51313ded96c86b1f49811502f7d97b9..f3a5b61892b81c18be4df7be8561744bcc2c5851 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>