controller e1 x/x
!i will make it CAS
ds0-group 0 timeslots 1-31 type r2-digital r2-compelled ani
dial-peer voice 1 pots
destination-pattern xxxxx
forward-digits all (as you want)
port x/x:x
dial-peer voice 2 pots
incoming called .
direct inwa
make it for both sides