User Tools

Site Tools


плата_openvox_d130

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
плата_openvox_d130 [2018/02/02 09:39]
val
плата_openvox_d130 [2021/03/25 08:35] (current)
val
Line 1: Line 1:
 ====== Плата OpenVox D130 ====== ====== Плата OpenVox D130 ======
  
 +  * [[https://​ru.wikipedia.org/​wiki/​%D0%A6%D0%B8%D1%84%D1%80%D0%BE%D0%B2%D0%BE%D0%B9_%D0%BF%D0%BE%D1%82%D0%BE%D0%BA_E1|Цифровой поток E1]]
 +  * [[http://​docs.tzafrir.org.il/​dahdi-tools/​README.html|DAHDI Telephony Interface Driver]]
   * [[http://​www.openvox.cn/​products/​telephony-cards/​digital-cards/​157-d130-series|OpenVox D130 Series]]   * [[http://​www.openvox.cn/​products/​telephony-cards/​digital-cards/​157-d130-series|OpenVox D130 Series]]
   * [[http://​www.openvox.cn/​pub/​documents/​manuals/​D130P_DE130P_on_DAHDI_User_Manual.pdf|D130P_DE130P_on_DAHDI_User_Manual]]   * [[http://​www.openvox.cn/​pub/​documents/​manuals/​D130P_DE130P_on_DAHDI_User_Manual.pdf|D130P_DE130P_on_DAHDI_User_Manual]]
Line 37: Line 39:
   * [[Плата Digium TDM]]   * [[Плата Digium TDM]]
  
 +Channels in DAHDI devices (such as DAHDI PCI cards) are groups to logical units called "​spans"​ (for example: a port in a digital card is a span).
 +
 +span => <​Number>,<​Timing>,<​Line BuildOut>,<​Framing>,<​Coding>​[,​Yellow]
 +
 +Timing:
 +
 +This determines how timing is handled by the card.
 +
 +  * 0 - Порт является источником синхронизации
 +  * 1 - Получает синхронизацию с удаленной станции
 +
 +Line BuildOut:
 +
 +The line build-out (or LBO) is an integer, from the following table:
 +
 +<​code>​
 +0: 0 db (CSU) / 0-133 feet (DSX-1)
 +1: 133-266 feet (DSX-1)
 +2: 266-399 feet (DSX-1)
 +3: 399-533 feet (DSX-1)
 +4: 533-655 feet (DSX-1)
 +5: -7.5db (CSU)
 +6: -15db (CSU)
 +7: -22.5db (CSU)
 +</​code>​
 +Framing:
 +
 +ccs - Common Channel Signaling (CCS) over a digital PRI. It is the transmission of signaling information out of the information band. ISDN Q.931 signaling is referred to as a CCS
 +
 +Coding:
 +
 +hdb3 - high density bipolar of order 3 - один из способов линейного кодирования,​ применяется при передаче данных на расстояние по цифровому каналу связи
 +
 +crc4: Cyclic redundancy check - алгоритм нахождения контрольной суммы, предназначенный для проверки целостности данных
 +
 +termtype: setting is for TE or NT (the default is TE), TE - cpe signallingget and get timing from the remote party, NT - provide timing to the remote party
  
 <​code>​ <​code>​
-cat /​etc/​dahdi/​system.conf+cat /​etc/​dahdi/​system.conf
 </​code><​code>​ </​code><​code>​
-..+# Autogenerated by /​usr/​sbin/​dahdi_genconf on Wed Apr 25 10:11:25 2018 
-span=1,​1,​0,​ccs,​hdb3,​crc4+# 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: D115/0/1 "D115 (E1/T1) Card 0 Span 1" (MASTER) CCS/​HDB3/​CRC4 ClockSource 
 +span=1,​1,​0,​ccs,​hdb3,​crc4 
 +span=1,​1,​0,​ccs,​hdb3
 # termtype: te # termtype: te
 bchan=1-15,​17-31 bchan=1-15,​17-31
 dchan=16 dchan=16
 +
 +alaw=1-15
 +alaw=17-31
 +
 echocanceller=mg2,​1-15,​17-31 echocanceller=mg2,​1-15,​17-31
-...+ 
 +# Global data 
 + 
 +loadzone ​       = ru 
 +defaultzone ​    = ru 
 </​code><​code>​ </​code><​code>​
 # cat /​etc/​asterisk/​dahdi-channels.conf # cat /​etc/​asterisk/​dahdi-channels.conf
 </​code><​code>​ </​code><​code>​
 ... ...
-group=0,11 +;​Порядок строк играет роль!!! 
-context=from-pstn+group=0 
 +context=default
 switchtype = euroisdn switchtype = euroisdn
 signalling = pri_cpe signalling = pri_cpe
 +overlapdial=incoming
 channel => 1-15,17-31 channel => 1-15,17-31
-context = default 
-group = 63 
 ... ...
 +</​code><​code>​
 +# dahdi_scan -vvvvv
 +
 +# dahdi_cfg -v
 +</​code>​
 +!!!! Иногда помогает "​холодный"​ рестарт !!!!
 +<​code>​
 +# dahdi_scan -vvvvv
 +
 +# service asterisk restart
 +</​code><​code>​
 +e1*CLI> dahdi show status
 +</​code><​code>​
 +Description ​                             Alarms ​ IRQ    bpviol CRC    Fra Codi Options ​ LBO
 +D115 (E1/T1) Card 0 Span 1               ​OK ​     0      0      771    CCS HDB3 CRC4     0 db (CSU)/0-133 feet (DSX-1)
 </​code><​code>​ </​code><​code>​
 # cat /​etc/​asterisk/​extensions.conf # cat /​etc/​asterisk/​extensions.conf
Line 69: Line 139:
  
 [from-pstn] [from-pstn]
-exten => s,​1,​WaitExten(8) +exten => _4XX,​1,​Goto(default,​${EXTEN},​1)
-exten => _XX,​1,​Goto(default,​4${EXTEN},1)+
 </​code>​ </​code>​
плата_openvox_d130.1517553547.txt.gz · Last modified: 2018/02/02 09:39 by val