Re: [Asterisk-Users] Static and echo on PRI

2005-04-27 Thread Eric Wieling aka ManxPower
Mark Johnson wrote:
If you don't have any facts to share, please don't bother.  I am 
desperate and don't have alot of time left and am begging for the list's 
advice.  I left probably the largest post this month with EXACTLY what I 
have tried, the results, debug information, etc...  I have removed 
drivers, swapped cards, changed IRQ's...  I am open to any suggestions.  
If you tell me to go buy a different card, I will do that.  You guys 
know more about than I do.  What do you suggest, exactly?
What *I* suggest is trying a different motherboard.  This has solved my 
problems with Digium cards and Asterisk on at least three occasions.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static and echo on PRI

2005-04-27 Thread Andrew Kohlsmith
On April 27, 2005 12:42 am, Matt Klein wrote:
 Most likely, they can give you Echo Can for free.

Bell Canada will not put echo cans on their PRIs unless you specifically ask 
(and pay) for the service.

Indeed, the line techs were surprised to know that echo could even exist on 
PRI; thse are very smart people, just not well schooled in T1/PRI. 

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-27 Thread Andrew Kohlsmith
On April 27, 2005 12:03 am, Mark Johnson wrote:
 day now.  What I find strange is this...  If I speak at a normal tone,
 it sounds OK.  I still get static noise when the other person speaks.
 If I talk louder, I start to get what sounds like a partial echo.  If I
 yell, I get a definite echo.

It almost sounds like the card has an odd gain problem on receive.  The echo 
you hear of  yourself at high volumes I'd call normal with the software 
echo cans.

Oh yes -- Digium also has TE405Ps and TE410Ps *with* onboard hardware echo 
cans now.  I have one coming in.

I forgot about the loopback test; use zttool and throw the span into loopback, 
do you see errors?

 When monkeying with the echo cancel, I never really noticed a
 difference.  I would even reboot the machine between changes to see if
 it made a difference.

echocan's a finicky little thing.  echotraining does work but I never use it 
because the delay at the start of the call is unacceptable to me (most of us 
have headsets so the delay between picking up the phone and getting it to 
your ear is almost zero).  The agressive echo canceller basically turns the 
phone into a half-duplex system.  It's a brute force way of eliminating 
echo.  :-)

 I am running this on Fedora Core 1.  I will try any OS you recommend,
 but I have always had great luck with RH type distro's.  I keep 400 and
 500 day uptimes on those machines and they run many, many services.
 Uptimes would be higher but it seems whenever I find a good place to
 work, they close up or I move.  Admittedly, I don't use RPM's for the
 core services, I typically compile those myself.  I also shut down every
 module and service I don't need.  I did alot of reading and it seemed
 like Digium cards were the real deal and I also found many users that
 had luck with the same setup.  Should I try a different approach/OS/system?

Stability isn't the issue here; it's interrupt latency and kernel delays.  
Personally I run Slackware for everything but I am certain there are many 
people here running FC1 for their systems without any issue, so at this point 
I am not suggesting dropping it.  I'm not sure whether those who are running 
FC1 are running it with Fedora's kernel or with a stock kernel, but I *have* 
seen people with distro-specific kernels have problems that disappear when 
they use a stock kernel.

Which motherboard are you currently using?  Which have you switched to for the 
test?

The great thing about Linux is that in most cases you can (and I have on 
*many* occasions) pull the hard drive out of one system and install it on a 
totally different one and it just works.  Perhaps some minor tweaking of 
ethernet drivers but for the most part there are no hassles.  

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-27 Thread Mark Johnson
Michael Welter wrote:
Do SIP-SIP calls have static?  If you don't have SIP phone then you 
can use X-lite.

Arrange you dial plan so an incoming PSTN call can call an outside 
number--from outside dial your system and then make an outside call. 
This call will be bridged on the Digium card.  Do you get static?  If 
not then it's not the PRI.

2¢
Well...  Per everyone's advice I changed the motherboard (still Intel 
for now.  Ordering an AMD of some sort) and the static WENT AWAY!!!  I 
am still finding it amazing that I could go to a slower, crappier 
different Intel board and the problems go away.

