Asterisk and g.723/g.729 codecs

A have local phone station with support g.711 and g.723 codecs. And i need to connect it to remote phone station that supports only g.729 via h.323 (internet).
Can i use asterisk as a gateway for this phone stations to make connect each other?

If you want G.723 support you will need to purchase a transcoder card from Digium. You can get G.729 Licenses from Digium.

I would not recommend using asterisk for SIP -> H.323 translation. It crashed my servers way to often.