Analog card configuration¶
Limitations¶
- XiVO does not support hardware echocanceller on the TDM400 card. Users of TDM400 card willing to setup an echocanceller will have to use a software echocanceller like OSLEC.
Verifications¶
Verify that one of the {wctdm,wctdm24xxp}
module is uncommented in /etc/dahdi/modules
depending on the card you installed in your server.
If it wasn’t, do again the step Load the correct DAHDI modules
Note
Analog cards work with card module. You must add the appropriate card module to your analog card. Either:
- an FXS module (for analog equipment - phones, …),
- an FXO module (for analog line)
Generate DAHDI configuration¶
Issue the command:
dahdi_genconf
Warning
it will erase all existing configuration in /etc/dahdi/system.conf
and /etc/asterisk/dahdi-channels.conf
files !
Configure¶
DAHDI system.conf configuration¶
First step is to check /etc/dahdi/system.conf
file:
- check the span numbering,
See detailed explanations of this file in the /etc/dahdi/system.conf section.
Below is an example for a typical FXS analog line span:
# Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5"
fxoks=32
echocanceller=mg2,32
Asterisk dahdi-channels.conf configuration¶
Then you have to modify the /etc/asterisk/dahdi-channels.conf
file:
remove the unused lines like:
context = default group = 63
change the
context
andcallerid
lines if needed,the
signalling
should be one of:fxo_ks
for FXS lines -yes it is the reversefxs_ks
for FXO lines - yes it is the reverse
Below is an example for a typical french PRI line span:
; Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5"
signalling=fxo_ks
callerid="Channel 32" <4032>
mailbox=4032
group=5
context=default
channel => 32
Next step¶
Now that you have configured your PRI card:
- you must check if you need to follow one of the Specific configuration sections below,
- then, if you have another type of card to configure, you can go back to the configure your card section,
- if you have configured all your card you have to configure the DAHDI interconnections in the web interface.
Specific configuration¶
FXS modules¶
If you use FXS modules you should create the file /etc/modprobe.d/xivo-tdm
and insert the line:
options DAHDI_MODULE_NAME fastringer=1 boostringer=1
Where DAHDI_MODULE_NAME is the DAHDI module name of your card (e.g. wctdm for a TDM400P).
FXO modules¶
If you use FXO modules you should create file /etc/modprobe.d/xivo-tdm
:
options DAHDI_MODULE_NAME opermode=FRANCE
Where DAHDI_MODULE_NAME is the DAHDI module name of your card (e.g. wctdm for a TDM400P).