<div dir="ltr"><div>Hi,<br></div>set the rx and tx gain 0 and check it. If possible use echo cancellation hardware . check the dahdi_test and irq of card.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 21, 2013 at 12:11 PM, james.zhu <span dir="ltr">&lt;<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>





<div bgcolor="#ffffff">
<div><font face="宋体">Hi:</font></div>
<div><font face="宋体">you have to doule sure that echo_train work with 
chan_ss7.</font></div>
<div>Best regards!<br>Connect With Sangoma<br><a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a></div>
<blockquote style="PADDING-RIGHT:0px;PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;MARGIN-RIGHT:0px">
  <div style="FONT:9pt 宋体">----- Original Message ----- </div>
  <div style="BACKGROUND:#e4e4e4;FONT:9pt 宋体"><b>From:</b> 
  <a title="bipinraghuvanshi@gmail.com" href="mailto:bipinraghuvanshi@gmail.com" target="_blank">bipin singh</a> </div>
  <div style="FONT:9pt 宋体"><b>To:</b> <a title="asterisk-ss7@lists.digium.com" href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a> 
  </div>
  <div style="FONT:9pt 宋体"><b>Sent:</b> Friday, June 21, 2013 2:04 PM</div>
  <div style="FONT:9pt 宋体"><b>Subject:</b> Re: [asterisk-ss7] Echo and Noise 
  problems with chan_ss7</div>
  <div><br></div>
  <div dir="ltr">
  <div>Hi ,<br></div>Try libss7 for ss7 signalling. <br></div>
  <div class="gmail_extra"><br><br>
  <div class="gmail_quote">On Wed, Jun 12, 2013 at 1:03 PM, Simon Handschin <span dir="ltr">&lt;<a href="mailto:simon.handschin@gmail.com" target="_blank">simon.handschin@gmail.com</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
    <div dir="ltr">Hi Everybody! 
    <div><br></div>
    <div>I have some problems with echo and noises during calls. I played a bit 
    with echo_train and echo_taps but no change. </div>
    <div><br></div>
    <div>Have someone similar problems?</div>
    <div><br></div>
    <div><br></div>
    <div>Here is my setup:</div>
    <div><br></div>
    <div>Chan_ss7 2.1.0<br></div>
    <div>
    <p><span lang="FR-CH">Asterisk 1.8.9.3</span></p>
    <p><span lang="FR-CH">Dahdi 2.6.0</span></p>
    <p><span lang="FR-CH">Sangoma A104 (No HWEC)</span></p>
    <p><span lang="FR-CH">Wanpipe 3.5.25</span></p>
    <p><span lang="FR-CH"><br></span></p>
    <p><span lang="FR-CH">ss7.conf: </span></p>
    <p>[linkset-siuc]</p>
    <p>enable_st =&gt; no</p>
    <p>use_connect =&gt; no</p>
    <p>hunting_policy =&gt; even_mru</p>
    <p>context =&gt; custom</p>
    <p>language =&gt; de</p>
    <p>t35 =&gt; 3500,st</p>
    <p>subservice =&gt; auto</p>
    <p>variant =&gt; ITU</p>
    <p><br></p>
    <p><br></p>
    <p>[link-l1]</p>
    <p>linkset =&gt; siuc</p>
    <p>channels =&gt; 2-31</p>
    <p>schannel =&gt; 1</p>
    <p>firstcic =&gt; 1</p>
    <p>enabled =&gt; yes</p>
    <p>sltm =&gt; no</p>
    <p>sls=0</p>
    <p>echocancel =&gt; allways</p>
    <p>echocan_train =&gt; 10</p>
    <p>echocan_taps =&gt; 128</p>
    <p><br></p>
    <p>[link-l2]</p>
    <p>linkset =&gt; siuc</p>
    <p>channels =&gt; 1-31</p>
    <p>schannel =&gt;</p>
    <p>firstcic =&gt; 33</p>
    <p>enabled =&gt; yes</p>
    <p>sltm =&gt; no</p>
    <p>sls=0</p>
    <p>echocancel =&gt; allways</p>
    <p>echocan_train =&gt; 10</p>
    <p>echocan_taps =&gt; 128</p>
    <p><br></p>
    <p>[link-l3]</p>
    <p>linkset =&gt; siuc</p>
    <p>channels =&gt; 1-31</p>
    <p>schannel =&gt;</p>
    <p>firstcic =&gt; 65</p>
    <p>enabled =&gt; yes</p>
    <p>sltm =&gt; no</p>
    <p>sls=0</p>
    <p>echocancel =&gt; allways</p>
    <p>echocan_train =&gt; 10</p>
    <p>echocan_taps =&gt; 128</p>
    <p><br></p>
    <p>[link-l4]</p>
    <p>linkset =&gt; siuc</p>
    <p>channels =&gt; 1-31</p>
    <p>schannel =&gt;</p>
    <p>firstcic =&gt; 97</p>
    <p>enabled =&gt; yes</p>
    <p>sltm =&gt; no</p>
    <p>sls=0</p>
    <p>echocancel =&gt; allways</p>
    <p>echocan_train =&gt; 10</p>
    <p>echocan_taps =&gt; 128</p>
    <p><br></p>
    <p>[host-SS7-1]</p>
    <p>;if-1 =&gt; 10.1.40.71</p>
    <p>enabled =&gt; yes</p>
    <p>opc =&gt; 1601</p>
    <p>dpc =&gt; siuc:300</p>
    <p>links =&gt; l1:1,l2:2,l3:3,l4:4             
           ;span 1 of dahdi/system.conf</p>
    <p>;globaltitle =&gt; 0x00, 0x03, 0x01, 7773</p>
    <p>ssn =&gt; 7</p>
    <p><br></p>
    <p><span lang="FR-CH"></span></p>
    <p><br></p>
    <p><br></p>
    <p>chan_dahdi.conf:</p>
    <p>;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit</p>
    <p>;autogenrated on 2009-03-18</p>
    <p>;Dahdi Channels Configurations </p>
    <p>;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak</p>
    <p><br></p>
    <p>[trunkgroups]</p>
    <p><br></p>
    <p>[channels]</p>
    <p>context=default</p>
    <p>usecallerid=yes</p>
    <p>hidecallerid=no</p>
    <p>callwaiting=yes</p>
    <p>usecallingpres=yes</p>
    <p>callwaitingcallerid=yes</p>
    <p>threewaycalling=yes</p>
    <p>transfer=yes</p>
    <p>canpark=yes</p>
    <p>cancallforward=yes</p>
    <p>callreturn=yes</p>
    <p>echocancel=yes</p>
    <p>echocancelwhenbridged=yes</p>
    <p>relaxdtmf=yes</p>
    <p>rxgain=8</p>
    <p>txgain=-3</p>
    <p>group=1</p>
    <p>callgroup=1</p>
    <p>pickupgroup=1</p>
    <p>immediate=no</p>
    <p>toneduration=50</p>
    <div><br></div>
    <div><br></div>
    <div>dahdi systems.conf:</div>
    <div>
    <div>#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit</div>
    <div>#autogenrated on 2009-07-23</div>
    <div>#Dahdi Channels Configurations </div>
    <div>#For detailed Dahdi options, view /etc/dahdi/system.conf.bak</div>
    <div>loadzone=de</div>
    <div>defaultzone=de</div>
    <div><br></div>
    <div>#Sangoma A104 port 1 [slot:3 bus:13 span:1] &lt;wanpipe1&gt;</div>
    <div>span=1,1,0,ccs,hdb3,crc4</div>
    <div>bchan=2-31</div>
    <div>mtp2=1</div>
    <div>echocanceller=mg2,2-31</div>
    <div>txgain=-3</div>
    <div>rxgain=8</div>
    <div><br></div>
    <div>#Sangoma A104 port 2 [slot:3 bus:13 span:2] &lt;wanpipe2&gt;</div>
    <div>span=2,1,0,ccs,hdb3,crc4</div>
    <div>bchan=32-63</div>
    <div>echocanceller=mg2,32-63</div>
    <div>txgain=-3</div>
    <div>rxgain=8</div>
    <div><br></div>
    <div>#Sangoma A104 port 3 [slot:3 bus:13 span:3] &lt;wanpipe3&gt;</div>
    <div>span=3,1,0,ccs,hdb3,crc4</div>
    <div>bchan=64-95</div>
    <div>echocanceller=mg2,64-95</div>
    <div>txgain=-3</div>
    <div>rxgain=8</div>
    <div><br></div>
    <div>#Sangoma A104 port 4 [slot:3 bus:13 span:4] &lt;wanpipe4&gt;</div>
    <div>span=4,1,0,ccs,hdb3,crc4</div>
    <div>bchan=96-124</div>
    <div>echocanceller=mg2,96-124</div>
    <div>txgain=-3</div>
    <div>rxgain=8</div>
    <div><br></div>
    <div><br></div>
    <div><br></div>
    <div>wanpipe1.conf:</div>
    <div>
    <div>#================================================</div>
    <div># WANPIPE1 Configuration File</div>
    <div>#================================================</div>
    <div>#</div>
    <div># Date: Wed Dec  6 20:29:03 UTC 2006</div>
    <div>#</div>
    <div># Note: This file was generated automatically</div>
    <div>#       by /usr/local/sbin/setup-sangoma program.</div>
    <div>#</div>
    <div>#       If you want to edit this file, it is</div>
    <div>#       recommended that you use wancfg program</div>
    <div>#       to do so.</div>
    <div>#================================================</div>
    <div># Sangoma Technologies Inc.</div>
    <div>#================================================</div>
    <div><br></div>
    <div>[devices]</div>
    <div>wanpipe1 = WAN_AFT_TE1, Comment</div>
    <div><br></div>
    <div>[interfaces]</div>
    <div>w1g1 = wanpipe1, , TDM_VOICE, Comment</div>
    <div><br></div>
    <div>[wanpipe1]</div>
    <div>CARD_TYPE <span></span>= AFT</div>
    <div>S514CPU <span></span>= A</div>
    <div>CommPort <span></span>= PRI</div>
    <div>AUTO_PCISLOT <span></span>= NO</div>
    <div>PCISLOT <span></span>= 3</div>
    <div>PCIBUS  <span> </span>= 13</div>
    <div>FE_MEDIA<span> </span>= E1</div>
    <div>FE_LCODE<span> </span>= HDB3</div>
    <div>FE_FRAME<span> </span>= CRC4</div>
    <div>FE_LINE<span> </span>= 1</div>
    <div>TE_CLOCK <span></span>= NORMAL</div>
    <div>TE_REF_CLOCK    = 1 # alt 0</div>
    <div>TE_SIG_MODE     = CCS</div>
    <div>TE_HIGHIMPEDANCE<span> </span>= NO</div>
    <div><br></div>
    <div>LBO <span></span>= 120OH</div>
    <div>FE_TXTRISTATE<span> </span>= NO</div>
    <div>MTU <span></span>= 1500</div>
    <div>UDPPORT<span> </span>= 9000</div>
    <div>TTL<span> </span>= 255</div>
    <div>IGNORE_FRONT_END<span> </span>= NO</div>
    <div>TDMV_SPAN<span> </span>= 1</div>
    <div>TDMV_DCHAN<span> </span>= 16</div>
    <div>TDMV_HW_DTMF<span> </span>= YES </div>
    <div>TDMV_HW_FAX_DETECT = NO</div>
    <div>[w1g1]</div>
    <div>ACTIVE_CH<span> </span>= ALL</div>
    <div>TDMV_HWEC<span> </span>= NO</div>
    <div><br></div>
    <div><br></div>
    <div><br></div>
    <div>wanpipe2.conf:</div>
    <div>
    <div>#================================================</div>
    <div># WANPIPE1 Configuration File</div>
    <div>#================================================</div>
    <div>#</div>
    <div># Date: Wed Dec  6 20:29:03 UTC 2006</div>
    <div>#</div>
    <div># Note: This file was generated automatically</div>
    <div>#       by /usr/local/sbin/setup-sangoma program.</div>
    <div>#</div>
    <div>#       If you want to edit this file, it is</div>
    <div>#       recommended that you use wancfg program</div>
    <div>#       to do so.</div>
    <div>#================================================</div>
    <div># Sangoma Technologies Inc.</div>
    <div>#================================================</div>
    <div><br></div>
    <div>[devices]</div>
    <div>wanpipe2 = WAN_AFT_TE1, Comment</div>
    <div><br></div>
    <div>[interfaces]</div>
    <div>w2g1 = wanpipe2, , TDM_VOICE, Comment</div>
    <div><br></div>
    <div>[wanpipe2]</div>
    <div>CARD_TYPE <span></span>= AFT</div>
    <div>S514CPU <span></span>= A</div>
    <div>CommPort <span></span>= PRI</div>
    <div>AUTO_PCISLOT <span></span>= NO</div>
    <div>PCISLOT <span></span>= 3</div>
    <div>PCIBUS  <span> </span>= 13</div>
    <div>FE_MEDIA<span> </span>= E1</div>
    <div>FE_LCODE<span> </span>= HDB3</div>
    <div>FE_FRAME<span> </span>= CRC4</div>
    <div>FE_LINE<span> </span>= 2</div>
    <div>TE_CLOCK <span></span>= NORMAL # ALT NORMAL</div>
    <div>TE_REF_CLOCK    = 1 # ALT 0</div>
    <div><br></div>
    <div>TE_SIG_MODE     = CCS</div>
    <div>TE_HIGHIMPEDANCE<span> </span>= NO</div>
    <div><br></div>
    <div>LBO <span></span>= 120OH</div>
    <div>FE_TXTRISTATE<span> </span>= NO</div>
    <div>MTU <span></span>= 1500</div>
    <div>UDPPORT<span> </span>= 9000</div>
    <div>TTL<span> </span>= 255</div>
    <div>IGNORE_FRONT_END<span> </span>= NO</div>
    <div>TDMV_SPAN<span> </span>= 2</div>
    <div>TDMV_DCHAN<span> </span>= 16</div>
    <div>TDMV_HW_DTMF<span> </span>= NO</div>
    <div>TDMV_HW_FAX_DETECT = NO</div>
    <div><br></div>
    <div>[w2g1]</div>
    <div>ACTIVE_CH<span> </span>= ALL</div>
    <div>TDMV_HWEC<span> </span>= NO</div>
    <div><br></div>
    <div><br></div>
    <div><br></div>
    <div>wanpipe3.conf:</div>
    <div>
    <div>#================================================</div>
    <div># WANPIPE1 Configuration File</div>
    <div>#================================================</div>
    <div>#</div>
    <div># Date: Wed Dec  6 20:29:03 UTC 2006</div>
    <div>#</div>
    <div># Note: This file was generated automatically</div>
    <div>#       by /usr/local/sbin/setup-sangoma program.</div>
    <div>#</div>
    <div>#       If you want to edit this file, it is</div>
    <div>#       recommended that you use wancfg program</div>
    <div>#       to do so.</div>
    <div>#================================================</div>
    <div># Sangoma Technologies Inc.</div>
    <div>#================================================</div>
    <div><br></div>
    <div>[devices]</div>
    <div>wanpipe3 = WAN_AFT_TE1, Comment</div>
    <div><br></div>
    <div>[interfaces]</div>
    <div>w3g1 = wanpipe3, , TDM_VOICE, Comment</div>
    <div><br></div>
    <div>[wanpipe3]</div>
    <div>CARD_TYPE <span></span>= AFT</div>
    <div>S514CPU <span></span>= A</div>
    <div>CommPort <span></span>= PRI</div>
    <div>AUTO_PCISLOT <span></span>= NO</div>
    <div>PCISLOT <span></span>= 3</div>
    <div>PCIBUS  <span> </span>= 13</div>
    <div>FE_MEDIA<span> </span>= E1</div>
    <div>FE_LCODE<span> </span>= HDB3</div>
    <div>FE_FRAME<span> </span>= CRC4</div>
    <div>FE_LINE<span> </span>= 3</div>
    <div>TE_CLOCK <span></span>= NORMAL # ALT NORMAL</div>
    <div>TE_REF_CLOCK    = 1 # alt 0</div>
    <div>TE_SIG_MODE     = CCS</div>
    <div>TE_HIGHIMPEDANCE<span> </span>= NO</div>
    <div><br></div>
    <div>LBO <span></span>= 120OH</div>
    <div>FE_TXTRISTATE<span> </span>= NO</div>
    <div>MTU <span></span>= 1500</div>
    <div>UDPPORT<span> </span>= 9000</div>
    <div>TTL<span> </span>= 255</div>
    <div>IGNORE_FRONT_END<span> </span>= NO</div>
    <div>TDMV_SPAN<span> </span>= 3</div>
    <div>TDMV_DCHAN<span> </span>= 16</div>
    <div>TDMV_HW_DTMF<span> </span>= NO</div>
    <div>TDMV_HW_FAX_DETECT = NO</div>
    <div><br></div>
    <div>[w3g1]</div>
    <div>ACTIVE_CH<span> </span>= ALL</div>
    <div>TDMV_HWEC<span> </span>= NO</div>
    <div><br></div>
    <div><br></div>
    <div>wanpipe4.conf:</div>
    <div>
    <div>#================================================</div>
    <div># WANPIPE1 Configuration File</div>
    <div>#================================================</div>
    <div>#</div>
    <div># Date: Wed Dec  6 20:29:03 UTC 2006</div>
    <div>#</div>
    <div># Note: This file was generated automatically</div>
    <div>#       by /usr/local/sbin/setup-sangoma program.</div>
    <div>#</div>
    <div>#       If you want to edit this file, it is</div>
    <div>#       recommended that you use wancfg program</div>
    <div>#       to do so.</div>
    <div>#================================================</div>
    <div># Sangoma Technologies Inc.</div>
    <div>#================================================</div>
    <div><br></div>
    <div>[devices]</div>
    <div>wanpipe4 = WAN_AFT_TE1, Comment</div>
    <div><br></div>
    <div>[interfaces]</div>
    <div>w4g1 = wanpipe4, , TDM_VOICE, Comment</div>
    <div><br></div>
    <div>[wanpipe4]</div>
    <div>CARD_TYPE <span></span>= AFT</div>
    <div>S514CPU <span></span>= A</div>
    <div>CommPort <span></span>= PRI</div>
    <div>AUTO_PCISLOT <span></span>= NO</div>
    <div>PCISLOT <span></span>= 3</div>
    <div>PCIBUS  <span> </span>= 13</div>
    <div>FE_MEDIA<span> </span>= E1</div>
    <div>FE_LCODE<span> </span>= HDB3</div>
    <div>FE_FRAME<span> </span>= CRC4</div>
    <div>FE_LINE<span> </span>= 4</div>
    <div>TE_CLOCK <span></span>= NORMAL # ALT NORMAL</div>
    <div>TE_REF_CLOCK    = 1 # ALT 0</div>
    <div>TE_SIG_MODE     = CCS</div>
    <div>TE_HIGHIMPEDANCE<span> </span>= NO</div>
    <div><br></div>
    <div>LBO <span></span>= 120OH</div>
    <div>FE_TXTRISTATE<span> </span>= NO</div>
    <div>MTU <span></span>= 1500</div>
    <div>UDPPORT<span> </span>= 9000</div>
    <div>TTL<span> </span>= 255</div>
    <div>IGNORE_FRONT_END<span> </span>= NO</div>
    <div>TDMV_SPAN<span> </span>= 4</div>
    <div>TDMV_DCHAN<span> </span>= 16</div>
    <div>TDMV_HW_DTMF<span> </span>= NO</div>
    <div>TDMV_HW_FAX_DETECT = NO</div>
    <div><br></div>
    <div>[w4g1]</div>
    <div>ACTIVE_CH<span> </span>= ALL</div>
    <div>TDMV_HWEC<span> </span>= NO</div>
    <div><br></div></div></div></div></div>
    <div><br></div>
    <div><br></div>
    <div><br></div></div>
    <div><br></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><br>asterisk-ss7 mailing 
    list<br>To UNSUBSCRIBE or update options visit:<br>   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br>
