Bug#447245: zaptel-source: OSLEC echo canceler renders zaptel channels unusable

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Dec 27 01:40:32 UTC 2007


On Fri, Oct 19, 2007 at 12:24:34PM +0200, Alessandro Polverini wrote:
> Package: zaptel-source
> Version: 1:1.4.5.1~dfsg-3~etch.4706
> Severity: important
> 
> I built zaptel modules in this way:
> ECHO_CAN_NAME=OSLEC m-a a-i zaptel
> 
> Zaptel channels are able to dial but no audio is heard at all,
> nor while calling as well as in receiving calls.
> Not even the ringing tone is heard :(
> 
> I suppose something is wrong in how OSLEC has been integrated, otherwise I
> made some wrong steps in building zaptel modules?

Some progress: after much debugging, David Rowe noticed that at least 
one source of problems is the following code from oslec/oslec_wrap.c:

static __inline__ uint64_t cycles(void) {
  uint64_t x;
  __asm__ volatile ("rdtsc\n\t" : "=A" (x));
  return x;
}


This seems to cause harm on amd64. Is this a problem with AMD? with x86_64?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list