Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] fxotune question


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
tilghman at mail.jeffa...
Guest





PostPosted: Wed Jun 04, 2008 10:18 pm    Post subject: [asterisk-users] fxotune question Reply with quote

On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem strange
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this right?
Where should I start to look for problems?

You might check to see if the tip and ring are reversed in your wiring. That
can frequently cause weird echo problems.

--
Tilghman
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Thu Jun 05, 2008 1:57 am    Post subject: [asterisk-users] fxotune question Reply with quote

On Wed, Jun 04, 2008 at 11:02:19PM -0400, John Morey wrote:
Quote:
Hello,

I've run fxotune

Of which zaptel version, exactly?

Quote:
at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem strange
when compaired to what others have posted and what ports 9 and 10 have.

fxotune works by setting the values of some specific registers in a
specific chip used for the FXO adapters. In the "set" mode (-s) it
merely takes a set of values from /etc/fxotune.conf and applies them to
the chips of the Zaptel device in the respective ports.

In the "tuning" mode (-i or -d) it will attempt to find the best set of
register values for your ports. It does that basically by systematically
applying many possible sets and and checking the echo level with it.

If nothing is connected to the port, no set of value is better than the
default values (all zeros), and hence those will remain.

Quote:

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this right?
Where should I start to look for problems?

An echo canceller is still generally useful for an FXO adapter.

--
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
Back to top
drew at oanda.com
Guest





PostPosted: Thu Jun 05, 2008 9:17 am    Post subject: [asterisk-users] fxotune question Reply with quote

Tilghman Lesher wrote:
Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:

Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem strange
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this right?
Where should I start to look for problems?


You might check to see if the tip and ring are reversed in your wiring. That
can frequently cause weird echo problems.



Which ports would you expect to be reversed? 5-8 or 9-10?

I have similar settings in my fxotune.conf for a TDM2400P and I'm
getting complaints of "static" on the line that I suspect are related to
an overtaxed h/w echo canceller

My fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=9,254,251,255,2,0,1,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=9,254,251,255,2,0,1,0,0
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=9,254,251,255,2,0,1,0,0
24=9,254,251,255,2,0,1,0,0

regards,

Drew

--
Drew Gibson

Systems Administrator
OANDA Corporation
www.oanda.com
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Thu Jun 05, 2008 9:42 am    Post subject: [asterisk-users] fxotune question Reply with quote

On Thursday 05 June 2008 09:17:49 Drew Gibson wrote:
Quote:
Tilghman Lesher wrote:
Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange when compaired to what others have posted and what ports 9 and
10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right? Where should I start to look for problems?

You might check to see if the tip and ring are reversed in your wiring.
That can frequently cause weird echo problems.

Which ports would you expect to be reversed? 5-8 or 9-10?

I'd suspect 5-8 have the tip and ring reversed. 9-10 look like they have
almost no detected echo at all.

Quote:
I have similar settings in my fxotune.conf for a TDM2400P and I'm
getting complaints of "static" on the line that I suspect are related to
an overtaxed h/w echo canceller

My fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=9,254,251,255,2,0,1,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=9,254,251,255,2,0,1,0,0
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=9,254,251,255,2,0,1,0,0
24=9,254,251,255,2,0,1,0,0

You certainly could flip one pair, re-run fxotune (or just manually set it
to the same as line 16) and see if the sound dramatically improves on that
channel.

--
Tilghman
Back to top
eric at fnords.org
Guest





PostPosted: Thu Jun 05, 2008 9:50 am    Post subject: [asterisk-users] fxotune question Reply with quote

Echo Canceler Freak Out, this happens when the rxgain is too high and
the echo canceler freaks out. Some users describe it as "screeching",
"feedback", "static", or other useless terms. If users report "static"
on a system where there cannot be static (all digital, PRI, SIP, etc),
you might be experiencing ECFO.

Drew Gibson wrote:
Quote:
Tilghman Lesher wrote:
Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:

Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem strange
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this right?
Where should I start to look for problems?

You might check to see if the tip and ring are reversed in your wiring. That
can frequently cause weird echo problems.



Which ports would you expect to be reversed? 5-8 or 9-10?