Thank you everyone for all of your help
Mark
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static and echo on PRI

2005-04-27 Thread Jorge Mendoza
Mark,
Could you please post the models of your first and second mobo?
Thanks
Jorge Mendoza
Mark Johnson wrote:
Michael Welter wrote:
Do SIP-SIP calls have static?  If you don't have SIP phone then you 
can use X-lite.

Arrange you dial plan so an incoming PSTN call can call an outside 
number--from outside dial your system and then make an outside call. 
This call will be bridged on the Digium card.  Do you get static?  If 
not then it's not the PRI.

2¢

Well...  Per everyone's advice I changed the motherboard (still Intel 
for now.  Ordering an AMD of some sort) and the static WENT AWAY!!!  I 
am still finding it amazing that I could go to a slower, crappier 
different Intel board and the problems go away.

Thank you everyone for all of your help
Mark
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static and echo on PRI

2005-04-27 Thread Mark Johnson
Jorge Mendoza wrote:
Mark,
Could you please post the models of your first and second mobo?
Thanks
The first, that didn't work correctly the the TE400P was an Asus P4 2.4 
Ghz.  The model that does work correctly is an AOpen P4 2.0 Ghz.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Mark Johnson
Michael Welter wrote:
Mark Johnson wrote:
Michael Welter wrote:
Try 'vmstat 1'--are you getting 40% system utilization every n 
seconds?  If so, unload the wcfxo and wcfxs modules and test again.

Does anyone have some suggestions on how to get rid of this static on my 
Digium card?  I am supposed to go live tomorrow night and will get shot 
if it's like this!!

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Andrew Kohlsmith
On April 26, 2005 06:19 pm, Mark Johnson wrote:
 Does anyone have some suggestions on how to get rid of this static on my
 Digium card?  I am supposed to go live tomorrow night and will get shot
 if it's like this!!

Lack of planning on your part does not constitute an emergency on our part.

There were a number of suggestions given to you over the past week or so and a 
great number of them (including some given by myself) have gone unanswered.  
Perhaps you should read over this thread and make sure you haven't missed 
anything.

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Mark Johnson
Andrew Kohlsmith wrote:
On April 26, 2005 06:19 pm, Mark Johnson wrote:
 

Does anyone have some suggestions on how to get rid of this static on my
Digium card?  I am supposed to go live tomorrow night and will get shot
if it's like this!!
   

Lack of planning on your part does not constitute an emergency on our part.
There were a number of suggestions given to you over the past week or so and a 
great number of them (including some given by myself) have gone unanswered.  
Perhaps you should read over this thread and make sure you haven't missed 
anything.

-A.
 

Um...  If you read my orginal post, this was unplanned as I had a Cisco 
hardware failure.  I have been working on building Asterisk for over 6 
months and don't have the luxury of forking out over $5,000 for a test 
T1.  I also have noticed that in looking through this particular thread 
that I have never seen your name in it.  Just double checked the 
archives and, nope, you aren't there...

I have tried every suggestion and replied my results.
If you don't have any facts to share, please don't bother.  I am 
desperate and don't have alot of time left and am begging for the list's 
advice.  I left probably the largest post this month with EXACTLY what I 
have tried, the results, debug information, etc...  I have removed 
drivers, swapped cards, changed IRQ's...  I am open to any suggestions.  
If you tell me to go buy a different card, I will do that.  You guys 
know more about than I do.  What do you suggest, exactly?

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Matt Klein
Mark,
 Call your upstream and ask for good echo can, to start, issue a 
trouble ticket regarding static and echo on your T1.

-m
On Tue, 26 Apr 2005, Mark Johnson wrote:
Andrew Kohlsmith wrote:
On April 26, 2005 06:19 pm, Mark Johnson wrote:
Does anyone have some suggestions on how to get rid of this static on my
Digium card?  I am supposed to go live tomorrow night and will get shot
if it's like this!!
Lack of planning on your part does not constitute an emergency on our part.
There were a number of suggestions given to you over the past week or so 
and a great number of them (including some given by myself) have gone 
unanswered.  Perhaps you should read over this thread and make sure you 
haven't missed anything.

