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

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

apps/app_mixmonitor.c
funcs/func_audiohookinherit.c

index b694cbb1ca9c99becf9c1528d0e5b20295e8aa7b..d53cac6811286c848e7a1314f4d487296a89b7dc 100644 (file)
@@ -119,6 +119,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>
@@ -130,6 +135,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 59faa90198aef8f279276e72168c79b7750654b4..f43310bbbc23bfdad223b7284946bf3a3da0e60a 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>