I have similar settings in my fxotune.conf for a TDM2400P and I'm
getting complaints of "static" on the line that I suspect are related to
an overtaxed h/w echo canceller

My fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=9,254,251,255,2,0,1,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=9,254,251,255,2,0,1,0,0
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=9,254,251,255,2,0,1,0,0
24=9,254,251,255,2,0,1,0,0

regards,

Drew


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Thu Jun 05, 2008 10:18 am    Post subject: [asterisk-users] fxotune question Reply with quote

On Thursday 05 June 2008 09:50:05 Eric "ManxPower" Wieling wrote:
Quote:
Echo Canceler Freak Out, this happens when the rxgain is too high and
the echo canceler freaks out. Some users describe it as "screeching",
"feedback", "static", or other useless terms. If users report "static"
on a system where there cannot be static (all digital, PRI, SIP, etc),
you might be experiencing ECFO.

Considering he's using an analog card, that last statement does not apply.

Quote:
Drew Gibson wrote:
Quote:
Tilghman Lesher wrote:
Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange when compaired to what others have posted and what ports 9 and
10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right? Where should I start to look for problems?

You might check to see if the tip and ring are reversed in your wiring.
That can frequently cause weird echo problems.

Which ports would you expect to be reversed? 5-8 or 9-10?

I have similar settings in my fxotune.conf for a TDM2400P and I'm
getting complaints of "static" on the line that I suspect are related to
an overtaxed h/w echo canceller

My fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=9,254,251,255,2,0,1,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=9,254,251,255,2,0,1,0,0
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=9,254,251,255,2,0,1,0,0
24=9,254,251,255,2,0,1,0,0

regards,

Drew

--
Tilghman
Back to top
drew at oanda.com
Guest





PostPosted: Thu Jun 05, 2008 1:50 pm    Post subject: [asterisk-users] fxotune question Reply with quote

Tilghman Lesher wrote:
Quote:
On Thursday 05 June 2008 09:50:05 Eric "ManxPower" Wieling wrote:

Quote:
Echo Canceler Freak Out, this happens when the rxgain is too high and
the echo canceler freaks out. Some users describe it as "screeching",
"feedback", "static", or other useless terms. If users report "static"
on a system where there cannot be static (all digital, PRI, SIP, etc),
you might be experiencing ECFO.


Considering he's using an analog card, that last statement does not apply.


Quote:
Drew Gibson wrote:

Quote:
Tilghman Lesher wrote:

Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:

Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange when compaired to what others have posted and what ports 9 and
10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right? Where should I start to look for problems?

You might check to see if the tip and ring are reversed in your wiring.
That can frequently cause weird echo problems.

Which ports would you expect to be reversed? 5-8 or 9-10?

I have similar settings in my fxotune.conf for a TDM2400P and I'm
getting complaints of "static" on the line that I suspect are related to
an overtaxed h/w echo canceller

My fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=9,254,251,255,2,0,1,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=9,254,251,255,2,0,1,0,0
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=9,254,251,255,2,0,1,0,0
24=9,254,251,255,2,0,1,0,0

regards,

Drew




Thanks Tilghman,

I will try flipping one of the lines at the weekend, can't touch it
during the week.

Our rxgain was raised from 0.0 to 2.0 at the end of February after
complaints that CC staff couldn't hear customers but the 'static' issues
pre-date that change.

regards,

Drew

--
Drew Gibson

Systems Administrator
OANDA Corporation
www.oanda.com
Back to top
jbmorey at gmail.com
Guest





PostPosted: Thu Jun 05, 2008 5:37 pm    Post subject: [asterisk-users] fxotune question Reply with quote

The zaptel version is SVN-branch-1.4-r4257
On Thu, Jun 5, 2008 at 2:57 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
wrote:

Quote:
On Wed, Jun 04, 2008 at 11:02:19PM -0400, John Morey wrote:
Quote:
Hello,

I've run fxotune

Of which zaptel version, exactly?

Quote:
at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange
Quote:
when compaired to what others have posted and what ports 9 and 10 have.

