I posted this an an answer to a help item, byt technically it belongs here:
Someone posted to the SCCP mailing list a question, together we worked it out.
To install g722 as an available codec first install the backport patch: (usual disclaimers apply - it worked for me and did not ruin my pbx, use at your own risk)
cd /usr/src/asterisk
wget
http://carlton.oriley.net/drupal/fil...7.1-g722.patch
patch -p0 < asterisk-1.4.7.1-g722.patch
make
make install
amportal restart
to see if it worked, jump into the console:
Asterisk -r
and then type
core show translation
along the bottom of the table alongside g722 you should see a row of numbers (the lower the better

) if you see dashes, the install didn't work.
You will of course need to use the allow=g722 statement for the protocols you require:
sccp.conf, sip_custom.conf & iax_custom.conf
Plus any extensions for which you have used the disallow statement.
Bear in mind of course, there aren't too many phones that support wideband as yet...