appliance

Does x100p act as a good timing source?

jonnytabpni
Posts: 304
Member Since:
2007-03-21

Does x100p act as a good timing source?

I don't need any "modules" for this rite?

Cheers



kerryg
Posts: 6030
Member Since:
2006-05-31
Just plug it into a port and

Just plug it into a port and forget about it.

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
thanks kerry. thats what i

thanks kerry. thats what i was planning on doing. i don't intend on using it for PSTN as I have no need for a PSTN line currently and also the bad history of the x100p performance.

My zttest scores is:
--- Results after 28 passes ---
Best: 99.962 -- Worst: 98.544 -- Average: 99.856463, Difference: 100.053128
[server2.ABPNI.local ~]#

and I'm experiencing some jitter overall. do you hink the x100p will fix this? Cheers



kerryg
Posts: 6030
Member Since:
2006-05-31
Timing problems manifest the

Timing problems manifest the most on playback of files such as recordings and music on hold. If you hit *65 and you hear "you r r nu nu nu numb number issssssss t t t t wo zzzzzzzero z z z z ero" you most certainly have a time problem. If all of that is perfect and you are only have issues on call out to a voip provider then you should rethink your decision about not using PSTN lines.

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
well the jitters occur

well the jitters occur accross the board. everywhere. they are random, and sometimes they don't happen at all and when they do, it may only happen once in an average length voicemail call. sometimes I can't even use a trunk to call out coz its so jittery (however this is very rare).

thoughts?

Cheers



kerryg
Posts: 6030
Member Since:
2006-05-31
If you are using a different

If you are using a different codecs between phone/pbx and pbx/provider then timing will play a crucial part of voice quality. If you are using the same codec all the way through the system then timing is almost useless except for recording playback.

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
nail on the head kerry! So

nail on the head kerry!

So bottom line:

Timeing is used for playback,conferancing and transcoding?

Otherwise its ok?

Come to mention it, thats when the problems occur - either during transcoding or playback.

BTW, how do my test scroes fair compared with others?

Cheers



kerryg
Posts: 6030
Member Since:
2006-05-31
Pretty much, yes. Test Box 1

Pretty much, yes.

Test Box 1 - My production box
--- Results after 30 passes ---
Best: 100.000000 -- Worst: 99.987793 -- Average: 99.997152

Test Box 2
--- Results after 30 passes ---
Best: 99.963 -- Worst: 99.938 -- Average: 99.953429, Difference: 99.996233

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
hmmm. your test box 2 may

hmmm.

your test box 2 may have just made my heart sink. My box is:
--- Results after 32 passes ---
Best: 99.963 -- Worst: 99.865 -- Average: 99.951444, Difference: 100.006753

does ur box 2 have any problems? do you think my "random" packet drops could just be due to the instability of my clock?



kerryg
Posts: 6030
Member Since:
2006-05-31
Box 1 has a timing source,

Box 1 has a timing source, box 2 doesn't, its only used for development. So you can easily see the difference a timing source makes even though the audio quality is fine because it is not doing any transcoding.

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
yea in the past few minutes

yea

in the past few minutes iv been obsessing with zttest and getting averages of like 99.94xx
so my timing is pretty bad!!

So you wreckon a crappy, x100p from ebay will fix this then? I've herd so many bad things about them



kerryg
Posts: 6030
Member Since:
2006-05-31
Yes, it can help. Also, go

Yes, it can help. Also, go into the BIOS and disable the floppy controller, serial port, parallel port, and audio card. This should increase your numbers a smidgen too.

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
ok i went into BIOS and got

ok i went into BIOS and got excited over a setting that i had missed previously called "Enable multimedia Timer".

So i enabled it:

[server2.ABPNI.local ~]# zttest
Opened pseudo zap interface, measuring accuracy...
99.942680% 99.964645% 99.867096% 99.962601% 99.962402% 99.942192% 99.962402%
99.942192% 99.963470% 99.942284% 99.962402% 99.962402% 99.942184% 99.485550% 99.941605%
99.962402% 99.941895% 99.962402% 99.962303% 99.771584% 99.962494% 99.942192% 99.961815%
99.941795% 99.962891% 99.962402% 99.942284% 99.962402% 99.942284%
--- Results after 29 passes ---
Best: 99.965 -- Worst: 99.486 -- Average: 99.928526, Difference: 100.027583
[server2.ABPNI.local ~]#

