]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 373990 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Fri, 28 Sep 2012 12:27:46 +0000 (12:27 +0000)
committerAutomerge script <automerge@asterisk.org>
Fri, 28 Sep 2012 12:27:46 +0000 (12:27 +0000)
file:///srv/subversion/repos/asterisk/branches/10

................
  r373990 | file | 2012-09-28 07:15:48 -0500 (Fri, 28 Sep 2012) | 8 lines

  Update documentation to make it explicit that "stream file" will not restart musiconhold.

  (issue ASTERISK-17367)
  Reported by: oej
  ........

  Merged revisions 373989 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

res/res_agi.c

index edc48962514521306115a1c200c5103e37599298..bec8f01a20dbf74b8781727196578ce310ee8a80 100644 (file)
@@ -598,7 +598,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                <description>
                        <para>Enables/Disables the music on hold generator. If <replaceable>class</replaceable>
                        is not specified, then the <literal>default</literal> music on hold class will be
-                       used.</para>
+                       used. This generator will be stopped automatically when playing a file.</para>
                        <para>Always returns <literal>0</literal>.</para>
                </description>
        </agi>
@@ -648,7 +648,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        <para>Send the given file, allowing playback to be interrupted by the given
                        digits, if any. Returns <literal>0</literal> if playback completes without a digit
                        being pressed, or the ASCII numerical value of the digit if one was pressed,
-                       or <literal>-1</literal> on error or if the channel was disconnected.</para>
+                       or <literal>-1</literal> on error or if the channel was disconnected. If
+                       musiconhold is playing before calling stream file it will be automatically
+                       stopped and will not be restarted after completion.</para>
                </description>
                <see-also>
                        <ref type="agi">control stream file</ref>