This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
плата_digium_tdm [2018/01/30 08:43] val |
плата_digium_tdm [2021/03/23 07:46] (current) val |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Плата Digium TDM ====== | ====== Плата Digium TDM ====== | ||
+ | * [[https://wiki.asterisk.org/wiki/display/DAHDI/DAHDI|Digium Asterisk Hardware Device Interface (DAHDI)]] | ||
* [[http://www.pbxware.ru/catalog/platy_digium/analogovye_platy/plata_digium_a4a00f/|Плата Digium A4A00F]] | * [[http://www.pbxware.ru/catalog/platy_digium/analogovye_platy/plata_digium_a4a00f/|Плата Digium A4A00F]] | ||
* [[http://www.asteriskguru.com/tutorials/wildcard_tdm400p.html|How to install and configure Wildcard TDM400p]] | * [[http://www.asteriskguru.com/tutorials/wildcard_tdm400p.html|How to install and configure Wildcard TDM400p]] | ||
* [[https://www.mikeslab.net/?p=381|Asterisk 13/DAHDI: Setting up an FXO Channel]] | * [[https://www.mikeslab.net/?p=381|Asterisk 13/DAHDI: Setting up an FXO Channel]] | ||
* [[http://parabel.ru/articles/echo/|Эхоподавление в Asterisk]] | * [[http://parabel.ru/articles/echo/|Эхоподавление в Asterisk]] | ||
+ | * [[https://en.wikipedia.org/wiki/Loop_start|Loop start, Kewlstart]] | ||
См. /* http://www.asteriskguru.com/tutorials/resolving_hangup_detection_problems_fxo_tdm_voicemail.html */ комментарий | См. /* http://www.asteriskguru.com/tutorials/resolving_hangup_detection_problems_fxo_tdm_voicemail.html */ комментарий | ||
Line 10: | Line 12: | ||
<code> | <code> | ||
$ lspci | grep TDM | $ lspci | grep TDM | ||
- | 01:0a.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11) | + | 01:09.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11) |
</code><code> | </code><code> | ||
- | $ dmesg | grep 0000:01:0a.0 | + | $ dmesg | grep 01:09.0 |
[ 0.153287] pci 0000:01:0a.0: [d161:8005] type 00 class 0x020000 | [ 0.153287] pci 0000:01:0a.0: [d161:8005] type 00 class 0x020000 | ||
[ 0.153304] pci 0000:01:0a.0: reg 0x10: [io 0xe800-0xe8ff] | [ 0.153304] pci 0000:01:0a.0: reg 0x10: [io 0xe800-0xe8ff] | ||
Line 31: | Line 33: | ||
# init 6 | # init 6 | ||
</code><code> | </code><code> | ||
- | $ dmesg | grep 0000:01:0a.0 | + | $ dmesg | grep 01:09.0 |
... | ... | ||
[ 12.263151] wctdm24xxp 0000:01:0a.0: Port 1: Installed -- AUTO FXS/DPO | [ 12.263151] wctdm24xxp 0000:01:0a.0: Port 1: Installed -- AUTO FXS/DPO | ||
Line 76: | Line 78: | ||
port=4,FXO | port=4,FXO | ||
</code><code> | </code><code> | ||
- | # cat /etc/dahdi/system.conf | + | # less /etc/dahdi/system.conf |
</code><code> | </code><code> | ||
- | ... | + | # Autogenerated by /usr/sbin/dahdi_genconf on Mon Jul 2 16:09:11 2018 |
+ | # If you edit this file and execute /usr/sbin/dahdi_genconf again, | ||
+ | # your manual changes will be LOST. | ||
+ | # Dahdi Configuration File | ||
+ | # | ||
+ | # This file is parsed by the Dahdi Configurator, dahdi_cfg | ||
+ | # | ||
+ | # Span 1: WCTDM/0 "Wildcard TDM410P" (MASTER) | ||
fxoks=1 | fxoks=1 | ||
echocanceller=oslec,1 | echocanceller=oslec,1 | ||
+ | # channel 2, WCTDM/0/1, no module. | ||
+ | # channel 3, WCTDM/0/2, no module. | ||
fxsks=4 | fxsks=4 | ||
echocanceller=oslec,4 | echocanceller=oslec,4 | ||
- | ... | + | |
+ | # Global data | ||
+ | |||
+ | loadzone = us | ||
+ | defaultzone = us | ||
</code><code> | </code><code> | ||
# ls -l /dev/dahdi/channel | # ls -l /dev/dahdi/channel | ||
Line 103: | Line 118: | ||
;;; line="1 WCTDM/0/0 FXOKS" | ;;; line="1 WCTDM/0/0 FXOKS" | ||
signalling=fxo_ks | signalling=fxo_ks | ||
- | callerid="Ivanov I I" <101> | + | callerid="Ivan Ivanov" <101> |
context=default | context=default | ||
channel => 1 | channel => 1 | ||
Line 127: | Line 142: | ||
exten => 102,1,Dial(DAHDI/2) | exten => 102,1,Dial(DAHDI/2) | ||
- | exten => _1XX,1,Dial(DAHDI/4/${EXTEN}) | + | exten => _1XX/101,1,Dial(DAHDI/4/${EXTEN}) |
+ | |||
+ | exten => _1XX/102,1,Dial(DAHDI/3/${EXTEN}) | ||
[from-101] | [from-101] | ||
Line 138: | Line 155: | ||
</code><code> | </code><code> | ||
[modules] | [modules] | ||
- | ... | ||
;bug ubuntu 16 | ;bug ubuntu 16 | ||
noload => res_pjsip.so | noload => res_pjsip.so |