-A.
Um...  If you read my orginal post, this was unplanned as I had a Cisco 
hardware failure.  I have been working on building Asterisk for over 6 months 
and don't have the luxury of forking out over $5,000 for a test T1.  I also 
have noticed that in looking through this particular thread that I have never 
seen your name in it.  Just double checked the archives and, nope, you aren't 
there...

I have tried every suggestion and replied my results.
If you don't have any facts to share, please don't bother.  I am desperate 
and don't have alot of time left and am begging for the list's advice.  I 
left probably the largest post this month with EXACTLY what I have tried, the 
results, debug information, etc...  I have removed drivers, swapped cards, 
changed IRQ's...  I am open to any suggestions.  If you tell me to go buy a 
different card, I will do that.  You guys know more about than I do.  What do 
you suggest, exactly?

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Andrew Kohlsmith
On April 26, 2005 10:28 pm, Mark Johnson wrote:
 Um...  If you read my orginal post, this was unplanned as I had a Cisco
 hardware failure.  I have been working on building Asterisk for over 6
 months and don't have the luxury of forking out over $5,000 for a test
 T1.  I also have noticed that in looking through this particular thread
 that I have never seen your name in it.  Just double checked the
 archives and, nope, you aren't there...

Who needs a test T1?  Two back-to-back TE110Ps work great for testing most 
aspects.

And I need to apologize; I have your posts mixed up with someone else's with 
similar problems and who didn't seem to follow up.

At any rate, I'm sorry.

 If you don't have any facts to share, please don't bother.  I am
 desperate and don't have alot of time left and am begging for the list's
 advice.  I left probably the largest post this month with EXACTLY what I
 have tried, the results, debug information, etc...  I have removed
 drivers, swapped cards, changed IRQ's...  I am open to any suggestions.
 If you tell me to go buy a different card, I will do that.  You guys
 know more about than I do.  What do you suggest, exactly?

Try these things:

Software:
- don't play with gains on PRI or T1 unless you have echo or too loud/quiet.  
Static isn't caused by screwy gains and on digital circuits it technically 
shouldn't ever need to be adjusted
- turn echocancel off for now
- I notice you've got span=1,0,0 -- if you're talking to the telco make sure 
you're synchronizing the clock to them.  Use span=1,1,0.
- remove all modules except those absolutely necessary
- Have you tried span 2, 3 or 4 instead of 1?

Also is this a *stock* kernel or some distro-enhanced version?  Grab a stock 
kernel of the same version from ftp.kernel.org.

