[help] using 3840 as a PSTN Gateway

Hello all

I’m using A@H 1.2.7 and i want to use my Cisco 3840 as a PSTN gateway with H323.

I have 8 E1 and, in my running config i have my Asterisk server as the h323-gateway voip.

My problem is that i don’t really know how to trunk my Asterisk with my 3840

I will be glad if someone could give me some advice!