it should work for sip channel too. I recorded the downlink channel in wav-format. Does the rx or txgain ajusting only work with alaw or ulaw? <br>
<br><br><div class="gmail_quote">2011/3/7 Faisal Hanif <span dir="ltr">&lt;<a href="mailto:faisal@vopium.com">faisal@vopium.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">This settings are for ISDN configurations I think.</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Felix Dong<br>

<b>Sent:</b> Monday, March 07, 2011 6:07 PM</span></p><div><div></div><div class="h5"><br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] Loudness of recorded wav-audio</div>

</div><p></p><div><div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt">I tried to ajust the tx- and rxgain for the sip peer in sip.conf. And restarted the asterisk. But it takes no effect. Any suggestion?<br>

<br></p><div><p class="MsoNormal">2011/3/4 Danny Nicholas &lt;<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>&gt;</p><div><div><p class="MsoNormal"><span style="font-size:10.0pt;color:navy">Defaults are 0.0 (leave volume unchanged)  +values make volume louder, - softer.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:navy"> </span></p><div><div class="MsoNormal" align="center" style="text-align:center"><hr size="2" width="100%" align="center"></div><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Felix Dong<br>

<b>Sent:</b> Friday, March 04, 2011 8:55 AM</span></p><div><div><p class="MsoNormal"><span style="font-size:10.0pt"><br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] Loudness of recorded wav-audio</span></p>

</div></div></div><div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">Could yoz tell me the default value of rxgain or txgain, if there is no rxgain or txgain in conf-data defined?<br><br>Von meinem iPad gesendet</p>

</div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>Am 04.03.2011 um 15:34 schrieb &quot;Danny Nicholas&quot; &lt;<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>&gt;:</p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">

<div><p class="MsoNormal"><span style="font-size:10.0pt;color:navy">In sip.conf, add rxgain=-4.0 to the peer.  This (feel free to correct) should reduce the incoming volume by 4 decibels. You’ll have to do a “sip reload” for this to take effect.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:navy"> </span></p><div><div class="MsoNormal" align="center" style="text-align:center"><hr size="2" width="100%" align="center"></div><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Felix Dong<br>

<b>Sent:</b> Friday, March 04, 2011 8:33 AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] Loudness of recorded wav-audio</span></p></div><p class="MsoNormal">

 </p><div><p class="MsoNormal" style="margin-bottom:12.0pt">Thank you! How can I reduce the RXgain?</p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>Am 04.03.2011 um 15:21 schrieb &quot;Danny Nicholas&quot; &lt;<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>&gt;:</p>

</div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><div><div class="MsoNormal" align="center" style="text-align:center"><hr size="2" width="100%" align="center"></div><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Felix Dong<br>

<b>Sent:</b> Friday, March 04, 2011 2:31 AM<br><b>To:</b> <a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br><b>Subject:</b> [asterisk-users] Loudness of recorded wav-audio</span></p>

</div><p class="MsoNormal"> </p><p class="MsoNormal">Hello,</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I sent a wav-audio to Asterisk though SIP and ISDN channels and recorded it in wav-audio at the Asterisk server. I found the loudness level of the recorded audio was too high comparing with the orginal audio. How can I ajust it, so that there will be no amplifier used for recording.</p>

</div><div><p class="MsoNormal">Thanks a lot.</p></div><div><p class="MsoNormal"><br clear="all">best regards<br><br>Felix </p><p class="MsoNormal"><span style="font-size:10.0pt;color:navy"> </span></p><p class="MsoNormal">

<span style="font-size:10.0pt;color:navy">two options are:</span></p><ol start="1" type="1"><li class="MsoNormal" style="color:navy"><span style="font-size:10.0pt">reduce RXgain – assuming your are using Record() command</span></li>

<li class="MsoNormal" style="color:navy"><span style="font-size:10.0pt">use sox to reduce the volume;  something like sox –v .8 file1.wav file2.wav</span></li></ol><p class="MsoNormal" style="margin-left:.25in"><span style="font-size:10.0pt;color:navy"> </span></p>

</div></div></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>

New to Asterisk? Join us for a live introductory webinar every Thurs:<br>              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p></div></blockquote></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">

<div><p class="MsoNormal">--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>

New to Asterisk? Join us for a live introductory webinar every Thurs:<br>              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p></div></blockquote></div></div></div></div><p class="MsoNormal"><br>--<br>

_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br>

              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p>

</div><p class="MsoNormal"> </p></div></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>