Finally, don't use the agressive canceller unless you REALLY can't get rid of 
it any other way (I seem to have very good performance with MARK2, using the 
MMX-friendly implementation (zconfig.h) and making sure my CFLAGS for the 
zaptel code was optimized for my processor (-march=pentium4).

Also see 
http://lists.digium.com/pipermail/asterisk-users/2004-November/071301.html.

Hardware:
- *remove* the TDM22P from the system.  Don't just unload the modules.
- pull the TE405P out and put it in another (not same motherboard) system.  
I've seen this clean things up several times.

Wetware:
It's getting a little late for this now, but you paid for support from Digium 
when you bought the card; You might want to give them a call.  Unfortunately 
I don't think this is an issue they will be able to solve over the phone, and 
their likely recommendation would be to replace the system.  I'd love to know 
what they do find, if you try this route.

Again, my apologies, for blasting you; I had you mixed up with someone else.

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Mark Johnson
Andrew Kohlsmith wrote:
Try these things:
Software:
- don't play with gains on PRI or T1 unless you have echo or too loud/quiet.  
Static isn't caused by screwy gains and on digital circuits it technically 
shouldn't ever need to be adjusted
- turn echocancel off for now
- I notice you've got span=1,0,0 -- if you're talking to the telco make sure 
you're synchronizing the clock to them.  Use span=1,1,0.
- remove all modules except those absolutely necessary
- Have you tried span 2, 3 or 4 instead of 1?

Also is this a *stock* kernel or some distro-enhanced version?  Grab a stock 
kernel of the same version from ftp.kernel.org.

Finally, don't use the agressive canceller unless you REALLY can't get rid of 
it any other way (I seem to have very good performance with MARK2, using the 
MMX-friendly implementation (zconfig.h) and making sure my CFLAGS for the 
zaptel code was optimized for my processor (-march=pentium4).

Also see 
http://lists.digium.com/pipermail/asterisk-users/2004-November/071301.html.

Hardware:
- *remove* the TDM22P from the system.  Don't just unload the modules.
- pull the TE405P out and put it in another (not same motherboard) system.  
I've seen this clean things up several times.

Wetware:
It's getting a little late for this now, but you paid for support from Digium 
when you bought the card; You might want to give them a call.  Unfortunately 
I don't think this is an issue they will be able to solve over the phone, and 
their likely recommendation would be to replace the system.  I'd love to know 
what they do find, if you try this route.

Again, my apologies, for blasting you; I had you mixed up with someone else.
-A.
 

This is perfect stuff!!!  Thank you!!  I actually pulled the TDM22P 
today, removed all of those drivers and get the same results.  I have 
built another box and am installing asterisk as we speak.  I tried the 
span=1,1,0 with the same results and have been running that line for a 
day now.  What I find strange is this...  If I speak at a normal tone, 
it sounds OK.  I still get static noise when the other person speaks.  
If I talk louder, I start to get what sounds like a partial echo.  If I 
yell, I get a definite echo.

Have not tried a different slot on the quad, will try that tomorrow.
When monkeying with the echo cancel, I never really noticed a 
difference.  I would even reboot the machine between changes to see if 
it made a difference.

I am running this on Fedora Core 1.  I will try any OS you recommend, 
but I have always had great luck with RH type distro's.  I keep 400 and 
500 day uptimes on those machines and they run many, many services.  
Uptimes would be higher but it seems whenever I find a good place to 
work, they close up or I move.  Admittedly, I don't use RPM's for the 
core services, I typically compile those myself.  I also shut down every 
module and service I don't need.  I did alot of reading and it seemed 
like Digium cards were the real deal and I also found many users that 
had luck with the same setup.  Should I try a different approach/OS/system?

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Matt Klein
ask your upstream.
On Wed, 27 Apr 2005, Mark Johnson wrote:
Andrew Kohlsmith wrote:
Try these things:
Software:
- don't play with gains on PRI or T1 unless you have echo or too 
loud/quiet.  Static isn't caused by screwy gains and on digital circuits it 
technically shouldn't ever need to be adjusted
- turn echocancel off for now
- I notice you've got span=1,0,0 -- if you're talking to the telco make 
sure you're synchronizing the clock to them.  Use span=1,1,0.
- remove all modules except those absolutely necessary
- Have you tried span 2, 3 or 4 instead of 1?

Also is this a *stock* kernel or some distro-enhanced version?  Grab a 
stock kernel of the same version from ftp.kernel.org.

Finally, don't use the agressive canceller unless you REALLY can't get rid 
of it any other way (I seem to have very good performance with MARK2, using 
the MMX-friendly implementation (zconfig.h) and making sure my CFLAGS for 
the zaptel code was optimized for my processor (-march=pentium4).

Also see 
http://lists.digium.com/pipermail/asterisk-users/2004-November/071301.html.

Hardware:
- *remove* the TDM22P from the system.  Don't just unload the modules.
- pull the TE405P out and put it in another (not same motherboard) system. 
I've seen this clean things up several times.

Wetware:
It's getting a little late for this now, but you paid for support from 
Digium when you bought the card; You might want to give them a call. 
Unfortunately I don't think this is an issue they will be able to solve 
over the phone, and their likely recommendation would be to replace the 
system.  I'd love to know what they do find, if you try this route.

Again, my apologies, for blasting you; I had you mixed up with someone 
else.

-A.
This is perfect stuff!!!  Thank you!!  I actually pulled the TDM22P today, 
removed all of those drivers and get the same results.  I have built another 
box and am installing asterisk as we speak.  I tried the span=1,1,0 with the 
same results and have been running that line for a day now.  What I find 
strange is this...  If I speak at a normal tone, it sounds OK.  I still get 
static noise when the other person speaks.  If I talk louder, I start to get 
what sounds like a partial echo.  If I yell, I get a definite echo.

Have not tried a different slot on the quad, will try that tomorrow.
When monkeying with the echo cancel, I never really noticed a difference.  I 
would even reboot the machine between changes to see if it made a difference.

I am running this on Fedora Core 1.  I will try any OS you recommend, but I 
have always had great luck with RH type distro's.  I keep 400 and 500 day 
uptimes on those machines and they run many, many services.  Uptimes would be 
higher but it seems whenever I find a good place to work, they close up or I 
move.  Admittedly, I don't use RPM's for the core services, I typically 
compile those myself.  I also shut down every module and service I don't 
need.  I did alot of reading and it seemed like Digium cards were the real 
deal and I also found many users that had luck with the same setup.  Should I 
try a different approach/OS/system?

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Mark Johnson
Matt Klein wrote:
ask your upstream.
Not sure what you mean.  This T1 is in good working order with a 
different system.  Do you mean call the telco or Digium?

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Michael Welter
Mark Johnson wrote:
Andrew Kohlsmith wrote:
On April 26, 2005 06:19 pm, Mark Johnson wrote:
Do SIP-SIP calls have static?  If you don't have SIP phone then you 
can use X-lite.

Arrange you dial plan so an incoming PSTN call can call an outside 
number--from outside dial your system and then make an outside call. 
This call will be bridged on the Digium card.  Do you get static?  If 
not then it's not the PRI.

2¢
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Matt Klein
Mark,
Call your local Telco and issue a Trouble Ticket and specifically 
state that you have Static and Echo on your line and need assistance.

Most likely, they can give you Echo Can for free.
Call Manager has always produced better quality sound.
-m
On Wed, 27 Apr 2005, Mark Johnson wrote:
Matt Klein wrote:
ask your upstream.
Not sure what you mean.  This T1 is in good working order with a different 
system.  Do you mean call the telco or Digium?

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Mark Johnson
Michael Welter wrote:
Do SIP-SIP calls have static?  If you don't have SIP phone then you 
can use X-lite.

Arrange you dial plan so an incoming PSTN call can call an outside 
number--from outside dial your system and then make an outside call. 
This call will be bridged on the Digium card.  Do you get static?  If 
not then it's not the PRI.

I use Cisco 7940's and 60's.  SIP to SIP calls are better than perfect.  
I also had good luck with my TDM22B, no echo and no static (although it 
was chewing up the processor, noticed per your advice).  Will attempt 
that and let you know!

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-26 Thread Adam Goryachev
On Wed, 2005-04-27 at 00:03 -0400, Mark Johnson wrote:
 Andrew Kohlsmith wrote:
 
 This is perfect stuff!!!  Thank you!!  I actually pulled the TDM22P 
 today, removed all of those drivers and get the same results.  I have 
 built another box and am installing asterisk as we speak.  I tried the 
 span=1,1,0 with the same results and have been running that line for a 
 day now.  What I find strange is this...  If I speak at a normal tone, 
 it sounds OK.  I still get static noise when the other person speaks.  
 If I talk louder, I start to get what sounds like a partial echo.  If I 
 yell, I get a definite echo.

This sounds vaguely similar to a problem I had over a year ago. I
progressively solved it by:

*) New motherboard/CPU (from via based AMD XP1800 to via based dual AMD
Athlon MP based)
*) Lots of playing with echo canceller options

Those two solved the static problem, and most of the time, they solved
the echo problem.

However, I recently had the opportunity to swap my card for a new TE4xxp
card, and found that all my intermittent problems vanished (timing
slips, frequent red alarms, dropped calls, HDCL errors). After a few
more weeks, I got the card RMA'ed, and now everything is perfect. No
frame slips, no echo, no static, nothing at all.

BTW, the 'static' in my case was only ever heard by the PRI party, the
sip/etc user never heard it. The way it seemed to work is while I
talked, the remote party would hear me overly amplified + some
distortion factor... Even though the actual volume wasn't loud... It
made it difficult to have a conversation, and some people would simply
hangup (annoying after you have been on hold for 40 minutes). However,
this wasn't apparent on ALL calls, it only affected some calls, but
always the same people were affected.

So, it seems to me that the real problem was some sort of marginal card,
but by throwing a better motherboard/CPU at it, I was able to get better
performance...

My suggestion, try another motherboard, and then contact digium, get
them to run zttest and also do a loopback test. It was the loopback test
that got them to replace my card (it received less than 10% of the
packets it sent without error, the other 90% or more were errors!
Honestly, I'm surprised it even worked some of the time).

Hope that helps you somewhat...

Regards,
Adam
-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 9345 4396www.websitemanagers.com.au

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-25 Thread Mark Johnson
Michael Welter wrote:
Mark Johnson wrote:
I tested and I do in fact get from 40-50% system util every 5 seconds 
or so.  After removing the wctdm module, the system util drops to 0 
and stays there.  I have not loaded the wcfxs and wcfxo modules 
because I could never get them to work right.  I instead load the 
wctdm and it has seemed to work fine.  I only need to make the fx 
port to the paging system work and the others can stay idle.  What 
modules and order so you suggest.  Here is what I load in this order:

wct4xxp
wctdm
Do you still have the static on the PRI without the TDM modules?
I finally got to test...  Removing the tdm module makes no difference in 
the static.  I still hear it for any incoming sound.  Removing it does, 
however clean up the CPU usage but quite a bit.  One odd thing was with 
the tdm module removed, it seemed to introduce a little delay in the 
conversation.

I also tried to recompile the zaptel drivers with the aggresive 
cancellation.  This seems to made a HUGE improvement to my echo problem.

Any ideas?
Mark
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Static and echo on PRI

2005-04-24 Thread Mark Johnson
I need some serious help!!  I have been in the process of building an 
Asterisk system to replace a Cisco Call Manager.  I have most everything 
setup, but only got to test the PRI today.  To make a long story short, 
my Call Manager is half broken and I need to go live with * a lot sooner 
than I expected. 

Here's where I am and what I tried.  I am using all Cisco phones, mostly 
7940's and 60's in a SIP configuration.  All internal calls work with no 
issues.  I have a TE405P for the PRI and a TDM22B for my paging system 
and whatnot.  I am currently only using one PRI on the quad card.  When 
calling out on the PRI, I am getting static and some echoing.  I have 
tried various orders and values for the txand rxgains, echocancellation 
and nothing seems to help.  I get the staticy noise only when sound is 
coming in, like when the other is ringing or when the other person is 
talking.  Complete silence the rest of the time.  I get different 
amounts of echo when calling out, the person on the other end says they 
hear no echo or static at all, just on the SIP phones.  I made sure that 
I have no IRQ conflicts (output below) and my CPU usage seems to be 
fine, plenty of horsepower remaining.

Here are the parts of my configs that I feel are relavent:
/etc/zaptel.conf
---
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us
fxoks=97
fxoks=98
fxsks=99
fxsks=100
/etc/asterisk/zapata.conf
--
[trunkgroups]
[channels]
context=incoming
switchtype=national
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
callgroup=1
pickupgroup=1
immediate=no
callerid=xx
rxgain=0.0
txgain=0.0
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
;echotraining=800
switchtype = national
signalling = pri_cpe
group = 1
channel = 1-23
signalling=fxo_ks
group = 2
channel = 97
signalling=fxo_ks
group = 3
channel = 98
signalling=fxs_ks
group = 4
channel = 99
signalling=fxs_ks
group = 5
channel = 100
/etc/asterisk/extensions.conf
---
TRUNK=Zap/g1
TRUNKMSD=1
[trunklocal]
exten = _6NX,1,SetCallerID(xx)
exten = _6NX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten = _6NX,3,Congestion
Here are a few lines from the logs that might mean something to someone:
Apr 24 18:22:40 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:22:40 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:22:41 NOTICE[196620]: PRI got event: 8 on Primary D-channel of 
span 1
Apr 24 18:22:41 NOTICE[196620]: PRI got event: 8 on Primary D-channel of 
span 1
Apr 24 18:24:31 NOTICE[196620]: PRI got event: 8 on Primary D-channel of 
span 1
Apr 24 18:25:53 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:25:54 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:26:09 NOTICE[196620]: PRI got event: 8 on Primary D-channel of 
span 1
Apr 24 18:26:09 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:26:09 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:26:10 WARNING[196620]: PRI: !! Got reject for frame 51, but we 
only have others!
Apr 24 18:26:10 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:26:11 NOTICE[196620]: PRI got event: 8 on Primary D-channel of 
span 1
Apr 24 18:27:01 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1
Apr 24 18:27:41 NOTICE[196620]: PRI got event: 6 on Primary D-channel of 
span 1

** I tried the line span=1,0,0,esf,b8zs in my zaptel.conf and made no 
difference.

Here is a debug section for my PRI when I was getting static and echo:
Enabled debugging on span 1
   -- Executing SetCallerID(SIP/226-9fca, 3307551414) in new stack
   -- Executing Dial(SIP/226-9fca, Zap/g1/3305596313) in new stack
-- Making new call for cr 32771
 Protocol Discriminator: Q.931 (8)  len=46
 Call Ref: len= 2 (reference 3/0x3) (Originator)
 Message type: SETUP (5)
 [04 03 80 90 a2]
 Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Speech (0)
  Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)
  Ext: 1  User information layer 1: u-Law (34)
 [18 03 a9 83 81]
 Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, 
Exclusive Dchan: 0
ChanSel: Reserved
   Ext: 1  Coding: 0   Number Specified   Channel 
Type: 3
   Ext: 1  Channel: 1 ]
 [1e 02 80 83]
 Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard 
