[asterisk-commits] jrose: branch 1.8 r373467 - in /branches/1.8: apps/ funcs/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 24 15:57:32 CDT 2012
Author: jrose
Date: Mon Sep 24 15:57:28 2012
New Revision: 373467
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=373467
Log:
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
Modified:
branches/1.8/apps/app_mixmonitor.c
branches/1.8/funcs/func_audiohookinherit.c
Modified: branches/1.8/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_mixmonitor.c?view=diff&rev=373467&r1=373466&r2=373467
==============================================================================
--- branches/1.8/apps/app_mixmonitor.c (original)
+++ branches/1.8/apps/app_mixmonitor.c Mon Sep 24 15:57:28 2012
@@ -105,6 +105,11 @@
<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>
@@ -116,6 +121,7 @@
<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">
Modified: branches/1.8/funcs/func_audiohookinherit.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/funcs/func_audiohookinherit.c?view=diff&rev=373467&r1=373466&r2=373467
==============================================================================
--- branches/1.8/funcs/func_audiohookinherit.c (original)
+++ branches/1.8/funcs/func_audiohookinherit.c Mon Sep 24 15:57:28 2012
@@ -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>
More information about the asterisk-commits
mailing list