Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita
lunes, 26 de enero de 2015
How to Configure a Digium T1/E1 Card to Use E&M Signalling
How to Configure a Digium T1/E1 Card to Use E&M Signalling
Configuring a Digium T1/E1 Card (models TE12x, TE13x, TE2xx, TE4xx,
TE82x) to use E&M signalling requires editing two files:
/etc/dahdi/system.conf to configure DAHDI and
/etc/asterisk/chan_dahdi.conf to configure Asterisk. DAHDI Configuration
For T1 Lines:
Open (or create if it doesn't exist) the /etc/dahdi/system.conf file using your text editor of choice (vi, vim, nano)
Add the following sections, depending on how many spans your T1 card has:
Note: The Span option configures various timing, framing and
encoding parameters. The first digit indicates which physical span
(port) is being configured. The second digit indicates whether the span
is receiving or providing timing: 1 configures the card to receive timing, 0 configures the card to provide timing. The third digit is the Line Build Out (LBO) distance: the distance from the telco drop to the span. ESF and B8ZS are the framing and encoding parameters for a standard T1 line.
To apply this configuration, either restart the dahdi service or run dahdi_cfg -vvv as root.
For E1 Lines:
Open (or create if it doesn't exist) the /etc/dahdi/system.conf file using your text editor of choice (vi, vim, nano)
Add the following sections, depending on how many spans your E1 card has:
Note: The Span option configures various timing, framing and
encoding parameters. The first digit indicates which physical span
(port) is being configured. The second digit indicates whether the span
is receiving or providing timing: 1 configures the card to receive
timing, 0 configures the card to provide timing. The third digit is the
Line Build Out (LBO) distance: the distance from the telco drop to the
span. CCS and HDB3 are the framing and encoding parameters for a
standard E1 line. CRC4 enables error checking on the line and is often
standard for E1 digital connections.
To apply this configuration, either restart the dahdi service or run dahdi_cfg -vvv as root.
Asterisk Configuration
Configuring Asterisk to use the channels depends on several parameters.
These parameters can be placed in the [channels] section of the
/etc/asterisk/chan_dahdi.conf file, or in their own square-bracket
defined section in the same file.
callerid: For T1/E1 lines, this should be set to asreceived.
context: The dialplan context, defined in extensions.conf, that the section is associated with.
signalling: If the span is configured in DAHDI to provide timing, this parameter should be set to pri_net. Otherwise, if the span is configured to receive timing, this parameter should be set to pri_cpe.
switchtype: For a T1 configuration, there are several possible
settings. The switchtype will depend on your telco's configuration. The
default is national, for National ISDN 2 switching. See below
for other possible switchtype options. For an E1 configuration, there is
only one setting: euroisdn.
No hay comentarios:
Publicar un comentario