Asterisk on FreeBSD6.1 - call termination only(help needed)


i am a newbie in Asterisk, but know freebsd well.My situation is that i have a PSTN E1/T1 line from a local telco and have some talk times from an overseas voip provider.

i would just like to know HOW TO setup asterisk to accept calls from my voip provider and and terminate it to my E1 line and possibly do minute/time counting and generate a report, so i can send bills to my voip provider. I already have a digium card (PRI), and have installed asterisk from ports ( Port upgraded).

If someone can help me get this sorted, or point me to a HOW TO , would be appreciated.