fxotune works by setting the values of some specific registers in a
specific chip used for the FXO adapters. In the "set" mode (-s) it
merely takes a set of values from /etc/fxotune.conf and applies them to
the chips of the Zaptel device in the respective ports.

In the "tuning" mode (-i or -d) it will attempt to find the best set of
register values for your ports. It does that basically by systematically
applying many possible sets and and checking the echo level with it.

If nothing is connected to the port, no set of value is better than the
default values (all zeros), and hence those will remain.

Quote:

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this right?
Where should I start to look for problems?

An echo canceller is still generally useful for an FXO adapter.

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

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080605/8323399e/attachment.htm
Back to top
creslin at digium.com
Guest





PostPosted: Fri Jun 06, 2008 12:31 pm    Post subject: [asterisk-users] fxotune question Reply with quote

John Morey wrote:
Quote:
Tilghman,

Thanks for the pointer. I'll check this tomorrow and let you know.

Also, I would like to see the output without the "-d" flag and with the
"-v" flag. This will output a lot of data (the echo ratio for every
possible coefficient setting it has tried per port).

Matthew Fredrickson

Quote:
John

On Wed, Jun 4, 2008 at 11:18 PM, Tilghman Lesher <
tilghman at mail.jeffandtilghman.com> wrote:

Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange
Quote:
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this right?
Where should I start to look for problems?
You might check to see if the tip and ring are reversed in your wiring.
That
can frequently cause weird echo problems.

--
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.
Back to top
jbmorey at gmail.com
Guest





PostPosted: Sat Jun 07, 2008 2:47 pm    Post subject: [asterisk-users] fxotune question Reply with quote

I switch the wires in lines 5-8 (i.e. reversed tip and ring) and reran
fxotune to tune the lines. fxotune.conf ended up looking exactly the same
as before the change. Since I was expecting/hopping to see a change but did
not I switched everything back to the way it was. Is there a way to test the
lines, using a multi-meter maybe, to tell if the tip and ring are correct or
reversed?

After putting things back I reran fxotune to get the verbose output. It,
foxtune.out.gz, is attached. fxotune seems to have had a better time with
line 7 during this run. fxotune.conf now contains:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=4,0,0,0,0,0,0,0,0
8=7,255,251,251,2,255,255,1,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

I tried calling directly into the lines above and it seems lines 5,6,8 have
much more echo than lines 7,9,10. So just for fun I edited fxotune.conf to
the following and reloaded (fxotune -s) it:

5=5,0,0,0,0,0,0,0,0
6=5,0,0,0,0,0,0,0,0
7=4,0,0,0,0,0,0,0,0
8=5,0,0,0,0,0,0,0,0
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

Unless I am just spacing out the echo on 5,6,8 seems less now. I really
have no idea what is going on.

John
On Fri, Jun 6, 2008 at 1:31 PM, Matthew Fredrickson <creslin at digium.com>
wrote:

Quote:
John Morey wrote:
Quote:
Tilghman,

Thanks for the pointer. I'll check this tomorrow and let you know.

Also, I would like to see the output without the "-d" flag and with the
"-v" flag. This will output a lot of data (the echo ratio for every
possible coefficient setting it has tried per port).

Matthew Fredrickson

Quote:
John

On Wed, Jun 4, 2008 at 11:18 PM, Tilghman Lesher <
tilghman at mail.jeffandtilghman.com> wrote:

Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange
Quote:
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right?
Quote:
Quote:
Quote:
Where should I start to look for problems?
You might check to see if the tip and ring are reversed in your wiring.
That
can frequently cause weird echo problems.

--
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080607/4947aa78/attachment.htm
Back to top
creslin at digium.com
Guest





PostPosted: Sat Jun 07, 2008 7:12 pm    Post subject: [asterisk-users] fxotune question Reply with quote

John Morey wrote:
Quote:
I switch the wires in lines 5-8 (i.e. reversed tip and ring) and reran
fxotune to tune the lines. fxotune.conf ended up looking exactly the same
as before the change. Since I was expecting/hopping to see a change but did
not I switched everything back to the way it was. Is there a way to test the
lines, using a multi-meter maybe, to tell if the tip and ring are correct or
reversed?

