One stage dialing

Hello

Does anybody know how to make one stage dialing from ip to pstn via Audiocodes MP-118 fxo port? I looking for gateway and asterisk configuration.

Regards