keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Technical information on install and config asterisk, zaptel under different OSs

Bug when using zaptel with OSLEC?

16 years 4 months ago #623 by miaolin
Some user reported strange issue when using OSLEC, the softwares are:
zaptel 1.4.4
asterisk 1.4.8
oslec 0.1

The issue is no sound when inbound call from fxo answered by fxs port. After trace the code, we found that disable the echotrain function on fxs port will solve it.

in zaptel-base.c:

line #4460:

case ZT_ECHOTRAIN:
get_user(j, (int *)data); /* get pre-training time from user */
if ((j < 0) || (j >= ZT_MAX_PRETRAINING))
return -EINVAL;
j <<= 3;
if (chan->ec) {
/* Start pretraining stage */
//chan->echostate = ECHO_STATE_PRETRAINING;
//chan->echotimer = j;
return -EINVAL;
// MiaoLin modify it to make the OSLEC work correctly.
} else
return -EINVAL;
break;
Time to create page: 0.026 seconds
Powered by Kunena Forum