rendered paste bodythanks a lot
now I am not sure that my card is not work well.
Do you have E400P card?
the configure file is attachment.
I think the hardware is not work well
2M line is ok.I have connect the line to CISOC as5300,the line is ok
thanks a lot
==============================================================
[root@gateway ~]# uname -a
Linux gateway 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux
==============================================================
#dmesg
ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 7 (level, low) -> IRQ 7
Detected Tormenta 2 Quad T1/PRI or E1/PRA at 0xe2044000/0xe2045000 irq 7
Xilinx Chip successfully loaded, configured and started!!
Tormenta 2 Quad E1/PRA Card
Detected Card number: 0
Tor2: Launching card: 0
Registered Tormenta2 PCI
Registered tone zone 4 (United Kingdom)
==============================================================
[root@gateway ~]# ztcfg -v
Zaptel Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
62 channels configured.
==============================================================
# zttool
Current Alarms: No alarms.
Sync Source: Tormenta 2 (PCI) Quad E1 Car
IRQ Misses: 0
Bipolar Viol: 0
Tx/Rx Levels: 0/ 0
Total/Conf/Act: 456 31/ 31/ 0012
Tx 1111111111222222222333
Tx 1234567890123456789012345789012
TxA ------------------------------
==============================================================
./pritest /dev/zap/16
Sending Set Asynchronous Balanced Mode Extended
> [ 00 01 7f ]
> Unnumbered frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ]
> 0 bytes of data
Sending Set Asynchronous Balanced Mode Extended
> [ 00 01 7f ]
> Unnumbered frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ]
> 0 bytes of data
==============================================================
asterisk -vvvvgc
CTI> tmp is nullAug 15 20:53:03 NOTICE[4562]: app_dial.c:764 dial_exec: Unable to create channel of type 'Zap'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/2003-40ea", "") in new stack
== Spawn extension (default, 02410060, 2) exited non-zero on 'SIP/2003-40ea'
==============================================================
zaptel.conf
span=1,1,0,ccs,hdb3
span=2,2,0,ccs,hdb3
#span=3,2,0,ccs,hdb3
#span=4,2,0,ccs,hdb3
#
bchan=1-15
dchan=16
bchan=17-31
bchan=32-46
dchan=47
bchan=48-62
loadzone =uk
zapata.conf
;signalling= pri_cpe
;switchtype=euroisdn
;switchtype=5ess
;pridialplan=unknown
context=default
group=1
signalling=pri_cpe
;callerid="CallerID Phone" <2003>
channel=>1-15
channel=>17-31
group = 2
signalling=pri_cpe
channel => 32-46
channel => 48-62
;group = 3
;signalling=pri_cpe
;channel => 63-77
;channel => 79-93
;group = 4
;context=incoming
;signalling=pri_cpe
;channel => 94-108
;channel => 110-124