{"id":279,"date":"2012-05-04T21:19:00","date_gmt":"2012-05-05T02:19:00","guid":{"rendered":"http:\/\/peshvar.com\/myblog\/?p=279"},"modified":"2012-05-04T21:19:00","modified_gmt":"2012-05-05T02:19:00","slug":"echo-in-telecom","status":"publish","type":"post","link":"https:\/\/peshvar.com\/myblog\/2012\/05\/04\/echo-in-telecom\/","title":{"rendered":"ECHO in Telecom"},"content":{"rendered":"<p>Echo cannot origin from an VoIP network. But delay times due to codecs  and buffering quickly makes even the slightest echo recieved very  annoying. Echo is generated by digital &lt;-&gt; anolog conversions  either in the PSTN or &#8220;at the other end&#8221; (overlaps of ear &amp; mouth)&#8221;.<\/p>\n<p><span style=\"color: #ff0000;\">If you hear echo then the source of the echo is either the far end or somewhere in the PSTN network.<\/p>\n<p>If the far end hears echo then you generate the Echo.<\/span><br \/>\n[ad#co-1]<br \/>\nThere  are a couple of mechanism to prevent echo that is ERL (Echo Return  Loss) or ERLE (Echo Return Loss Enhance). ERLE is often named Echo  Canceller.<\/p>\n<p>ERL use adjustment of powerlevels for recieve and  transmit audio stream, and should be adjusted so that the echo is as low  volume as possible without loosing the ability to communicate with the  far end. You have 2 possibilities :<br \/>\n1) Lower powerlevels of what you send out &#8211; Risk : The far end cannot hear you<br \/>\n2) Lower powerlevels of what you recieve &#8211; Risk : You cannot hear the far end<\/p>\n<p>If the Echo is Doubletalk &#8211; then ERLE cannot distinguish Real talk from Echo, and the ERLE stops working.<br \/>\nIf this happens you should adjust ERL values.<\/p>\n<p>So  ERLE stops working with doubletalk. But there is an other more annoying  way to stop the ERLE from working &#8211; The is delay times outside all  gateways from the VoIP network. Being the gateway toward PSTN og The  Analog Pots.<br \/>\nEvery POTS should have an ERLE on at least 8 ms, this  would normally be sufficient to removed ECHO generated bye overlap  between Ear &amp; Mouth pieces or in the short cable connecting the  phone to the POTS. Of course IP phones should also have at least 8 ms  ERLE.<\/p>\n<p>The gateway towards the PSTN network should have sufficient  ERLE to compensate for the delay in the PSTN (which is about ~1 ms pr.  1000 km fiber, 2-4 ms pr. interconnection &#8211; ADMs and so on) &#8230; The  Standard for ERLE i G.164 which specify at least 128 ms &#8211; But 128 would  make the price of the gateway astronimical for us non-Telco operators  due to the complexity in ERLE. Therefore typical values 16-64 ms  typically 16-32 ms ERLE. ERLE buffers constantly 16 ms of outgoing talk,  converts it to a reverse pattern (a ^ function &#8211; e.g. a HAT &#8211; function)  and compare it to the incoming voice stream. If it finds a matching  pattern on the incoming voice stream it will be applied if not it will  be discarded. If delay times is more that the buffer in ERLE then ERLE  will never work. And echo cannot be eliminated. You can only minimize  the annoyence using ERL operations.<\/p>\n<p>There are allways ERLE  deployed in the Public PSTN network where it interconnects with  international destinations, and towards Mobile networks (PLMNs). But not  allways between PSTN operators. Thats because all other telephony  network and connection can tolerate fairly large amount of delay in the  public network &#8211; You can have echo but it is not hearable by the human  ear.<\/p>\n<p>With VoIP networks which have to convert voice stream to  data streams and back again so that the round tripdelay times can often  be more that 160 ms &#8211; Which is well in to the hearable area (I belive  all types of Echo with a gap or roundtrip delay above 32 ms is hearable  first\u00a0\u00a0talking in a large room but the larger roundtrip delay is the  more distinct the echo becomes.<br \/>\nThis also means that lag times in the  IP network is not a probable contributor to the Echo &#8211; The operation  around the DSPs width roundtrip<br \/>\ndelays over 160 ms is the probable  contributor. Reducing buffering in the DSP function is a possibility,  but at the cost of bandwidth and does<br \/>\nnormally not help much.<\/p>\n<p>The  only way to eliminate echo is adjusting ERL and have to sufficient ERLE  in the gateways. Where ERL reduces the powerlevel of the Echo, so that  ERLE can kickin and remove the echo completely (Actually reduces the  powerlevel of the Echo to very low values (unhearable) . The combined  loss Echo by the combined ERL and ERLE is ACOM &#8211; I cant remember the  threshold values of the<br \/>\npower levels for hearable sounds but ACOM should be below this value if ERLE works.<br \/>\nYou can only completely remove echo by removing the source of the Echo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Echo cannot origin from an VoIP network. But delay times due to codecs and buffering quickly makes even the slightest [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-miscellinous"],"_links":{"self":[{"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":2,"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/posts\/279\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peshvar.com\/myblog\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}