(0) 0: 0   Location: User (0)
   Ext: 1  Progress Description: Calling 
equipment is non-ISDN. (3) ]
 [6c 0c 21 80 33 33 30 37 35 35 31 34 31 34]
 Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
 

Re: [Asterisk-Users] Static and echo on PRI

2005-04-24 Thread Michael Welter
Mark Johnson wrote:
I need some serious help!!  I have been in the process of building an 

Here are my interrupts:
cat /proc/interrupts
CPU0
0: 960018  XT-PIC  timer
1:  4  XT-PIC  keyboard
2:  0  XT-PIC  cascade
3:9565339  XT-PIC  t4xxp
5:  16301  XT-PIC  eth0
8:  1  XT-PIC  rtc
9:  0  XT-PIC  usb-ohci, usb-ohci, usb-ohci, ehci_hcd
10:  0  XT-PIC  ohci1394
11:9566436  XT-PIC  wctdm
12: 23  XT-PIC  PS/2 Mouse
14:  16978  XT-PIC  ide0
15:  0  XT-PIC  ide1
NMI:  0
ERR:  0
Try 'vmstat 1'--are you getting 40% system utilization every n 
seconds?  If so, unload the wcfxo and wcfxs modules and test again.

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


Re: [Asterisk-Users] Static and echo on PRI

