~ubuntu-branches/ubuntu/saucy/dahdi-tools/saucy

« back to all changes in this revision

Viewing changes to genconf_parameters.sample

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Michel Dault, Tzafrir Cohen
  • Date: 2009-08-25 03:55:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090825035555-0m2rh06tcm6pfmzq
Tags: 1:2.2.0-1ubuntu1
* Merge from debian pkg-voip (2.2.0 final)
* Change maintainer and standards version
* Since the init script needs /dev/dahdi, require either dahdi-dkms or
  dahdi-source.

* Debian changes

 [ Tzafrir Cohen ]
 * New upstream release.
 * Patch bashism: fixes bashism in waitfor_xpds (Closes: #535865).
 * Patch hardware_rescan: backport Dahdi::Hardware->rescan()
 * Patch no_extra_at: backport of a per/xpp fix. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# /etc/dahdi/genconf_parameters
 
3
#
 
4
# This file contains parameters that affect the
 
5
# dahdi_genconf configuration generator.
 
6
#
 
7
# Syntax:
 
8
#       * A comment from '#' to end of line
 
9
#       * Blank lines ignored
 
10
#       * Whitespace at end of line trimmed
 
11
#       * Single valued items:
 
12
#            key <whitespace...> value
 
13
#       * List valued items:
 
14
#            key
 
15
#            <whitespace...>value1
 
16
#            <whitespace...>value2
 
17
#            ...
 
18
#
 
19
 
 
20
# When generating extensions for chan_dahdi.conf or users.conf etc: the 
 
21
# extension number will be channel_number+base_exten . The default is:
 
22
#base_exten             4000
 
23
#
 
24
# Make FXS (analog phones) extensions answer immediately (sets
 
25
# 'immediate = yes' for them in chan_dahdi.conf). Don't enable this before 
 
26
# you're read documentation about this option.
 
27
#fxs_immediate          yes
 
28
#
 
29
# For FXS (analog phones) - use KS or LS? ks is the only method for
 
30
# Asterisk to provide disconnect supervision and thus it would normally
 
31
# be preferred and is the default.
 
32
#fxs_default_start      ls
 
33
#
 
34
# For FXO (analog lines) - use KS or LS? KS is the default and is
 
35
# normally the better choice as it allows detecting hang-ups on many
 
36
# lines.
 
37
#fxo_default_start      ls
 
38
 
 
39
# Set tone zone values. This is used for playing tones (busy, dial-tone
 
40
# and such). The default is 'us'. This sets the value for both loadzone
 
41
# and defaultzone in system.conf .
 
42
#lc_country             il
 
43
 
 
44
# The dialplan context into which to send trunks in chan_dahdi.conf or
 
45
# users.conf. The default value is:
 
46
#context_lines          from-pstn
 
47
#
 
48
# The dialplan context into which to send extensions in chan_dahdi.conf or
 
49
# users.conf. The default value is:
 
50
#context_phones         from-internal
 
51
#
 
52
# Two extra contexts for the input ports and output ports of an
 
53
# Astribank. Default values are:
 
54
#context_input          astbank-input
 
55
#context_output         astbank-output
 
56
 
 
57
# A group to put all analog phones in. By default 0, so you can dial to
 
58
# the 'first phone available' using Dahdi/g5 .
 
59
#group_phones           5
 
60
#
 
61
# A group in which to put all the channels belonging to some trunk.
 
62
# Thus you can dial through "some trunk" using Dahdi/G0/NUMBER
 
63
#group_lines            0
 
64
 
 
65
# Channels of digital trunk of span N are also added to group 10+N (that 
 
66
# is: 14 for channels of span 4).
 
67
 
 
68
# Do we want to use PtP ('bri') or PtMP ('bri_ptmp') for BRI? PtMP 
 
69
# allows connecting several CPE devices on the same network device 
 
70
# (several BRI phones on the same line, kind of like several analog 
 
71
# phones on the same analog line). However it is generally brings 
 
72
# unnecessary complexity for a pbx-pbx connection. It is still the 
 
73
# default as this is normally what you get for a BRI PSTN connection.
 
74
#bri_sig_style          bri
 
75
#
 
76
# If this option is set (that is: not remmed-out), BRI NT ports will 
 
77
# also be set as overlap. This is useful if you want to connect ISDN 
 
78
# phones.
 
79
#brint_overlap
 
80
 
 
81
# The echo canceler to use. If you have a hardware echo canceler, just 
 
82
# leave it be, as this one won't be used anyway.
 
83
#
 
84
# The default is mg2, but it may change in the future. E.g: a packager
 
85
# that bundles a better echo canceler may set it as the default, or
 
86
# dahdi_genconf will scan for the "best" echo canceler.
 
87
#
 
88
#echo_can               hpec
 
89
#echo_can               oslec
 
90
#echo_can               none  # to avoid echo canceler altogether
 
91
 
 
92
# bri_hardhdlc:
 
93
#   'yes'  - forces BRI cards to use 'hardhdlc' signalling.
 
94
#   'no'   - forces BRI cards to use 'dchan' (an alias for 'fcshdlc').
 
95
#            It is usefull only for dahdi with the bristuff patch.
 
96
#
 
97
# If it is left out or set to 'auto':
 
98
#   * Information supplied by the driver is used to decide:
 
99
#     - Currently implemented for Astribanks.
 
100
#     - Taken from /sys/bus/xpds/drivers/bri/dchan_hardhdlc.
 
101
#   * Without this info, falls back to 'hardhdlc'.
 
102
#bri_hardhdlc           auto
 
103
 
 
104
# For MFC/R2 Support: 'R2' will make E1 spans CAS and with the
 
105
# 'r2_idle_bits' bit in system.conf . It will also make dahdi_genconf default
 
106
# to generating the channels of this card in unicall.conf rather than in
 
107
# chan_dahdi.conf . The meaning of this may be extended somehow to support
 
108
# R2 through openr2/chan_dahdi later on.
 
109
#pri_connection_type    R2
 
110
#r2_idle_bits           1101
 
111
 
 
112
# pri_termtype contains a list of settings:
 
113
# Currently the only setting is for TE or NT (the default is TE). This
 
114
# sets two different but normally related configuration items:
 
115
 
116
# A TE span will have *_cpe signalling in Asterisk and will also get
 
117
# timing from the remote party.
 
118
 
119
# A NT span will have *_new signalling in Asterisk and will provide
 
120
# timing to the remote party.
 
121
#
 
122
# pri_termtype is a list if span specs and configuration (TE/NT) for
 
123
# them. The first spec that matches is used. The matching is of perl
 
124
# regular expressions, but with '*' and '?' have their meaning from
 
125
# basic regular expressions.
 
126
#pri_termtype
 
127
#       SPAN/2          NT
 
128
#       SPAN/4          NT
 
129
#
 
130
#pri_termtype
 
131
#       SPAN/*          NT
 
132
#