How do I make sure g729 is enabled and working?
When I do show sip show channels they are all ulaw (711).
And g729 show licenses gives the following:
voip2*CLI> g729 show licenses
0/0 encoders/decoders of 10 licensed channels are currently in use
That command shows you have 10 available g729 licenses. Just enable in your peers and in the channel technology settings module (either SIP or IAX) and you will be OK.
Sorry, one more question.
I see it working for outgoing calls, but incoming calls are showing up as ulaw still. (It shows as ulaw as the phone is ringing/going through the IVR and before I even answer it)
I have g729 enable/set first in Asterisk SIP Settings, and for my Outbound Trunk (in peer details as well as user details).
Is there somewhere else it needs to be set?
No, is g729 the only CODEC in the trunk? It has to be.
Yes, for the outbound trunk, I have the following for peer details:
And for user details I have:
And in Asterisk SIP Settings, I only have g729 checked.
PS. I noticed this message in the log:
[2013-02-01 14:37:44] NOTICE: channel.c:4220 __ast_read: Dropping incompatible voice frame on SIP/from-trunk-2-000019e1 of format g729 since our native format has changed to 0x4 (ulaw)
And here is what shows in show sip channels, the incoming call shows as ulaw, once I pickup at ext 500, it shows g729, but the other channel stays as ulaw:
voip3*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry Peer
24.14.xx.xx 500 6adcd3d8291fad6 0x100 (g729) No Tx: ACK 500
64.2.xx.xx 3125555555 3c6b9f76105fe4e 0x4 (ulaw) No Rx: ACK from-trunk