Hello,
For the incoming , i am sure it will come to one port so on the voice port config , config this :
voice-port 0/1/0
supervisory disconnect dualtone mid-call
timeouts call-disconnect 5
timeouts wait-release 5
timing hookflash-out 500
connection plar XXX
i assume here XXX is the hunt number.
For the outgoing use this dial-peer
dial-peer voice 121 pots
destination-pattern 00T
direct-inward-dial
port 0/1/1
prefix 00
Amer