<br clear="all"><span class="HOEnZb"><font color="#888888"><br>-- <br>BIPIN RAGHUVANSHI<br>OPERATION HEAD<br>ASTERISK 
  (DEVELOPMENT AND RESEARCH)  <br><a href="http://WWW.EHORIZONS.IN" target="_blank">WWW.EHORIZONS.IN</a><br><a href="mailto:bipinraghuvanshi@gmail.com" target="_blank">bipinraghuvanshi@gmail.com</a><br><a href="mailto:bipin.singh@ehorizons.in" target="_blank">bipin.singh@ehorizons.in</a><br>
</font></span></div><span class="HOEnZb"><font color="#888888">
  <p>
  </p><hr>

  <p></p>--<br>_____________________________________________________________________<br>-- 
  Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> 
  --<br><br>asterisk-ss7 mailing list<br>To UNSUBSCRIBE or update options 
  visit:<br>   
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><p></p></font></span></blockquote></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>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br><br clear="all"><br>-- <br>BIPIN RAGHUVANSHI<br>OPERATION HEAD<br>
ASTERISK (DEVELOPMENT AND RESEARCH)  <br><a href="http://WWW.EHORIZONS.IN" target="_blank">WWW.EHORIZONS.IN</a><br><a href="mailto:bipinraghuvanshi@gmail.com" target="_blank">bipinraghuvanshi@gmail.com</a><br><a href="mailto:bipin.singh@ehorizons.in" target="_blank">bipin.singh@ehorizons.in</a><br>

</div>