From 2c28f7a92253555afeeeb7c75f5ba3cbf5212c10 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Mon, 27 Mar 2017 10:35:15 -0400 Subject: [PATCH] res_musiconhold: Document the 'format' option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ASTERISK-26086 #close Reported by: Jens Bürger Change-Id: I6aab666c0bf01fd0c64d7a5bcb22fa7f5d41335e --- configs/samples/musiconhold.conf.sample | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/samples/musiconhold.conf.sample b/configs/samples/musiconhold.conf.sample index 1211c8a6da..8b2202de54 100644 --- a/configs/samples/musiconhold.conf.sample +++ b/configs/samples/musiconhold.conf.sample @@ -79,7 +79,11 @@ directory=moh ;[ulawstream] ;mode=custom ;application=/usr/bin/streamplayer 192.168.100.52 888 -;format=ulaw +;format=ulaw ; The 'format' option specifies the audio format that the +; ; 'application' will provide to Asterisk. In this example, +; ; streamplayer will output ulaw samples so we need to set the +; ; format to ulaw so that Asterisk knows how to interpret the +; ; incoming audio. ; mpg123 on Solaris does not always exit properly; madplay may be a better ; choice