Help me choosing the right codec

-cpu
product: Dual-Core AMD Opteron™ Processor 2218 HE
vendor: Advanced Micro Devices [AMD]
physical id: 1
bus info: cpu@0
version: 15.1.3
size: 18EHz
width: 64 bits
capabilities: fpu fpu_exception wp tsc msr pae mce cx8 apic
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp x86-64 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy
svm extapic cr8legacy ts fid vid ttp tm stc

The above description is the CPU details of my EC2 instance running on
Ubuntu. I am making a product which will record voices and stores it.
I am researching for a codec for use with my asterisk which will
consume low bandwidth. As of now i am using u-law codec in my asterisk
and the sound quality is pretty good i think. As per the bandwidth
usage chart i think g723 or g729 will be the best ones for my purpose.
I have downloaded the codec_g723-ast14-gcc4-glibc-opteron-sse3.so and
codec_g729-ast14-gcc4-glibc-opteron-sse3.so files. Now i want to know
How should i go with this means how can i install this so that it can
work with my asterisk. I do not have any problem in buying codec
license but the quality and bandwidth usage should be considered. If
you think i should use any other codec please suggest. Any advice will
be entertained. Thanks in advance.

Auro

AFAIK the codec you have downloaded is for testing only. I am not a big fan of that (I think we should support Digium).

G729 will help you with bandwidth but will eat away at your CPU if you are recording. On the other hand G711U will eat at your internet and save on CPU usage.

I would test both making several calls and see how the CPU on the box reacts.

Thanks dovid.
thanks a lot for your reply. I also thought of that but as i am using a different kind of processor(as i mentioned earlier) how should i go for installing it. Please tell me the procedure of getting it step by step(if possible).

Thanks in advance.
Auro

Thanks for your all the help. At last i am sticking with the G729 codec. I think this is the best. As i am developing the project i am using the free version available at asterisk.hosting.lv
But when my product will work within our enterprise i have to buy that. I think measuring the license(how much license you have to buy?) is the most difficult part to calculate. Can anyone help me in this. I am describing my project scenario here so that you can better understand my situation:

  1. only incoming calls has been made to my DID number.
  2. It will be forwarded to my asterisk server.
  3. call has been handled totally in G729 codec. No other codec is allowed.
  4. There i am recording one voice message for each caller in GSM format.
  5. All the voice prompts are also in GSM format.

How much license i have to buy for G729? Any idea?

Thanks for your all the help. At last i am sticking with the G729 codec. I think this is the best. As i am developing the project i am using the free version available at asterisk.hosting.lv
But when my product will work within our enterprise i have to buy that. I think measuring the license(how much license you have to buy?) is the most difficult part to calculate. Can anyone help me in this. I am describing my project scenario here so that you can better understand my situation:

  1. only incoming calls has been made to my DID number.
  2. It will be forwarded to my asterisk server.
  3. call has been handled totally in G729 codec. No other codec is allowed.
  4. There i am recording one voice message for each caller in GSM format.
  5. All the voice prompts are also in GSM format.

How much license i have to buy for G729? Any idea? :bulb: