Codec g729 is not being used

Hi, I can’t figure out what i’m doing wrong. i’ve been unable to force an Eyebeam Sip extension to use g729 with other codecs enabled. When g729 codec is the only one available on Eyebeam’s configuration, it is used, but if i enable g711 codec, this is used instead of g729. My Sip.conf looks like this:

[1172]
type=friend
callerid=Martin Cabrera <1172>
mailbox=1172@default
username=1172
secret=X
host=dynamic
disallow=all
allow=g729
allow=ilbc
allow=ulaw
allow=gsm

*CLI> show g729
0/0 encoders/decoders of 10 licensed channels are currently in use

Martin -

Is there some reason why you are disallowing all then and re enabling all of the other codecs…? Why not just do the following:

disallow=all
allow=g729

Also, you may want to look at your phone config as well. I know there seem to be several phones that will utilize a “default” codec regardless of the order the codecs are listed in your sip/iax.conf files.

Just a thought.