aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-30 22:34:37 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-30 22:34:37 +0000
commit5992719dd669322f440f6c9d57d678301652d970 (patch)
tree35562ec28af066835eaac44f72aaefac2a59b8fe /configs
parent4c57a1ffee6898a859253c219e73052ac6d5a839 (diff)
Merged revisions 126675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r126675 | jpeeler | 2008-06-30 17:34:08 -0500 (Mon, 30 Jun 2008) | 1 line rename zapata.conf.sample to chan_dahdi.conf.sample ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@126676 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/chan_dahdi.conf.sample (renamed from configs/zapata.conf.sample)72
1 files changed, 68 insertions, 4 deletions
diff --git a/configs/zapata.conf.sample b/configs/chan_dahdi.conf.sample
index 5daf6088d..f08bca9ab 100644
--- a/configs/zapata.conf.sample
+++ b/configs/chan_dahdi.conf.sample
@@ -79,10 +79,20 @@
;
;nsf=none
;
-; PRI Dialplan: Only RARELY used for PRI.
+; PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan, used for
+; the dialed number. For most installations, leaving this as 'unknown' (the
+; default) works in the most cases. In some very unusual circumstances, you
+; may need to set this to 'dynamic' or 'redundant'. Note that if you set one
+; of the others, you will be unable to dial another class of numbers. For
+; example, if you set 'national', you will be unable to dial local or
+; international numbers.
+;
; PRI Local Dialplan: Only RARELY used for PRI (sets the calling number's
-; numbering plan)
-; pridialplan and prilocaldialplan cannot be changed on a reload.
+; numbering plan). In North America, the typical use is sending the 10 digit
+; callerID number and setting the prilocaldialplan to 'national' (the default).
+; Only VERY rarely will you need to change this.
+;
+; Neither pridialplan nor prilocaldialplan can be changed on reload.
;
; unknown: Unknown
; private: Private ISDN
@@ -93,7 +103,7 @@
; redundant: Same as dynamic, except that the underlying number is not
; changed (not common)
;
-;pridialplan=national
+;pridialplan=unknown
;prilocaldialplan=national
;
; pridialplan may be also set at dialtime, by prefixing the dialled number with
@@ -915,3 +925,57 @@ pickupgroup=1
; For more information on setting up SS7, see the README file in libss7 or
; the doc/ss7.txt file in the Asterisk source tree.
; ----------------- SS7 Options ----------------------------------------
+
+; Configuration Sections
+; ~~~~~~~~~~~~~~~~~~~~~~
+; You can also configure channels in a separate dahdi.conf section. In
+; this case the keyword 'channel' is not used. Instead the keyword
+; 'dahdichan' is used (as in users.conf) - configuration is only processed
+; in a section where the keyword dahdichan is used. It will only be
+; processed in the end of the section. Thus the following section:
+;
+;[phones]
+;echocancel = 64
+;dahdichan = 1-8
+;group = 1
+;
+; Is somewhat equivalent to the following snippet in the section
+; [channels]:
+;
+;echocancel = 64
+;group = 1
+;channel => 1-8
+;
+; When starting a new section almost all of the configuration values are
+; copied from their values at the end of the section [channels] in
+; dahdi.conf and [general] in users.conf - one section's configuration
+; does not affect another one's.
+;
+; Instead of letting common configuration values "slide through" you can
+; use configuration templates to easily keep the common part in one
+; place and override where needed.
+;
+;[phones](!)
+;echocancel = yes
+;group = 0,4
+;callgroup = 3
+;pickupgroup = 3
+;threewaycalling = yes
+;transfer = yes
+;context = phones
+;faxdetect = incoming
+;
+;[phone-1](phones)
+;dahdichan = 1
+;callerid = My Name <501>
+;mailbox = 501@mailboxes
+;
+;
+;[fax](phones)
+;dahdichan = 2
+;faxdetect = no
+;context = fax
+;
+;[phone-3](phones)
+;dahdichan = 3
+;pickupgroup = 3,4