Open Source - How can I tell if G.729 is being used?

Open Source - How can I tell if G.729 is being used?

When the Digium G.729 codec module is correctly loaded, the Asterisk CLI command "g729 show licenses" will display the current number of G.729 encoders and decoders in use.

Below is an example of the output that is displayed.

1/0 encoders/decoders of 1 licensed channels are currently in use

 

If the output displayed is 0/0 encoders/decoders, there are currently not any G.729 channels being used. If one or more calls should be using the G.729 codec at the time the command was executed, you will want to verify your configuration.

Pay close attention to the allow and disallow in channel configuration files such as sip.conf, iax.conf, etc. At minimum you should have the following:

disallow=all
allow=g729

These can appear in both the [general] and specific peer/user sections.