if anything, my results have got worse lol



kerryg
Posts: 6030
Member Since:
2006-05-31
Not sure what that one is

Not sure what that one is but I don't like the sound of it, I would keep it disabled along with everything else that generates an IRQ and retry.

--

Kerry Garrison
trixbox Community Director
trixbox Pro Standard Edition - It's Free too!
VOIPSpeak.net



jonnytabpni
Posts: 304
Member Since:
2007-03-21
well ill let you know when

well ill let you know when the x100p arrives and we'll see if there is any change. if its not the timing then it must be the NIC



victorvvv
Posts: 45
Member Since:
2007-03-05
TC400B

Dear friends,
Digium TC400B can be used as timing source ?

Anybody use this card ?



SkykingOH
Posts: 2067
Member Since:
2007-12-17
More comments

There is a tool called ztclock. Below my quote is an explanation from the author. This is the most insight I have gotten into Asterisk timing issues.

This test appears to be more accurate than zttest.

I have installed an Openvox card in the HP server that was giving me trouble and the voice prompts sound much better.

Scott

[/code]
ztclock - clock source accuracy test (3 passes)

Flushing input buffer...
Flush Complete.

Test is approximately 3 minutes. Please wait...

483328 samples in 60.410900 sec. (483288 sample intervals) 99.991722%
483328 samples in 60.410901 sec. (483288 sample intervals) 99.991722%
483328 samples in 60.410899 sec. (483288 sample intervals) 99.991722%

Estimate 8 frame slips every 12.083200 seconds.
-- snip --

Background:
During routine codec/dimensioning testing, I observed a strange, recurring cpu spike occuring appoximately every 12 seconds on a completely idle system with only the zaptel drivers loaded. I used 'vmstat 1' to monitor this. I was using the wcfxo driver (wildcard fxo) as a timing source. After switching to the ztdummy driver and using the usb controller as a clock source, I observed that the frequency of the CPU spikes changed to approximately every 5.5 seconds. Hmm... Also, as additional channels were added to the system, the CPU spikes increased in intensity (ie: from 15% utilization to 50% each spike).

Further research indicated that many folks using various flavors of FXO cards were experiencing similar observations as well as problems with data applications such as spandsp. Some of them are observing similar CPU spikes using the TDM400P hardware. I tried to use zttest to put a finger on the problem, but could not seem to get the resulting math to work out. I believe that ztclock may provide some insight into what is happening with those spikes. The test attempts to first determine the accuracy of your clock source compared to the results that could be expected from a true 8khz clock source. Once this is accomplished, it uses the results of the third pass in an attempt to calculate the time frequency that you should expect to see 8 frame slips. I selected 8 frame slips for the calculation instead of 1 because it appears that the zaptel driver moves 8 samples / interrupt / channel. It also appears that the data is clocked across the PCI bus in a similar manner. My calculated frame slip result seems to correspond directly with the frequency of the CPU spikes that I observed, suggesting a possible relationship.

I'd like to hear from anyone who may be tracking this or similar issues. I'd also like to hear some feedback on the ztclock program itself in terms of how it seems to work against various clock sources that you may have available.
[/code]

--

Scott

aka "Skyking"



far182
Posts: 66
Member Since:
2007-07-18
Bottom line, we don't

Bottom line, we don't install any asterisk system without a card in it. Even if we use 100% SIP trunks. We have found timing to always be an issue if we don't. Saves a lot of hassle and quality issues. Cheap solution.



jonnytabpni
Posts: 304
Member Since:
2007-03-21
hey. im just waiting on a

hey. im just waiting on a PCI express sangoma card from Voipon.

I did receive a PCI one from a guy on ebay but I needed PCI express...

