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

D410P connected to two different carriers

11 years 9 months ago #8211 by LazyCharles
您好,

我使用HP主機,加上 D410P,用E1協議連接兩個不同的電信,第一條E1總在30分鐘~1小時,就變成Down的狀態(剛啟動Asterisk的時候,是Up,Actived,但是有錯誤訊息,可撥打)。
同樣的這種 PRI E1 (euroisdn) 我碰到第二次了,第一次沒找到答案,對方拆機。
狀況一樣,使用的都是 Elastix 2.0.3,光盤直接安裝,並沒有進行更新。

套件版本為:
asterisk-1.6.2.13-0
dahdi-2.3.0.1-3
libpri-1.4.11.4-0
/var/log/asterisk/full 在附加的 rar 檔案內。

# asterisk -rx "pri show spans" <======= 剛啟動的時候
PRI span 1/0: Provisioned, Up, Active
PRI span 2/0: Provisioned, Up, Active

# asterisk -rx "pri show spans" <======= 約半小時~一小時後,出問題的時候
PRI span 1/0: Provisioned, Down, Active
PRI span 2/0: Provisioned, Up, Active

我使用了 pri intense debug span 1 與 pri set debug on span 1
得到後面的 debug messages, E1的訊息我看不太懂,可否告知一下是該調整什麼參數?
電信方面表示送過去的Q.931訊息有問題,可是工程師可能也不熟,並不能告知詳細狀況(估計也未必是Q.931的問題)。

# lspci
00:00.0 Host bridge: Broadcom CMIC-HE (rev 22)
00:00.1 Host bridge: Broadcom CMIC-HE
00:00.2 Host bridge: Broadcom CMIC-HE
00:00.3 Host bridge: Broadcom CMIC-HE
00:02.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 01)
00:02.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 01)
00:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 ISA bridge: Broadcom CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 Host bridge: Broadcom CSB5 LPC bridge
00:10.0 Host bridge: Broadcom CIOB30 (rev 03)
00:10.2 Host bridge: Broadcom CIOB30 (rev 03)
00:11.0 Host bridge: Broadcom CIOB30 (rev 03)
00:11.2 Host bridge: Broadcom CIOB30 (rev 03)
01:01.0 RAID bus controller: Compaq Computer Corporation Smart Array 5i/532 (rev 01)
02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet (rev 10)
02:1e.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 14)
06:1e.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 14)
0a:02.0 Communication controller: Digium, Inc. Wildcard TE410P/TE412P quad-span T1/E1/J1 card 3.3V (rev 02)
# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 178800176 0 0 0 IO-APIC-edge timer
1: 9 0 0 0 IO-APIC-edge i8042
6: 5 0 0 0 IO-APIC-edge floppy
8: 1 0 0 0 IO-APIC-edge rtc
9: 0 0 0 0 IO-APIC-level acpi
11: 0 0 0 0 IO-APIC-level ohci_hcd:usb1
12: 114 0 0 0 IO-APIC-edge i8042
14: 1592860 0 0 0 IO-APIC-edge ide0
169: 1190184 0 0 0 IO-APIC-level cciss0
177: 0 0 0 0 IO-APIC-level hpilo
185: 1 0 0 0 IO-APIC-level cpqphp
193: 1 0 0 0 IO-APIC-level cpqphp
201: 28300642 0 0 0 IO-APIC-level eth0
209: 178841932 0 0 0 IO-APIC-level wct4xxp
NMI: 0 0 0 0
LOC: 178769153 178769222 178769283 178769282
ERR: 0
MIS: 0

===> FILE: /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 29 14:19:17 2012
# 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: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4 RED
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31
# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=oslec,32-46,48-62
# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS/CRC4 RED
span=3,3,0,ccs,hdb3
# termtype: te
bchan=63-77,79-93
dchan=78
echocanceller=oslec,63-77,79-93
# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" (MASTER) HDB3/CCS/CRC4
span=4,4,0,ccs,hdb3
# termtype: te
bchan=94-108,110-124
dchan=109
echocanceller=oslec,94-108,110-124
# Global data
loadzone = us
defaultzone = us

===> FILE: /etc/asterisk/chan_dahdi.conf
; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]
[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
resetinterval=120
;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3

immediate=no
#include dahdi-channels.conf
#include chan_dahdi_additional.conf

===> FILE: /etc/asterisk/dahdi-channels.conf
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/CCS/CRC4 RED
group=0,11
context=from-pstn
;priexclusive = yes
;pritimer => t200,1000
;pritimer => t313,4000
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63
; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS/CRC4 RED
;group=0,13
;context=from-pstn
;switchtype = euroisdn
;signalling = pri_cpe
;channel => 63-77,79-93
;context = default
;group = 63
; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" (MASTER) HDB3/CCS/CRC4
;group=0,14
;context=from-pstn
;switchtype = euroisdn
;signalling = pri_cpe
;channel => 94-108,110-124
;context = default
;group = 63
Attachments:
11 years 9 months ago #8213 by tim.june
Pls send ssh info to my email: This email address is being protected from spambots. You need JavaScript enabled to view it.
BTW, add me with IM below:
QQ: 2283703418
MSN: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
Time to create page: 0.038 seconds
Powered by Kunena Forum