[Asterisk-code-review] res musiconhold: Document the 'format' option (asterisk[13])

Sean Bright asteriskteam at digium.com
Mon Mar 27 09:36:10 CDT 2017


Sean Bright has uploaded a new change for review. ( https://gerrit.asterisk.org/5328 )

Change subject: res_musiconhold: Document the 'format' option
......................................................................

res_musiconhold: Document the 'format' option

ASTERISK-26086 #close
Reported by: Jens Bürger

Change-Id: I6aab666c0bf01fd0c64d7a5bcb22fa7f5d41335e
---
M configs/samples/musiconhold.conf.sample
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/5328/1

diff --git a/configs/samples/musiconhold.conf.sample b/configs/samples/musiconhold.conf.sample
index 1211c8a..8b2202d 100644
--- a/configs/samples/musiconhold.conf.sample
+++ b/configs/samples/musiconhold.conf.sample
@@ -79,7 +79,11 @@
 ;[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

-- 
To view, visit https://gerrit.asterisk.org/5328
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6aab666c0bf01fd0c64d7a5bcb22fa7f5d41335e
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>



More information about the asterisk-code-review mailing list