After putting things back I reran fxotune to get the verbose output. It,
foxtune.out.gz, is attached. fxotune seems to have had a better time with

It seems that one way or another the attachment didn't go through. Can
you email the tarball to me directly or post it to a website?

Thanks,
Matthew Fredrickson

Quote:
line 7 during this run. fxotune.conf now contains:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=4,0,0,0,0,0,0,0,0
8=7,255,251,251,2,255,255,1,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

I tried calling directly into the lines above and it seems lines 5,6,8 have
much more echo than lines 7,9,10. So just for fun I edited fxotune.conf to
the following and reloaded (fxotune -s) it:

5=5,0,0,0,0,0,0,0,0
6=5,0,0,0,0,0,0,0,0
7=4,0,0,0,0,0,0,0,0
8=5,0,0,0,0,0,0,0,0
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

Unless I am just spacing out the echo on 5,6,8 seems less now. I really
have no idea what is going on.

John


On Fri, Jun 6, 2008 at 1:31 PM, Matthew Fredrickson <creslin at digium.com>
wrote:

Quote:
John Morey wrote:
Quote:
Tilghman,

Thanks for the pointer. I'll check this tomorrow and let you know.
Also, I would like to see the output without the "-d" flag and with the
"-v" flag. This will output a lot of data (the echo ratio for every
possible coefficient setting it has tried per port).

Matthew Fredrickson

Quote:
John

On Wed, Jun 4, 2008 at 11:18 PM, Tilghman Lesher <
tilghman at mail.jeffandtilghman.com> wrote:

Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange
Quote:
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right?
Quote:
Quote:
Quote:
Where should I start to look for problems?
You might check to see if the tip and ring are reversed in your wiring.
That
can frequently cause weird echo problems.

--
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.
Back to top
drew at oanda.com
Guest





PostPosted: Mon Jun 09, 2008 12:27 pm    Post subject: [asterisk-users] fxotune question Reply with quote

Drew Gibson wrote:
Quote:
Quote:
Quote:
Quote:
Tilghman Lesher wrote:

My fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=9,254,251,255,2,0,1,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=9,254,251,255,2,0,1,0,0
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=9,254,251,255,2,0,1,0,0
24=9,254,251,255,2,0,1,0,0

regards,

Drew





Thanks Tilghman,

I will try flipping one of the lines at the weekend, can't touch it
during the week.

Our rxgain was raised from 0.0 to 2.0 at the end of February after
complaints that CC staff couldn't hear customers but the 'static' issues
pre-date that change.

regards,

Drew



Hi Tilghman,

I thought I had found something, all of the lines were patched in with
Cat 5 patch cords except Port 16 which had a telephone cable (which
would flip the polarity). After changing all the patch cables to
telephone type, I re-ran fxotune but the results were almost identical
to the original settings.

new fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=6,1,254,253,0,255,0,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=7,255,251,251,2,255,255,1,255
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=6,1,254,253,0,255,0,0,0
24=9,254,251,255,2,0,1,0,0

These results are very similar to John Morey's, eg. not much changed
after reversing polarity.

The one line that shows zero's all the way across is the line with our
DSL backup line on it. Is it the filter giving these results or does the
telco take more care balancing lines for DSL?

Shouldn't I have seen a major change of settings after changing polarity
for tip&ring?

regards,

Drew
--
Drew Gibson

Systems Administrator
OANDA Corporation
www.oanda.com
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Mon Jun 09, 2008 2:12 pm    Post subject: [asterisk-users] fxotune question Reply with quote

On Monday 09 June 2008 12:27:39 Drew Gibson wrote:
Quote:
I thought I had found something, all of the lines were patched in with
Cat 5 patch cords except Port 16 which had a telephone cable (which
would flip the polarity). After changing all the patch cables to
telephone type, I re-ran fxotune but the results were almost identical
to the original settings.

new fxotune.conf:-

