[Asterisk-Users] E1 ISDN Problem

asterisk at saback.com asterisk at saback.com
Sat Mar 26 22:02:25 MST 2005


Hi All,



I am installing a Zaptel Quad E1 card with ISDN PRI in Brazil and I’m with
this problem:



Asterisk CLI :



Mar 27 01:49:57 WARNING[2612]: chan_zap.c:7143 zt_pri_error: PRI: !! No
channel map, no channel, and no ds1?  W

hat am I supposed to identify?

Mar 27 01:49:57 WARNING[2612]: chan_zap.c:7143 zt_pri_error: PRI: !!
Unable to add IE 'Channel Identification'

  == Restart on requested on entire span 1



== Restart on requested on entire span 1

    -- Executing Dial("SIP/6666-2d30", "Zap/5/88028709|20") in new stack

    -- Called 5/88028709

    -- Channel 0/5, span 1 got hangup

    -- Forcing restart of channel 0/5 on span 1 since channel reported in use

    -- Hungup 'Zap/5-1'

  == No one is available to answer at this time

    -- Executing Congestion("SIP/6666-2d30", "") in new stack

Mar 27 01:55:31 ERROR[2612]: cdr_csv.c:222 csv_log: Unable to re-open
master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied

    -- B-channel 0/5 successfully restarted on span 1



The light at the end of the card is green and the physical layer is UP.



Any tip?







I have this configs:

==========================================================

dmesg output:



zaptel: no version for "struct_module" found: kernel tainted.

Zapata Telephony Interface Registered on major 196

ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 21 (level, low) -> IRQ 185

Detected Tormenta 2 Quad T1/PRI or E1/PRA at 0xdc001000/0xdc002000 irq 185

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 0 (United States / North America)

==========================================================

ztcfg –vv



Zaptel Configuration

======================



SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)



Channel map:



Channel 01: Individual Clear channel (Default) (Slaves: 01)

Channel 02: Individual Clear channel (Default) (Slaves: 02)

Channel 03: Individual Clear channel (Default) (Slaves: 03)

Channel 04: Individual Clear channel (Default) (Slaves: 04)

Channel 05: Individual Clear channel (Default) (Slaves: 05)

Channel 06: Individual Clear channel (Default) (Slaves: 06)

Channel 07: Individual Clear channel (Default) (Slaves: 07)

Channel 08: Individual Clear channel (Default) (Slaves: 08)

Channel 09: Individual Clear channel (Default) (Slaves: 09)

Channel 10: Individual Clear channel (Default) (Slaves: 10)

Channel 11: Individual Clear channel (Default) (Slaves: 11)

Channel 12: Individual Clear channel (Default) (Slaves: 12)

Channel 13: Individual Clear channel (Default) (Slaves: 13)

Channel 14: Individual Clear channel (Default) (Slaves: 14)

Channel 15: Individual Clear channel (Default) (Slaves: 15)

Channel 16: D-channel (Default) (Slaves: 16)

Channel 17: Individual Clear channel (Default) (Slaves: 17)

Channel 18: Individual Clear channel (Default) (Slaves: 18)

Channel 19: Individual Clear channel (Default) (Slaves: 19)

Channel 20: Individual Clear channel (Default) (Slaves: 20)

Channel 21: Individual Clear channel (Default) (Slaves: 21)

Channel 22: Individual Clear channel (Default) (Slaves: 22)

Channel 23: Individual Clear channel (Default) (Slaves: 23)

Channel 24: Individual Clear channel (Default) (Slaves: 24)

Channel 25: Individual Clear channel (Default) (Slaves: 25)

Channel 26: Individual Clear channel (Default) (Slaves: 26)

Channel 27: Individual Clear channel (Default) (Slaves: 27)

Channel 28: Individual Clear channel (Default) (Slaves: 28)

Channel 29: Individual Clear channel (Default) (Slaves: 29)

Channel 30: Individual Clear channel (Default) (Slaves: 30)

Channel 31: Individual Clear channel (Default) (Slaves: 31)



31 channels configured.



==========================================================



/etc/zaptel.conf



pan=1,0,0,ccs,hdb3

bchan=1-15

dchan=16

bchan=17-31

loadzone=us

defaultzone=us



==========================================================

/etc/asterisk/zapata.conf



[channels]

language=us

context=default

switchtype=euroisdn

;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to
unknown.

pridialplan=unknown

prilocaldialplan=unknown

signalling=pri_cpe

usecallerid=yes

hidecallerid=no

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=yes

rxgain=0.0

txgain=0.0

group=1

callgroup=1

pickupgroup=1

immediate=no



group = 1

channel => 1-15

channel => 17-31



asterisk01*CLI> zap show channel 1

Channel: 1*CLI>

File Descriptor: 14

Span: 1k01*CLI>

Extension: CLI>

Dialing: noCLI>

Context: default

Caller ID string:

Destroy: 0*CLI>

InAlarm: 0*CLI>

Signalling Type: PRI Signalling

Owner: <None>I>

Real: <None>LI>

Callwait: <None>

Threeway: <None>

Confno: -1*CLI>

Propagated Conference: -1

Real in conference: 0

DSP: nok01*CLI>

Relax DTMF: no

Dialing/CallwaitCAS: 0/0

Default law: alaw

Fax Handled: no

Pulse phone: no

Echo Cancellation: 128 taps, currently OFF

PRI Flags:

PRI Logical Span: Implicit

Actual Hookstate: Onhook







More information about the asterisk-users mailing list