Skip to content
Snippets Groups Projects
chan_dahdi.conf.sample 68 KiB
Newer Older
Mark Spencer's avatar
Mark Spencer committed
;
; 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).
; 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.
; Trunk groups are used for NFAS connections.
;        trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...]
;
;        trunkgroup  is the numerical trunk group to create
;        dchannel    is the DAHDI channel which will have the
;                    d-channel for the trunk.
;        backup1     is an optional list of backup d-channels.
;
;trunkgroup => 1,24,48
;trunkgroup => 1,24
;
; Spanmap: Associates a span with a trunk group
;        spanmap => <dahdispan>,<trunkgroup>[,<logicalspan>]
;        dahdispan   is the DAHDI span number to associate
;        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

Mark Spencer's avatar
Mark Spencer committed
[channels]
;
; Default language
;
;language=en
;
; Context for incoming calls. Defaults to 'default'
Mark Spencer's avatar
Mark Spencer committed
;
Mark Spencer's avatar
Mark Spencer committed
;
; Switchtype:  Only used for PRI.
;
; 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
Mark Spencer's avatar
Mark Spencer committed
;
Mark Spencer's avatar
Mark Spencer 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.
; 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
; PRI Local Dialplan:  Only RARELY used for PRI (sets the calling number's
; 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.
;
Mark Spencer's avatar
Mark Spencer committed
; unknown:        Unknown
; private:        Private ISDN
; local:          Local ISDN
Mark Spencer's avatar
Mark Spencer committed
; international:  International ISDN
; from_channel:   Use the CALLERID(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
Mark Spencer's avatar
Mark Spencer committed
;
; prilocaldialplan cannot be changed on reload.
;prilocaldialplan=national
; 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
; one of the following letters:
; U - Unknown
; I - International
; N - National
; L - Local (Net Specific)
; S - Subscriber
; V - Abbreviated
; R - Reserved (should probably never be used but is included for completeness)
;
; Additionally, you may also set the following NPI bits (also by prefixing the
; dialed string with one of the following letters):
; e - E.163/E.164 (ISDN/telephony)
; x - X.121 (Data)
; f - F.69 (Telex)
; r - Reserved (should probably never be used but is included for completeness)
;
; 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.
; PRI caller ID prefixes based on the given TON/NPI (dialplan)
; This is especially needed for EuroISDN E1-PRIs
; None of the prefix settings can be changed on reload.
;
;internationalprefix = 00
;nationalprefix = 0
;localprefix = 0711
;privateprefix = 07115678
;internationalprefix = +
;nationalprefix = +49
;localprefix = +49711
;privateprefix = +497115678
; PRI resetinterval: sets the time in seconds between restart of unused
; 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...