<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>I compiled it, and it's WORKING. </DIV>
<DIV>Thanks.</DIV>
<DIV> </DIV>
<DIV>But, I would realy realy realy like that somebody explain to
me <STRONG>how is exactly that bug hidden in those two segments?
</STRONG>Where is difference? </DIV>
<DIV>Anybody?</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT color=#ff0000>1)</FONT></DIV>
<DIV>if (!IS_DIGITAL(ast->transfercapability))
{<BR>set_actual_gain(p->subs[SUB_REAL].zfd, 0, p->rxgain, p->txgain,
p->law); </DIV>
<DIV>} else { </DIV>
<DIV>set_actual_gain(p->subs[SUB_REAL].zfd, 0, 0, 0, p->law);
} </DIV>
<DIV> </DIV>
<DIV><FONT color=#ff0000>2)</FONT></DIV>
<DIV>if (IS_DIGITAL(ast->transfercapability))
{<BR>set_actual_gain(p->subs[SUB_REAL].zfd, 0, 0, 0, p->law); </DIV>
<DIV>} else {</DIV>
<DIV>set_actual_gain(p->subs[SUB_REAL].zfd, 0, p->rxgain, p->txgain,
p->law); } <BR></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>----- Original Message ----- </FONT>
<DIV><FONT size=2>From: "Koopmann, Jan-Peter" <</FONT><A
href="mailto:Jan-Peter.Koopmann@seceidos.de"><FONT
size=2>Jan-Peter.Koopmann@seceidos.de</FONT></A><FONT size=2>></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></DIV><FONT size=2>> You are right, only
outgoing calls!<BR>> I found lines that you mentioned, but I do not
understand where is<BR>> difference? In current chan_zap.c I read: <BR>>
<BR>> if (!IS_DIGITAL(ast->transfercapability)) {<BR>>
set_actual_gain(p->subs[SUB_REAL].zfd, 0, p->rxgain, p->txgain,<BR>>
p->law); } else { set_actual_gain(p->subs[SUB_REAL].zfd, 0, 0, 0,<BR>>
p->law); } <BR>> <BR>> And your suggestion is:<BR>>
<BR>> if (IS_DIGITAL(ast->transfercapability)) {<BR>>
set_actual_gain(p->subs[SUB_REAL].zfd, 0, 0, 0, p->law); } else {<BR>>
set_actual_gain(p->subs[SUB_REAL].zfd, 0, p->rxgain, p->txgain,<BR>>
p->law); } <BR>> <BR>> Which is the same thing but
invertedly written. I'm not a programmer,<BR>> so I may be wrong (maybe
IS_DIGITAL could be NULL), but I would like<BR>> to understand difference in
those two segments. <BR><BR>I know. It sounds crazy. Trust me though.
Somehow the original does not work. This fix is from the bristuff developer
himself and it does work.<BR><BR>Regards,<BR> JP<BR></FONT></BODY></HTML>