summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-03-27 10:35:15 -0400
committerSean Bright <sean.bright@gmail.com>2017-03-27 08:36:22 -0600
commit63a79e395a5509787174b5abf5c74d154eed1299 (patch)
treeb9892d722fd1f1361effc05e7710c872fae7507d /configs
parent3e2cd7c5932399fe6ebcf73e324dc59a171fbe72 (diff)
res_musiconhold: Document the 'format' option
ASTERISK-26086 #close Reported by: Jens Bürger Change-Id: I6aab666c0bf01fd0c64d7a5bcb22fa7f5d41335e
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/musiconhold.conf.sample6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/samples/musiconhold.conf.sample b/configs/samples/musiconhold.conf.sample
index 3df29bf69..b2980fc1d 100644
--- a/configs/samples/musiconhold.conf.sample
+++ b/configs/samples/musiconhold.conf.sample
@@ -85,7 +85,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