Thanks for your quick response, but still getting the next codec in the order, what I meant, is that it doesn't get the g722 audio codec.
I set the "sip.conf" file to:
Then I test calling to a second extension and this is the result on Asterisk CLI console:
*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry
192.168.1.202 6001 32d1f0b22996751 0x100 (g729) No Tx: ACK
192.168.1.201 6000 b34990-0-13c4-5 0x100 (g729) No Rx: ACK
2 active SIP dialogs
btw, both IP phones has installed the g722 codec
Last Edit: 8 years 7 months ago by aurquidez. Reason: missing text
Well, the thing is that I'd like to use the g722 codec due it is a HD or a wideband codec, the difference is that g722 employs compression combined with higher rate to obtain a practical acoustic bandwidth of 50 Hz - 7000 Hz. The difference in voice quality is quite noticeable compared with g711 (ulaw) or even g729.