Connecting to Media Gateway

How can i connect THE Asterisk PBX to AudioCode Mediagateway.What are configurations needed ?What are the Versions of Audio Code Mediagateway supported in Asterisk?

Why not?!
As soon as your Audiocodes device supports SIP you should be able to connect it as any other SIP-phone or ATA.

But i Astrisk Side what i have to configure to connect to the SIP Mediagateway?

Almost the same configuration as you probably have for your software or hardware SIP-phones. Almost no difference.