Please find the configuration that I have done
!
voice-port 0/0/1
supervisory disconnect dualtone mid-call
supervisory custom-cptone AE-Custom
supervisory dualtone-detect-params 1
timeouts call-disconnect 1
timeouts wait-release 1
timing hookflash-out 50
connection plar opx immediate 0
caller-id enable
!
!
voice-port 0/0/3
supervisory disconnect dualtone mid-call
supervisory custom-cptone AE-Custom
supervisory dualtone-detect-params 1
timeouts call-disconnect 1
timeouts wait-release 1
timing hookflash-out 50
connection plar opx immediate 0
caller-id enable
!
!
dial-peer voice 402 voip
description Outgoing Dial-peer To SIP SP LD
translation-profile outgoing STRIP9
preference 1
destination-pattern 90[1-9]........
session protocol sipv2
session target ipv4:172.16.1.1
voice-class codec 1
max-redirects 5
dtmf-relay rtp-nte digit-drop
no vad
!
!
dial-peer voice 4 pots
translation-profile outgoing STRIP9
preference 2
destination-pattern 90[1-9]........
port 0/0/3
forward-digits 10
!
!
dial-peer voice 6 pots
translation-profile outgoing STRIP9
preference 3
destination-pattern 90[1-9]........
port 0/0/1
forward-digits 10
!