2005-04-24 Thread Mark Johnson
Michael Welter wrote:
Try 'vmstat 1'--are you getting 40% system utilization every n 
seconds?  If so, unload the wcfxo and wcfxs modules and test again.
I tested and I do in fact get from 40-50% system util every 5 seconds or 
so.  After removing the wctdm module, the system util drops to 0 and 
stays there.  I have not loaded the wcfxs and wcfxo modules because I 
could never get them to work right.  I instead load the wctdm and it has 
seemed to work fine.  I only need to make the fx port to the paging 
system work and the others can stay idle.  What modules and order so you 
suggest.  Here is what I load in this order:

wct4xxp
wctdm
Thanks!
Mark
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static and echo on PRI

2005-04-24 Thread Michael Welter
Mark Johnson wrote:
Michael Welter wrote:
Try 'vmstat 1'--are you getting 40% system utilization every n 
seconds?  If so, unload the wcfxo and wcfxs modules and test again.

I tested and I do in fact get from 40-50% system util every 5 seconds or 
so.  After removing the wctdm module, the system util drops to 0 and 
stays there.  I have not loaded the wcfxs and wcfxo modules because I 
could never get them to work right.  I instead load the wctdm and it has 
seemed to work fine.  I only need to make the fx port to the paging 
system work and the others can stay idle.  What modules and order so you 
suggest.  Here is what I load in this order:

wct4xxp
wctdm
Do you still have the static on the PRI without the TDM modules?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users