13=7,255,251,251,2,255,255,1,255
14=9,254,251,255,2,0,1,0,0
15=6,1,254,253,0,255,0,0,0
16=5,0,0,0,0,0,0,0,0
17=9,254,251,255,2,0,1,0,0
18=9,254,251,255,2,0,1,0,0
19=9,254,251,255,2,0,1,0,0
20=7,255,251,251,2,255,255,1,255
21=9,254,251,255,2,0,1,0,0
22=9,254,251,255,2,0,1,0,0
23=6,1,254,253,0,255,0,0,0
24=9,254,251,255,2,0,1,0,0

These results are very similar to John Morey's, eg. not much changed
after reversing polarity.

The one line that shows zero's all the way across is the line with our
DSL backup line on it. Is it the filter giving these results or does the
telco take more care balancing lines for DSL?

The telco takes a lot more care on these lines, since if there is echo on the
line, the DSL will not negotiate a connection correctly. Since it was clearly
a different wire than the rest of your plant, you might trace your wires out
to the demarc and see if there's damage somewhere along the line. It could
also be that there is damage beyond that point, but you'd need a telco tech
to trace that out correctly.

Quote:
Shouldn't I have seen a major change of settings after changing polarity
for tip&ring?

I thought so, but Matt F would be the person to ask about that.

--
Tilghman
Back to top
creslin at digium.com
Guest





PostPosted: Mon Jun 09, 2008 4:05 pm    Post subject: [asterisk-users] fxotune question Reply with quote

John Morey wrote:
Quote:
I switch the wires in lines 5-8 (i.e. reversed tip and ring) and reran
fxotune to tune the lines. fxotune.conf ended up looking exactly the same
as before the change. Since I was expecting/hopping to see a change but did
not I switched everything back to the way it was. Is there a way to test the
lines, using a multi-meter maybe, to tell if the tip and ring are correct or
reversed?

After putting things back I reran fxotune to get the verbose output. It,
foxtune.out.gz, is attached. fxotune seems to have had a better time with
line 7 during this run. fxotune.conf now contains:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=4,0,0,0,0,0,0,0,0
8=7,255,251,251,2,255,255,1,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

I tried calling directly into the lines above and it seems lines 5,6,8 have
much more echo than lines 7,9,10. So just for fun I edited fxotune.conf to
the following and reloaded (fxotune -s) it:

5=5,0,0,0,0,0,0,0,0
6=5,0,0,0,0,0,0,0,0
7=4,0,0,0,0,0,0,0,0
8=5,0,0,0,0,0,0,0,0
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

Unless I am just spacing out the echo on 5,6,8 seems less now. I really
have no idea what is going on.

Ok, I looked at the output of you running fxotune. Basically, the lines
that have numbers in them besides 0 (after the first two terms x=y,...)
are the complex line simulation line models. The output you gave me
demonstrated that they gave the best return loss characteristics using
the built in test frequencies.

It's possible that your setup is not performing well with these line
models, which is why you might notice less echo using the second set of
settings you listed above. Which echo canceller are you using with
this, by the way? (Hardware, software, if software, which software echo
canceller).

Matthew Fredrickson

Quote:

John


On Fri, Jun 6, 2008 at 1:31 PM, Matthew Fredrickson <creslin at digium.com>
wrote:

Quote:
John Morey wrote:
Quote:
Tilghman,

Thanks for the pointer. I'll check this tomorrow and let you know.
Also, I would like to see the output without the "-d" flag and with the
"-v" flag. This will output a lot of data (the echo ratio for every
possible coefficient setting it has tried per port).

Matthew Fredrickson

Quote:
John

On Wed, Jun 4, 2008 at 11:18 PM, Tilghman Lesher <
tilghman at mail.jeffandtilghman.com> wrote:

Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to be
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange
Quote:
when compaired to what others have posted and what ports 9 and 10 have.

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right?
Quote:
Quote:
Quote:
Where should I start to look for problems?
You might check to see if the tip and ring are reversed in your wiring.
That
can frequently cause weird echo problems.

--
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.
Back to top
jbmorey at gmail.com
Guest





PostPosted: Mon Jun 09, 2008 6:22 pm    Post subject: [asterisk-users] fxotune question Reply with quote

