Need help testing a new 64-bit G729/G723 codec installer
Posted: Thu Mar 29, 2018 1:53 pm
Since I have a pretty homogenous CPU assortment, meaning they're all basically Intel Core2+ architecture with SSE4 instructions, I am asking if anyone wants to help me test this script. It's fairly basic and should work with ViciBox 6, 7 and 8, or any 64-bit Asterisk 1.8 or newer system. It will detect whether you are running Intel or AMD CPU, which architecture, and install the best optimized G729 and G723 codec for you from asterisk.hosting.lv. As a bonus if Asterisk is running it will also load the modules into asterisk for you, otherwise Asterisk will load them automatically when it starts.
Here's how you run it:
[edited to allow full url in simple copy/paste - williamconley]
You should see output that looks like this:
--- Asterisk G729/G723 codec installer for AMD and Intel 64-bit CPUs
--- Written by James Pearson at ViciDial Group <jamesp@vicidial.com>
--- Supports Asterisk v.1.8, 11, 12, 13, 14, and 15 only
--- Please make sure you have internet connectivity to download codecs
Found Asterisk 13 - v.13.19.0-vici
Found Intel CPU, Core2 arch or better, with SSE4 instructions
Installing from asterisk.hosting.lv
Downloading G729 - codec_g729-ast130-gcc4-glibc-x86_64-core2-sse4.so... done
Downloading G723 - codec_g723-ast130-gcc4-glibc-x86_64-core2-sse4.so... done
Asterisk not running, skipping module load
Finished
Let me know if it ran OK for you. Thanks!
Here's how you run it:
- Code: Select all
wget http://download.vicidial.com/optional-apps/codec-install.sh
bash codec-install.sh
[edited to allow full url in simple copy/paste - williamconley]
You should see output that looks like this:
--- Asterisk G729/G723 codec installer for AMD and Intel 64-bit CPUs
--- Written by James Pearson at ViciDial Group <jamesp@vicidial.com>
--- Supports Asterisk v.1.8, 11, 12, 13, 14, and 15 only
--- Please make sure you have internet connectivity to download codecs
Found Asterisk 13 - v.13.19.0-vici
Found Intel CPU, Core2 arch or better, with SSE4 instructions
Installing from asterisk.hosting.lv
Downloading G729 - codec_g729-ast130-gcc4-glibc-x86_64-core2-sse4.so... done
Downloading G723 - codec_g723-ast130-gcc4-glibc-x86_64-core2-sse4.so... done
Asterisk not running, skipping module load
Finished
Let me know if it ran OK for you. Thanks!