For wot it's worth, the PCI one did help timing a lot. still got a few stutters though however zttest gave MUCH better results



jonnytabpni
Posts: 304
Member Since:
2007-03-21
where is the zaptel source

where is the zaptel source directory in trixbox 2.6.07?



SkykingOH
Posts: 2067
Member Since:
2007-12-17
Glad the timing worked for

Glad the timing worked for you.

You have to download the source. It will then be in usr/src, don't hold me to this.

Scott

--

Scott

aka "Skyking"



pbcomputing
Posts: 14
Member Since:
2007-09-10
http://x100p.com/

I just got one of these FXO cards for my trixbox and the crackly audio persists. I dont think this card is very good as a timing device



joshpatten
Posts: 138
Member Since:
2007-01-20
I have been testing this

I have been testing this today to see if a cheapie X100P clone would do the trick for timing, and I've got to say it really doesn't do well in this dept. On a brand new HP server, with nothing but ztdummy loaded (service zaptel stop and then modprobe ztdummy) I get this on a 50 pass zttest run:

--- Results after 49 passes ---
Best: 99.975 -- Worst: 99.929 -- Average: 99.955935, Difference: 99.988190

after I load up the wildcard fxo driver: (service zaptel start) on a 50 pass zttest run:

--- Results after 49 passes ---
Best: 99.974 -- Worst: 99.878 -- Average: 99.953831, Difference: 99.990436

so while these wildcard x100p's are fun to tinker with, they aren't serious contenders on any front.



huebs73
Posts: 87
Member Since:
2006-09-27
PM me for Openvox cards

They are solid and affordable if you only want them for a timing source. I can give you a great deal on these since you are one of my trixbox forums friends.



unkyjoe
Posts: 41
Member Since:
2007-04-25
So let me ask this question

So let me ask this question as I am quite the Newbie.

Once I get the Sangoma T1 card with echo canc, this will provide an acurate timing source?

Am I understanding this correctly?

Thanks



SkykingOH
Posts: 2067
Member Since:
2007-12-17
Yes, and the T1 line

Yes, and the T1 line clocking will also provide a very nice stratum 3 timing reference.

If you like to geek out here is how the timing in the phone network wanders down. Stratum 1 clocks are atomic, using strontium or rubidium as references.

--

Scott

aka "Skyking"



unkyjoe
Posts: 41
Member Since:
2007-04-25
Thanks for the reply

Thanks for the reply Skykingoh, as usual a wealth of information.

Echo cancel is a must? Even on T1 lines?

Right now the customer has a BBS Telecom "Vendor Named" system with 8 8 port cards and a T1 line that this will be replacing, so about 40+ phones plus fax lines.

The actual system is a Plexus PBX system that is rapidly failing them, 2 8 port cards are randomly changing port assignment about 1-2 times per month, the T1 will simpy go bye bye and the phone system throws a fast busy on dials, the HD is making noise, and the big thing is support, we could only find one vendor for this system and he charges even for simple questions. I have never seem a Plexus system before, I have used Panasonic, Nortel etc, this system is clunky and hard to use and the customer is ready for a change, I just want to make sure it is the right system for them.

I spoke with the receptionist, and even though they have a T1 line she has at most had to juggle 4-5 incoming calls at a time. They are in love with thier DID numbers and bypass reception by giving customers thier DID numbers so this will be a big issue with the new system.

Thanks again to everyone for the hand holding :)



SkykingOH
Posts: 2067
Member Since:
2007-12-17
Echo canceling strategies on

Echo canceling strategies on digital lines could fill several books.

Theory aside, the problem is downstream in the phone network when a call has to be converted to analog. Impedance matching in the hybrid (4 wire to 2 wire) circuits can introduce echo.

Since I don't have any real world experience with Asterisk T1 cards (long story we use T1 cards in Cisco routers, this will change in the future).

I would start a new thread and solicit feedback from the folks the have faced the "real world" challenges.

Who is the carrier on the T1? If it is a Bell company at least you will know the circuit is PCM to your local tandem (toll office).

Scott

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.