I'm using software echo cancellation. ztcfg says its MG2. In zapata.conf I
have echocancel=64 and echotraining=256 set. I'm going to try Digium's hpec.
I've did an online request for the free licenses, I'm using Digium TDM400
and TDM800 series cards, yesterday and am waiting to hear back.
On Mon, Jun 9, 2008 at 5:05 PM, Matthew Fredrickson <creslin at digium.com>
wrote:

Quote:
John Morey wrote:
Quote:
I switch the wires in lines 5-8 (i.e. reversed tip and ring) and reran
fxotune to tune the lines. fxotune.conf ended up looking exactly the
same
Quote:
as before the change. Since I was expecting/hopping to see a change but
did
Quote:
not I switched everything back to the way it was. Is there a way to test
the
Quote:
lines, using a multi-meter maybe, to tell if the tip and ring are correct
or
Quote:
reversed?

After putting things back I reran fxotune to get the verbose output. It,
foxtune.out.gz, is attached. fxotune seems to have had a better time
with
Quote:
line 7 during this run. fxotune.conf now contains:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=4,0,0,0,0,0,0,0,0
8=7,255,251,251,2,255,255,1,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

I tried calling directly into the lines above and it seems lines 5,6,8
have
Quote:
much more echo than lines 7,9,10. So just for fun I edited fxotune.conf
to
Quote:
the following and reloaded (fxotune -s) it:

5=5,0,0,0,0,0,0,0,0
6=5,0,0,0,0,0,0,0,0
7=4,0,0,0,0,0,0,0,0
8=5,0,0,0,0,0,0,0,0
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0

Unless I am just spacing out the echo on 5,6,8 seems less now. I really
have no idea what is going on.

Ok, I looked at the output of you running fxotune. Basically, the lines
that have numbers in them besides 0 (after the first two terms x=y,...)
are the complex line simulation line models. The output you gave me
demonstrated that they gave the best return loss characteristics using
the built in test frequencies.

It's possible that your setup is not performing well with these line
models, which is why you might notice less echo using the second set of
settings you listed above. Which echo canceller are you using with
this, by the way? (Hardware, software, if software, which software echo
canceller).

Matthew Fredrickson

Quote:

John


On Fri, Jun 6, 2008 at 1:31 PM, Matthew Fredrickson <creslin at digium.com>
wrote:

Quote:
John Morey wrote:
Quote:
Tilghman,

Thanks for the pointer. I'll check this tomorrow and let you know.
Also, I would like to see the output without the "-d" flag and with the
"-v" flag. This will output a lot of data (the echo ratio for every
possible coefficient setting it has tried per port).

Matthew Fredrickson

Quote:
John

On Wed, Jun 4, 2008 at 11:18 PM, Tilghman Lesher <
tilghman at mail.jeffandtilghman.com> wrote:

Quote:
On Wednesday 04 June 2008 22:02:19 John Morey wrote:
Quote:
Hello,

I've run fxotune at different times but continue to get what seem to
be
Quote:
Quote:
Quote:
Quote:
Quote:
strange numbers in /etc/fxotune.conf. It ends up with:

5=7,255,251,251,2,255,255,1,255
6=7,255,251,251,2,255,255,1,255
7=7,255,251,251,2,255,255,1,255
8=9,2,250,253,4,252,0,255,255
9=4,0,0,0,0,0,0,0,0
10=5,0,0,0,0,0,0,0,0
11=0,0,0,0,0,0,0,0,0
12=0,0,0,0,0,0,0,0,0
ports 5-10 have lines hooked up to them. The first four lines seem
strange
Quote:
when compaired to what others have posted and what ports 9 and 10
have.
Quote:
Quote:
Quote:
Quote:
Quote:

Also if I'm reading things right my echo ratios seem to be very
high. Running "fxotune -d -b 5 -w 1004" gives the following:
Dumping module /dev/zap/5
echo ratio = 0.1759 (1960.0 / 11145.0)
Which I read to be over 17%. This seems crazy. Am I reading this
right?
Quote:
Quote:
Quote:
Where should I start to look for problems?
You might check to see if the tip and ring are reversed in your
wiring.
Quote:
Quote:
Quote:
Quote:
That
can frequently cause weird echo problems.

--
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



------------------------------------------------------------------------
Quote:
Quote:
Quote:

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080609/2cd68e7c/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services