Regarding Audio quality issue
Posted:
Tue Sep 28, 2010 4:46 pm
by openasterisk
Hi,
I am using vicidial which is having below version.
$admin_version = '2.2.1-237';
$build = '100510-2015';
we are having almost 25 Agents now, and who are doing inbound and outbound calling.
Server configuration is as below :
CentOS release 5.4 (Final)
Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
300 GB RAID harddisk
8 GB RAM
100MBPS lease line
We are using xlite on agent machines and those machines are also good with high network bandwidth. I have tried gsm, ulaw and alaw codecs, but agents are having very bad audio quality.
I checked in top, none of the process is using more CPU, its almost free. still we are not getting a quality audio.
Can anyone please suggest what should i try?
Please let me know if you need any other information.
waiting for replies.
Thanks
Posted:
Wed Sep 29, 2010 9:16 pm
by williamconley
thank you for including all that info ... but you did still miss the installation method (name and version of .iso, kernel would also be nice).
are your agents on the same local subnet as the server?
have you tested this 100M line to be sure it really is 100M both up and down and reliable?
you should also try zoiper and/or kiax
you should also be sure there is NO other network traffic on your networks other than vicidial sound and vicidial web (this applies to BOTH the server and the agents if they are on different subnets).
are you sure you were really changing from gsm/ulaw/alaw, how did you verify that they were actually changing (i have to ask, because some people think they changed when they didn't REALLY and never checked in asterisk to find out their actual codec in use on each call)
is this true even with ONE call on the system after hours?
Posted:
Thu Sep 30, 2010 4:23 am
by openasterisk
Hi william,
Thanks for you response.
Here are the details.
Kernel version is 2.6.18-HPTraid and i have followed scratch install document for installation, i havent used any iso.
My Server is godaddy dedicated server , so agents are not in same network.
Also regarding 100MBPS, i am not sure how to test it, but i have confirmed with godaddy and they told that i am having 100MBPS link.
Regarding codec change, Actually i am having a enough experience of asterisk and vicidial, i have configured sip codec order in sip.conf as well as in the trunk details, and from sip debug in asterisk CLI, i was able to find out which codec was negotiated.
System works fine with 2-3 agents, but as soon as the number of agents are increased, sound quality goes down.
As i know gsm consumes only 30kbps, and ulaw / alaw is 80kbps, i am using gsm now, and its much better then before.
but still please let me know is there anything else i can do?
thanks
Posted:
Thu Sep 30, 2010 5:56 am
by mflorell
We would recommend not using CentOS if at all possible, that is an old kernel and the CentOS default kernels have a lot of problems with them.
What zaptel timer are you using?
Have you run zttest for a few hours on this machine?
What Asterisk version?
Posted:
Thu Sep 30, 2010 6:09 am
by openasterisk
Thanks for your response matt.
So which linux distro you suggest for vicidial?
I am using zaptel 1.4.12.1 , no other extra timer used except ztdummy.
yes, i have run zttest and it seems fine. Below is the result.
--- Results after 223 passes ---
Best: 99.989 -- Worst: 99.833 -- Average: 99.953086, Difference: 99.997679
Asterisk version : 1.4.21.2
Please suggest me which zaptel and asterisk version do you recommend for this?
thanks
Posted:
Thu Sep 30, 2010 6:23 am
by mflorell
We recommend OpenSuSE 11.3, we have installed OpenSuSE on hundreds of systems and it always performs better than stock CentOS.
Also some of these hosting companies claim to give you a dedicated server when they are actually running it in a virtualized container, please post the results of "lspci -v" from your Linux CLI.
Posted:
Thu Sep 30, 2010 6:31 am
by openasterisk
Hi Matt,
Here is the output.
Please let me know how to get idea if its virtual machine or dedicated server?
lspci -v
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fd400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at ff00 [size=8]
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] #13 [0306]
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: fast devsel
Memory at fdd00000 (64-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: [d0] Power Management version 2
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 (prog-if 00 [UHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at fe00 [size=32]
Capabilities: [50] #13 [0306]
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 (prog-if 00 [UHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 233
I/O ports at fd00 [size=32]
Capabilities: [50] #13 [0306]
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (prog-if 00 [UHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 50
I/O ports at fc00 [size=32]
Capabilities: [50] #13 [0306]
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 (prog-if 20 [EHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 185
Memory at fdfff000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
Capabilities: [98] #13 [0306]
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fda00000-fdafffff
Prefetchable memory behind bridge: 00000000bc000000-00000000bc000000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: fd900000-fd9fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 3 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: fde00000-fdefffff
Prefetchable memory behind bridge: 00000000bc100000-00000000bc100000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 (prog-if 00 [UHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 225
I/O ports at fb00 [size=32]
Capabilities: [50] #13 [0306]
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 (prog-if 00 [UHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 50
I/O ports at fa00 [size=32]
Capabilities: [50] #13 [0306]
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 (prog-if 00 [UHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at f900 [size=32]
Capabilities: [50] #13 [0306]
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 (prog-if 20 [EHCI])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0, IRQ 225
Memory at fdffe000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
Capabilities: [98] #13 [0306]
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fdb00000-fdcfffff
Capabilities: [50] #0d [0000]
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 50
I/O ports at f800 [size=8]
I/O ports at f700 [size=4]
I/O ports at f600 [size=8]
I/O ports at f500 [size=4]
I/O ports at f400 [size=16]
I/O ports at f300 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] #13 [0306]
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: medium devsel, IRQ 185
Memory at fdffd000 (64-bit, non-prefetchable) [size=256]
I/O ports at 0500 [size=32]
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller (prog-if 85 [Master SecO PriO])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 50
I/O ports at f100 [size=8]
I/O ports at f000 [size=4]
I/O ports at ef00 [size=8]
I/O ports at ee00 [size=4]
I/O ports at ed00 [size=16]
I/O ports at ec00 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] #13 [0306]
01:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller (prog-if 85 [Master SecO PriO])
Subsystem: JMicron Technology Corp. JMB368 IDE controller
Flags: bus master, fast devsel, latency 0, IRQ 169
I/O ports at df00 [size=8]
I/O ports at de00 [size=4]
I/O ports at dd00 [size=8]
I/O ports at dc00 [size=4]
I/O ports at db00 [size=16]
[virtual] Expansion ROM at bc000000 [disabled] [size=64K]
Capabilities: [68] Power Management version 2
Capabilities: [50] Express Legacy Endpoint IRQ 1
Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
02:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (prog-if 10 [OHCI])
Subsystem: Unknown device 3141:1297
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fd9ff000 (32-bit, non-prefetchable) [size=2K]
Memory at fd9fe000 (32-bit, non-prefetchable) [size=128]
Memory at fd9fd000 (32-bit, non-prefetchable) [size=128]
Memory at fd9fc000 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 3
Capabilities: [80] Express Endpoint IRQ 0
Capabilities: [94] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3141
Flags: bus master, fast devsel, latency 0, IRQ 185
Memory at fdefc000 (64-bit, non-prefetchable) [size=16K]
I/O ports at be00 [size=256]
[virtual] Expansion ROM at bc100000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [e0] Express Legacy Endpoint IRQ 0
Capabilities: [100] Advanced Error Reporting
04:09.0 SCSI storage controller: HighPoint Technologies, Inc. RocketRAID 1720 (2x SATA II RAID Controller) (rev 02)
Subsystem: Marvell Technology Group Ltd. Unknown device 11ab
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 177
Memory at fdb00000 (64-bit, non-prefetchable) [size=1M]
I/O ports at ce00 [size=256]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [60] PCI-X non-bridge device
Posted:
Thu Sep 30, 2010 8:12 am
by mflorell
It does look like a genuine dedicated server, can you post the CPU/RAM specs?
Posted:
Thu Sep 30, 2010 8:25 am
by openasterisk
Hi Matt,
yes sure.
CPU is : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
and 8 GB RAM
Also it will be great if you can tell me how did you came to know its dedicated server, so i can check in future while purchasing dedicated server?
Thanks
Posted:
Thu Sep 30, 2010 8:41 am
by mflorell
The several USB controllers and PCI bridges. Virtual machines don't usually have those, and they usually use more generic components in their listings.
Posted:
Thu Sep 30, 2010 8:43 am
by mflorell
The server certainly has enough power, I would try changing to OpenSuSE if you can, or even the vicibox ISO if possible, we have test it and it will work much better than what you currently have.
Posted:
Thu Sep 30, 2010 8:48 am
by openasterisk
Thanks matt for your suggestions.
I will give it a try later and check if any issue occurs.
Anyways thank you very much for your response.
Have a nice time.