<br><br><div><span class="gmail_quote">2007/8/12, Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Aug 12, 2007 at 02:07:15AM +0300, Giedrius Augys wrote:<br>> Hi,<br>> I have debian etch 4.0 machine (2.6.18) with two TW-ISDN PCI (Hfc) cards. I<br>> use bristuff-0.3.0-PRE-1y-e (asterisk-1.2.17,libpri-1.2.4
,zaptel-1.2.16). I<br>> also have patched zaphfc with zaphfc_0.4.0-test1_florz-13.diff.gz (I load<br>> module: insmod /usr/src/bristuff-0.3.0-PRE-1y-e/zaphfc/zaphfc.ko modes=1<br>> debug=1). So i want to test two cards and make loop between them. So one
<br>> card would be NT, another TE. My configurations:<br>> /etc/zaptel.conf:<br>><br>> loadzone=lt<br>> defaultzone=lt<br>> span=1,1,3,ccs,ami<br>> bchan=1-2<br>> dchan=3<br>> span=2,0,3,ccs,ami
<br>> bchan=4-5<br>> dchan=6<br>><br>> /etc/asterisk/zapata.conf<br>> [channels]<br>><br>> switchtype = euroisdn<br>> ; p2mp NT mode<br>> signalling = bri_net_ptmp<br>><br>> echocancel=yes
<br>> echotraining = 100<br>> echocancelwhenbridged=yes<br>><br>> immediate=yes<br>> group = 1<br>> context=from-internal<br>> channel => 1-2<br>><br>> signalling = bri_cpe_ptmp<br>> group = 2
<br>> context=from-internal<br>> channel => 4-5<br><br>Are the spans actually up?<br><br>What is the ouput of:<br><br> pri show span 1<br> pri show span 2<br><br>--<br> Tzafrir Cohen<br>icq#16849755
<a href="mailto:jabber:tzafrir@jabber.org">jabber:tzafrir@jabber.org</a><br>+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br><a href="http://www.xorcom.com">http://www.xorcom.com
</a> <a href="http://iax:guest@local.xorcom.com/tzafrir">iax:guest@local.xorcom.com/tzafrir</a><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>This is more information, I think it helps you:<br><br>pbx*CLI> pri show span 1<br>Primary D-channel: 3<br>Status: Provisioned, Up, Active<br>Switchtype: EuroISDN<br>Type: Network (PtMP)<br>
Overlap Dial: 0<br>T200 Timer: 1000<br>T203 Timer: 10000<br>T305 Timer: 30000<br>T308 Timer: 4000<br>T313 Timer: 4000<br>N200 Counter: 3<br><br><br>pbx*CLI> pri show span 2<br>Primary D-channel: 6<br>Status: Provisioned, Down, Active
<br>Switchtype: EuroISDN<br>Type: CPE (PtMP)<br>Window Length: 0/7<br>Sentrej: 0<br>SolicitFbit: 0<br>Retrans: 0<br>Busy: 0<br>Overlap Dial: 0<br>T200 Timer: 1000<br>T203 Timer: 10000<br>T305 Timer: 30000<br>T308 Timer: 4000
<br>T313 Timer: 4000<br>N200 Counter: 3<br><br><br><br>pbx:/etc/asterisk# cat /proc/zaptel/*<br>Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [NT] layer 1 ACTIVATED (G3)" AMI/CCS<br><br> 1 ZTHFC1/0/1 Clear (In use)
<br> 2 ZTHFC1/0/2 Clear (In use)<br> 3 ZTHFC1/0/3 HDLCFCS (In use)<br>Span 2: ZTHFC2 "HFC-S PCI A ISDN card 1 [TE] layer 1 DEACTIVATED (F5)" AMI/CCS<br><br> 4 ZTHFC2/0/1 Clear (In use)
<br> 5 ZTHFC2/0/2 Clear (In use)<br> 6 ZTHFC2/0/3 HDLCFCS (In use)<br><br>