summaryrefslogtreecommitdiff
path: root/zaptel.conf.sample
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-03 10:57:00 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-03 10:57:00 +0000
commit7e31ef6658d7c7e0b15e7eed84a04847565f22cd (patch)
tree5a3d201d9a45773e26752695704a6cd5399e68fa /zaptel.conf.sample
parent0361aa0ed06eb5fa4588ca336838954a98c36832 (diff)
* Document 'mulaw', 'alaw' and 'deflaw' in the sample config file.
* Fix spacing in the README. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3916 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.conf.sample')
-rw-r--r--zaptel.conf.sample17
1 files changed, 15 insertions, 2 deletions
diff --git a/zaptel.conf.sample b/zaptel.conf.sample
index 3a10217..4905337 100644
--- a/zaptel.conf.sample
+++ b/zaptel.conf.sample
@@ -229,5 +229,18 @@ defaultzone=us
# # We are all done with our channel parameters, so now we specify what
# # channels they apply to
# channels=1-4
-
-
+#
+# Overiding PCM encoding:
+# Usually the channel driver sets the encoding of the PCM for the
+# channel (mulaw / alaw. That is: g711u or g711a). However there are
+# some cases where you would like to override that. 'mulaw' and 'alaw'
+# set different such encoding. Use them for channels you have already
+# defined with e.g. 'bchan' or 'fxoks'.
+#mulaw=1-4
+#alaw=1-4
+#
+# 'deflaw' is similar, but resets the encoding to the channel driver's
+# default. It must be useful for something, I guess.
+#mulaw=1-10
+#deflaw=5
+#