How do I set the encoding in FreePBX?

How do I set the encoding in FreePBX?

Example: g.711 or g.729 (license required for g.729)

Thanks in advance!

In the Extension

Disallow=all
Allow=G729, GSM

Thanks!

What is GSM? Do I need ulaw(g711) in there?

If you Disallow all, you need to list which ever Codec’s you are going to Allow.

http://www.voip-info.org/wiki/view/Asterisk+codecs