keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

Elastix 1.3-2 + DE410Px4張的問題

15 years 2 months ago #2684 by teva
我的系統是Elastix 1.3-2 + Asterisk 1.4.22 + zaptel 1.4.11
我裝了四張 DE410P
執行 ztcfg -vvvv 出現 line 101: Timing should be a number from 0 to 15, not '16'
硬體無法啟動
15 years 2 months ago #2685 by james.zhu
hello,
你重新设置一下zaptel。conf 文件。 运行 genzaptelconf -sdvM 试试。
james.zhu

15 years 2 months ago #2686 by teva
以下是我設定的 zaptel.conf 的檔案

# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,3,0,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
dchan=78

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
dchan=109

# Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1"
span=5,5,0,ccs,hdb3,crc4
# termtype: te
bchan=125-139,141-155
dchan=140

# Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2"
span=6,6,0,ccs,hdb3,crc4
# termtype: te
bchan=156-170,172-186
dchan=171

# Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3"
span=7,7,0,ccs,hdb3,crc4
# termtype: te
bchan=187-201,203-217
dchan=202

# Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4"
span=8,8,0,ccs,hdb3,crc4
# termtype: te
bchan=218-232,234-248
dchan=233

# Span 9: TE4/2/1 "T4XXP (PCI) Card 2 Span 1"
span=9,9,0,ccs,hdb3,crc4
# termtype: te
bchan=249-263,265-279
dchan=264

# Span 10: TE4/2/2 "T4XXP (PCI) Card 2 Span 2"
span=10,10,0,ccs,hdb3,crc4
# termtype: te
bchan=280-294,296-310
dchan=295

# Span 11: TE4/2/3 "T4XXP (PCI) Card 2 Span 3"
span=11,11,0,ccs,hdb3,crc4
# termtype: te
bchan=311-325,327-341
dchan=326

# Span 12: TE4/2/4 "T4XXP (PCI) Card 2 Span 4"
span=12,12,0,ccs,hdb3,crc4
# termtype: te
bchan=342-356,358-372
dchan=357

# Span 13: TE4/3/1 "T4XXP (PCI) Card 3 Span 1"
span=13,13,0,ccs,hdb3,crc4
# termtype: te
bchan=373-387,389-403
dchan=388

# Span 14: TE4/3/2 "T4XXP (PCI) Card 3 Span 2"
span=14,14,0,ccs,hdb3,crc4
# termtype: te
bchan=404-418,420-434
dchan=419

# Span 15: TE4/3/3 "T4XXP (PCI) Card 3 Span 3"
span=15,15,0,ccs,hdb3,crc4
# termtype: te
bchan=435-449,451-465
dchan=450

# Span 16: TE4/3/4 "T4XXP (PCI) Card 3 Span 4"
span=16,16,0,ccs,hdb3,crc4
# termtype: te
bchan=466-480,482-496
dchan=481

# Global data

loadzone = us
defaultzone = us

執行 genzaptelconf -sdvM 後

Shutting down asterisk: [FAILED]
Unloading zaptel modules:

Temporarily moving zaptel.conf aside to work around broken modprobe.conf
Test Loading modules:
ok wct4xxp
- wcte12xp
- wcte11xp
- wct1xxp
- wanpipe
- tor2
- torisa
- qozap
- vzaphfc
- zaphfc
- ztgsm
- wctdm24xxp
- wctdm
- opvxa1200
- wcfxo
- pciradio
- wcusb
- xpp_usb
- ystdm8xx
- zma8xx
- ztd-ethmf -ethmf_args

Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================


Channel map:


0 channels to configure.

- r4fxo

Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================


Channel map:


0 channels to configure.

- rcbfx

Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================


Channel map:


0 channels to configure.

- r1t1

Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================


Channel map:


0 channels to configure.

- rxt1
Updating modules list in zaptel init config /etc/sysconfig/zaptel.
Generating '/etc/zaptel.conf and /etc/asterisk/zapata-channels.conf'
Reconfiguring identified channels
Notice: Configuration file is /etc/zaptel.conf
line 101: Timing should be a number from 0 to 15, not '16'

1 error(s) detected

SETTING FILE PERMISSIONS Asterisk
Permissions Asterisk OK
Starting asterisk: [ OK ]
Checking channels configured in Asterisk:
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
[root@elastix ~]# mpg123: no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.
一直持續跳出
Asterisk ended with exit status 1
Asterisk died with code 1.
15 years 2 months ago #2687 by james.zhu
span=16,15,0,ccs,hdb3,crc4
regards!
James.zhu

15 years 2 months ago #2688 by miaolin
我建议你改成这样试试:

# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,3,0,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
dchan=78

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
dchan=109

# Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1"
span=5,1,0,ccs,hdb3,crc4
# termtype: te
bchan=125-139,141-155
dchan=140

# Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2"
span=6,2,0,ccs,hdb3,crc4
# termtype: te
bchan=156-170,172-186
dchan=171

# Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3"
span=7,3,0,ccs,hdb3,crc4
# termtype: te
bchan=187-201,203-217
dchan=202

# Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4"
span=8,4,0,ccs,hdb3,crc4
# termtype: te
bchan=218-232,234-248
dchan=233

# Span 9: TE4/2/1 "T4XXP (PCI) Card 2 Span 1"
span=9,1,0,ccs,hdb3,crc4
# termtype: te
bchan=249-263,265-279
dchan=264

# Span 10: TE4/2/2 "T4XXP (PCI) Card 2 Span 2"
span=10,2,0,ccs,hdb3,crc4
# termtype: te
bchan=280-294,296-310
dchan=295

# Span 11: TE4/2/3 "T4XXP (PCI) Card 2 Span 3"
span=11,3,0,ccs,hdb3,crc4
# termtype: te
bchan=311-325,327-341
dchan=326

# Span 12: TE4/2/4 "T4XXP (PCI) Card 2 Span 4"
span=12,4,0,ccs,hdb3,crc4
# termtype: te
bchan=342-356,358-372
dchan=357

# Span 13: TE4/3/1 "T4XXP (PCI) Card 3 Span 1"
span=13,1,0,ccs,hdb3,crc4
# termtype: te
bchan=373-387,389-403
dchan=388

# Span 14: TE4/3/2 "T4XXP (PCI) Card 3 Span 2"
span=14,2,0,ccs,hdb3,crc4
# termtype: te
bchan=404-418,420-434
dchan=419

# Span 15: TE4/3/3 "T4XXP (PCI) Card 3 Span 3"
span=15,3,0,ccs,hdb3,crc4
# termtype: te
bchan=435-449,451-465
dchan=450

# Span 16: TE4/3/4 "T4XXP (PCI) Card 3 Span 4"
span=16,4,0,ccs,hdb3,crc4
# termtype: te
bchan=466-480,482-496
dchan=481

还有,一台机器插4块卡可能会有问题,asterisk 跑500个并发可能会很不稳定,建议每台机器插1到2块卡
15 years 2 months ago #2689 by teva
改了之後是可以了!不過我又增加了四張卡片,以下是執行ztcfg -vvvv後的狀態
Notice: Configuration file is /etc/zaptel.conf
line 101: Timing should be a number from 0 to 15, not '16'
line 107: Timing should be a number from 0 to 15, not '17'
line 113: Timing should be a number from 0 to 15, not '18'
line 119: Timing should be a number from 0 to 15, not '19'
line 125: Timing should be a number from 0 to 15, not '20'
line 131: Timing should be a number from 0 to 15, not '21'
line 137: Timing should be a number from 0 to 15, not '22'
line 143: Timing should be a number from 0 to 15, not '23'
line 149: Timing should be a number from 0 to 15, not '24'
line 155: Timing should be a number from 0 to 15, not '25'
line 161: Timing should be a number from 0 to 15, not '26'
line 167: Timing should be a number from 0 to 15, not '27'
line 173: Timing should be a number from 0 to 15, not '28'
line 179: Timing should be a number from 0 to 15, not '29'
line 185: Timing should be a number from 0 to 15, not '30'
line 191: Timing should be a number from 0 to 15, not '31'
line 197: Timing should be a number from 0 to 15, not '32'
Time to create page: 0.038 seconds
Powered by Kunena Forum