Sunday, August 12, 2007

Re: [asterisk-users] asterisk and telewell isdn hfc problem



2007/8/12, Tzafrir Cohen <tzafrir.cohen@xorcom.com>:
On Sun, Aug 12, 2007 at 02:07:15AM +0300, Giedrius Augys wrote:
> Hi,
>  I have debian etch 4.0 machine (2.6.18) with two TW-ISDN PCI (Hfc) cards. I
> use bristuff-0.3.0-PRE-1y-e (asterisk-1.2.17,libpri-1.2.4 ,zaptel-1.2.16). I
> also have patched zaphfc with zaphfc_0.4.0-test1_florz-13.diff.gz  (I load
> module: insmod /usr/src/bristuff-0.3.0-PRE-1y-e/zaphfc/zaphfc.ko modes=1
> debug=1).   So i want to test two cards and make loop between them. So one
> card would be NT, another TE. My configurations:
> /etc/zaptel.conf:
>
> loadzone=lt
> defaultzone=lt
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3
> span=2,0,3,ccs,ami
> bchan=4-5
> dchan=6
>
> /etc/asterisk/zapata.conf
> [channels]
>
> switchtype = euroisdn
> ; p2mp NT mode
> signalling = bri_net_ptmp
>
> echocancel=yes
> echotraining = 100
> echocancelwhenbridged=yes
>
> immediate=yes
> group = 1
> context=from-internal
> channel => 1-2
>
> signalling = bri_cpe_ptmp
> group = 2
> context=from-internal
> channel => 4-5

Are the spans actually up?

What is the ouput of:

  pri show span 1
  pri show span 2

--
               Tzafrir Cohen
icq#16849755                     jabber:tzafrir@jabber.org
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com   iax:guest@local.xorcom.com/tzafrir

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

This is more information, I think it helps you:

pbx*CLI> pri show span 1
Primary D-channel: 3
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: Network (PtMP)
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3


pbx*CLI> pri show span 2
Primary D-channel: 6
Status: Provisioned, Down, Active
Switchtype: EuroISDN
Type: CPE (PtMP)
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3



pbx:/etc/asterisk# cat /proc/zaptel/*
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [NT] layer 1 ACTIVATED (G3)" AMI/CCS

           1 ZTHFC1/0/1 Clear (In use)
           2 ZTHFC1/0/2 Clear (In use)
           3 ZTHFC1/0/3 HDLCFCS (In use)
Span 2: ZTHFC2 "HFC-S PCI A ISDN card 1 [TE] layer 1 DEACTIVATED (F5)" AMI/CCS

           4 ZTHFC2/0/1 Clear (In use)
           5 ZTHFC2/0/2 Clear (In use)
           6 ZTHFC2/0/3 HDLCFCS (In use)

No comments: