Newer
Older
; DAHDI Telephony Configuration file
; You need to restart Asterisk to re-configure the DAHDI channel
; CLI> module reload chan_dahdi.so
; will reload the configuration file, but not all configuration options
; are re-configured during a reload (signalling, as well as PRI and
; SS7-related settings cannot be changed on a reload).
Sean Bright
committed
;
; This file documents many configuration variables. Normally unless you know
; what a variable means or that it should be changed, there's no reason to
; un-comment those lines.
;
; Examples below that are commented out (those lines that begin with a ';' but
; no space afterwards) typically show a value that is not the default value,
; but would make sense under certain circumstances. The default values are
; usually sane. Thus you should typically not touch them unless you know what
; they mean or you know you should change them.
Mark Spencer
committed
[trunkgroups]
;
Jeff Peeler
committed
; Trunk groups are used for NFAS connections.
Mark Spencer
committed
;
Sean Bright
committed
; Group: Defines a trunk group.
; trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...]
Mark Spencer
committed
;
; trunkgroup is the numerical trunk group to create
Sean Bright
committed
; dchannel is the DAHDI channel which will have the
Mark Spencer
committed
; d-channel for the trunk.
; backup1 is an optional list of backup d-channels.
;
;trunkgroup => 1,24,48
Mark Spencer
committed
;
; Spanmap: Associates a span with a trunk group
; spanmap => <dahdispan>,<trunkgroup>[,<logicalspan>]
Mark Spencer
committed
;
; dahdispan is the DAHDI span number to associate
Mark Spencer
committed
; trunkgroup is the trunkgroup (specified above) for the mapping
; logicalspan is the logical span number within the trunk group to use.
; if unspecified, no logical span number is used.
;
;spanmap => 1,1,1
;spanmap => 2,1,2
;spanmap => 3,1,3
;spanmap => 4,1,4
[channels]
;
; Default language
;
;language=en
;
; Context for incoming calls. Defaults to 'default'
context=public
; national: National ISDN 2 (default)
; dms100: Nortel DMS100
; 4ess: AT&T 4ESS
; 5ess: Lucent 5ESS
; euroisdn: EuroISDN (common in Europe)
; ni1: Old National ISDN 1
; qsig: Q.SIG
;switchtype=euroisdn
Richard Mudgett
committed
; MSNs for ISDN spans. Asterisk will listen for the listed numbers on
; incoming calls and ignore any calls not listed.
; Here you can give a comma separated list of numbers or dialplan extension
; patterns. An empty list disables MSN matching to allow any incoming call.
; Only set on PTMP CPE side of ISDN span if needed.
; The default is an empty list.
;msn=
;
; Some switches (AT&T especially) require network specific facility IE.
; Supported values are currently 'none', 'sdn', 'megacom', 'tollfreemegacom', 'accunet'
; nsf cannot be changed on a reload.
;
;service_message_support=yes
; Enable service message support for channel. Must be set after switchtype.
;
; Dialing options for ISDN (i.e., Dial(DAHDI/g1/exten/options)):
; R Reverse Charge Indication
; Indicate to the called party that the call will be reverse charged.
; K(n) Keypad digits n
; Send out the specified digits as keypad digits.
Tilghman Lesher
committed
; PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan, used for
; the dialed number. Leaving this as 'unknown' (the default) works for most
; cases. In some very unusual circumstances, you may need to set this to
; 'dynamic' or 'redundant'.
;
; unknown: Unknown
; private: Private ISDN
; local: Local ISDN
; national: National ISDN
; international: International ISDN
; dynamic: Dynamically selects the appropriate dialplan using the
; prefix settings.
; redundant: Same as dynamic, except that the underlying number is not
; changed (not common)
;
; pridialplan cannot be changed on reload.
;pridialplan=unknown
Tilghman Lesher
committed
;
Sean Bright
committed
; PRI Local Dialplan: Only RARELY used for PRI (sets the calling number's
Tilghman Lesher
committed
; 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.
;
; unknown: Unknown
; private: Private ISDN
; local: Local ISDN
Tilghman Lesher
committed
; national: National ISDN
; from_channel: Use the CALLERID(ton) value from the channel.
; dynamic: Dynamically selects the appropriate dialplan using the
; prefix settings.
Sean Bright
committed
; redundant: Same as dynamic, except that the underlying number is not
; changed (not common)
; prilocaldialplan cannot be changed on reload.
Sean Bright
committed
;
; PRI Connected Line Dialplan: Sets the connected party number's numbering plan.
;
; unknown: Unknown
; private: Private ISDN
; local: Local ISDN
; national: National ISDN
; international: International ISDN
; from_channel: Use the CONNECTEDLINE(ton) value from the channel.
; dynamic: Dynamically selects the appropriate dialplan using the
; prefix settings.
; redundant: Same as dynamic, except that the underlying number is not
; changed (not common)
;
; pricpndialplan cannot be changed on reload.
;pricpndialplan=from_channel
;
; pridialplan may be also set at dialtime, by prefixing the dialed number with
Tilghman Lesher
committed
; one of the following letters:
; U - Unknown
; I - International
Tilghman Lesher
committed
; N - National
; L - Local (Net Specific)
; S - Subscriber
; V - Abbreviated
; R - Reserved (should probably never be used but is included for completeness)
Tilghman Lesher
committed
;
; Additionally, you may also set the following NPI bits (also by prefixing the
; dialed string with one of the following letters):
Tilghman Lesher
committed
; u - Unknown
Tilghman Lesher
committed
; e - E.163/E.164 (ISDN/telephony)
; x - X.121 (Data)
; f - F.69 (Telex)
Tilghman Lesher
committed
; n - National
; p - Private
Tilghman Lesher
committed
; r - Reserved (should probably never be used but is included for completeness)
Tilghman Lesher
committed
;
; You may also set the prilocaldialplan in the same way, but by prefixing the
; Caller*ID Number rather than the dialed number.
; Please note that telcos which require this kind of additional manipulation
; of the TON/NPI are *rare*. Most telco PRIs will work fine simply by
; setting pridialplan to unknown or dynamic.
Tilghman Lesher
committed
;
; PRI caller ID prefixes based on the given TON/NPI (dialplan)
; This is especially needed for EuroISDN E1-PRIs
Sean Bright
committed
;
; None of the prefix settings can be changed on reload.
;
Sean Bright
committed
; sample 1 for Germany
;internationalprefix = 00
;nationalprefix = 0
;localprefix = 0711
;privateprefix = 07115678
Sean Bright
committed
;unknownprefix =
;
Sean Bright
committed
; sample 2 for Germany
;internationalprefix = +
;nationalprefix = +49
;localprefix = +49711
;privateprefix = +497115678
Sean Bright
committed
;unknownprefix =
;
; PRI resetinterval: sets the time in seconds between restart of unused
Kevin P. Fleming
committed
; B channels; defaults to 'never'.
;
Sean Bright
committed
;resetinterval = 3600
;
; Enable per ISDN span to force a RESTART on a channel that returns a cause
; code of PRI_CAUSE_REQUESTED_CHAN_UNAVAIL(44). If this option is enabled
Loading
Loading full blame...