diff --git a/res/res_agi.c b/res/res_agi.c index 213805ed37..d5393fc68b 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -599,7 +599,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Enables/Disables the music on hold generator. If class is not specified, then the default music on hold class will be - used. + used. This generator will be stopped automatically when playing a file. Always returns 0. @@ -649,7 +649,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Send the given file, allowing playback to be interrupted by the given digits, if any. Returns 0 if playback completes without a digit being pressed, or the ASCII numerical value of the digit if one was pressed, - or -1 on error or if the channel was disconnected. + or -1 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. control stream file