<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV>><I> I am trying to obtain optimum gain settings for a bank of analog
lines<BR></I>><I> connected to a channel bank. My telco has provided a 'Type
102' test line to<BR></I>><I> use for incoming level calibration. This is
functionally equivalent to app<BR></I>><I> Milliwatt(), but provides tone
from the CO inwards.<BR></I>><I> <BR></I>><I> Question is, how should one
use this a 0dbm test source with ztmonitor? Am I<BR></I>><I> correct in
understanding that a 0dbm level should provide a 100% drive in<BR></I>><I>
the level monitor, not a 50% drive as is otherwise 'optimum' for
regular<BR></I>><I> voice traffic? <BR></I><BR><SPAN
class=468030607-22082005><FONT face=Arial size=2>Yes, that is correct. the
0dbm level should provide 100% drive in the level monitor. Actually, I
found it to be more than 100%. The grahical display was at 100% but the
quantative reading only read about 6000. I needed to add a couple db to
the rx gain to get it to around 14500. It you are running Asterisk v1.0.9
you only need to edit one line in your usr/src/zaptel/ztmonitor.c file and then
recompile the zaptel driver.</FONT></SPAN><SPAN class=468030607-22082005></DIV>
<DIV>
<DIV><SPAN class=312105306-22082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=312105306-22082005><FONT face=Arial size=2>Change line
261</FONT></SPAN></DIV>
<DIV><SPAN class=312105306-22082005><SPAN class=468030607-22082005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=312105306-22082005>fprintf(stderr, "Usage: ztmonitor
<channel num> [-v] [-f FILE]\n");<BR><FONT face=Arial
size=2></FONT></SPAN></DIV>
<DIV><SPAN class=312105306-22082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=312105306-22082005><FONT face=Arial
size=2>to</FONT></SPAN></DIV>
<DIV><SPAN class=312105306-22082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=312105306-22082005>fprintf(stderr, "Usage: ztmonitor
<channel num> [-v | -f FILE]\n");</SPAN></DIV><SPAN
class=312105306-22082005></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN
class=312105306-22082005></SPAN></SPAN> </DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2>Recompile</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2>cd /usr/src/zaptel</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2>make && make install</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2>Run ztmonitor in verbose mode</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2>./ztmonitor 1 -vv</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2>and you should see RX and TX levels in number form on the
right hand side</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468030607-22082005><SPAN class=312105306-22082005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468030607-22082005><SPAN
class=312105306-22082005></SPAN> </DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV></SPAN></BODY></HTML>