<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>Losing my PRI Interface every 20-30 minutes???</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Dear All,</FONT>
</P>
<P><FONT SIZE=2>I'm having a problem with my Asterisk + E100P Installation in UK (BT PRI). </FONT>
</P>
<P><FONT SIZE=2>The system functions as expected, and my dial plan works as expected. 30 minutes (or so) after starting the asterisk service I lose the PRI line, and only get this back after a service asterisk restart or reboot. During the failure there is no alarm on zttool, ztcfg show all 31 lines and there are no 'stuck' channels when I do a zap show channels. </FONT></P>
<P><FONT SIZE=2>I'm using version 0.7.1 (need some agent features that I have patched into this copy), on Red Hat 9.0. I have had this combination system working in my data center in the USA since December with no problems.</FONT></P>
<P><FONT SIZE=2>I'm not sharing an IRQ cat /proc/interrupts and there are no warnings in /var/log/messages.</FONT>
</P>
<P><FONT SIZE=2>Here is a copy of my Zapata and Zaptel.conf files;</FONT>
</P>
<P><FONT SIZE=2>The following options are switched on in my zaptel.conf;</FONT>
</P>
<P><FONT SIZE=2>#loadzone = us</FONT>
<BR><FONT SIZE=2>#loadzone=it</FONT>
<BR><FONT SIZE=2>#loadzone=fr</FONT>
<BR><FONT SIZE=2>#loadzone=de</FONT>
<BR><FONT SIZE=2>loadzone=uk</FONT>
<BR><FONT SIZE=2>#loadzone=fi</FONT>
<BR><FONT SIZE=2>#loadzone=jp</FONT>
<BR><FONT SIZE=2>#loadzone=sp</FONT>
<BR><FONT SIZE=2>#loadzone=no</FONT>
<BR><FONT SIZE=2>defaultzone=uk</FONT>
</P>
<P><FONT SIZE=2>#Dornoch ISDN</FONT>
<BR><FONT SIZE=2>span=1,1,0,ccs,hdb3,crc4</FONT>
<BR><FONT SIZE=2>bchan=1-15,17-31</FONT>
<BR><FONT SIZE=2>dchan=16</FONT>
</P>
<P><FONT SIZE=2>I have the following options in my Zapata.conf;</FONT>
</P>
<P><FONT SIZE=2>language=en</FONT>
<BR><FONT SIZE=2>switchtype=euroisdn</FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>; PRI Dialplan: Only RARELY used for PRI.</FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>; unknown: Unknown</FONT>
<BR><FONT SIZE=2>; private: Private ISDN</FONT>
<BR><FONT SIZE=2>; local: Local ISDN</FONT>
<BR><FONT SIZE=2>; national: National ISDN</FONT>
<BR><FONT SIZE=2>; international: International ISDN</FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>; I have tried both national and unknown </FONT>
<BR><FONT SIZE=2>pridialplan=unknown </FONT>
<BR><FONT SIZE=2>; </FONT>
<BR><FONT SIZE=2>overlapdial=yes </FONT>
<BR><FONT SIZE=2>signalling=pri_cpe </FONT>
<BR><FONT SIZE=2>; </FONT>
<BR><FONT SIZE=2>usecallerid=yes </FONT>
<BR><FONT SIZE=2>; </FONT>
<BR><FONT SIZE=2>threewaycalling=yes ; </FONT>
<BR><FONT SIZE=2>transfer=yes echocancel=yes </FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>echocancelwhenbridged=yes </FONT>
<BR><FONT SIZE=2>; </FONT>
<BR><FONT SIZE=2>rxgain=0.0 </FONT>
<BR><FONT SIZE=2>txgain=0.0 </FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>group=1</FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>callgroup=1</FONT>
<BR><FONT SIZE=2>pickupgroup=1</FONT>
<BR><FONT SIZE=2>immediate=no</FONT>
</P>
<P><FONT SIZE=2>; added this following a posting in news group</FONT>
<BR><FONT SIZE=2>busydetect=1</FONT>
<BR><FONT SIZE=2>busycount=7</FONT>
<BR><FONT SIZE=2>;</FONT>
<BR><FONT SIZE=2>context=inbound</FONT>
<BR><FONT SIZE=2>channel => 1-15,17-31</FONT>
</P>
<P><FONT SIZE=2>I do see these messages in the CLI, but from what I hear they are common?</FONT>
</P>
<P><FONT SIZE=2>CLI error messages;</FONT>
</P>
<P><FONT SIZE=2>May 13 03:27:51 WARNING[1192437440]: chan_zap.c:5834 zt_pri_error: PRI: Read on 49 failed: Unknown error 500</FONT>
<BR><FONT SIZE=2>May 13 03:27:53 WARNING[1192437440]: chan_zap.c:5834 zt_pri_error: PRI: Read on 49 failed: Unknown error 500</FONT>
<BR><FONT SIZE=2>May 13 03:27:55 WARNING[1192437440]: chan_zap.c:5834 zt_pri_error: PRI: Read on 49 failed: Unknown error 500</FONT>
</P>
<P><FONT SIZE=2>I would appreciate any insights from anyone who may have had and resolved a similar problem.</FONT>
</P>
<P><FONT SIZE=2>Thanks</FONT>
</P>
<P><FONT SIZE=2>Shad Mortazavi</FONT>
<BR><FONT SIZE=2>---------------------------------------------------</FONT>
<BR><FONT SIZE=2>Nexus Technical Manager</FONT>
<BR><FONT SIZE=2>n|m Nexus Management Inc </FONT>
<BR><FONT SIZE=2>Sydney</FONT>
</P>
</BODY>
</HTML>