You need to put in voice translations. Here is an example
voice translation-rule 100
rule 1 /\(.*\)/ /10000/
!
!
voice translation-profile voice
translate called 100
!
All calls coming in, ring extension 1000
Then the Translation rule is called "100"
Then we use the dial peer:
dial-peer voice 100 pots
translation-profile incoming voice
destination-pattern 9T
direct-inward-dial
port 0/0/0:23
In this case, we are using any POTS line use the translation profile incoming. The rest is just used for outbound.
Hope this helps!