<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Faiz,<br>
<br>
I had the same problem with my Linux and I fixed it up lowring
DBLevels. DBLevels = -100 are silence levels and they do nothing...
Follows my new tones:<br>
<br>
static VPB_TONE Dialtone = {425, 0, 0, -12, -100, -100, 10000, 0};<br>
static VPB_TONE Busytone = {425, 0, 0, -12, -100, -100, 500, 300};<br>
static VPB_TONE Ringbacktone = {425, 0, 0, -12, -100, -100, 100, 100};<br>
<br>
<br>
Daniel<br>
<br>
<br>
Ahmad Faiz wrote:<br>
<blockquote type="cite"
cite="midDJEKLFIKLNDGADJGNHPJCEFOCEAA.afaiz@bridge-cti.com">
<blockquote type="cite">
<pre wrap="">The problem is at channels/chan_vpb.c. Look at the Dialtone, Busytone
and Ringbacktone arrays. On this arrays, you have a DB Level equal to
zero but VPB driver accepts DBLevels < 0. So you have to change the DB
Levels to anything less than 0. I suggest -12 (minus 12) that is the
default DBLevel for VPBs boards.
Daniel
</pre>
</blockquote>
<pre wrap=""><!---->
Based on the VPB helpfile that came on the windows driver package (should
also apply to linux-based installations), under the section "Tone Detector
Limits", the minlevel1 and minlevel2 parameters of the tone detector have a
maximum level of 0, so the tone definitions look to be ok, from a
maximum-value perspective.
However I think the problem lies in the fact that the Busytone and
Ringbacktone have values that are (possibly?) outside the valid range of DB
levels; as came on my version of asterisk, these two tones in chan_vpb.c
both had a value of -100 for the second and third tone levels respectively.
Setting this to a value of around -15 to -5 seems to do the trick.
Bear in mind i'm using the OpenLine-based cards; not sure if the same will
apply to the OpenSwitch cards though.
Faiz
_______________________________________________
Asterisk-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Dev@lists.digium.com">Asterisk-Dev@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a>
</pre>
</blockquote>
</body>
</html>