External FXO


I have an audiocode MP-118 8 port external FXO gateway and i have connect pstn line to FXO gateway now i want to dial outside call using FXO gateway and receive all outside call. but i donot know what i have add in sip.conf and extension.conf to make it possible.

I have also attach digium TDM02b card on asterisk server and all incoming and outgoing call going perfectly. but not sure how to define call receive or dial through external FXO gateway.

Please give me information how we can do that.