controller E1 0/0/0
pri-group timeslots 1-31
!
controller E1 0/0/1
pri-group timeslots 1-31
!
interface Serial0/0/0:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn incoming-voice voice
isdn T310 75000
isdn send-alerting
isdn sending-complete
no cdp enable
!
interface Serial0/0/1:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn incoming-voice voice
isdn T310 100000
isdn sending-complete
no cdp enable
!
voice-port 0/0/0:15
!
voice-port 0/0/1:15
!
dial-peer voice 1 pots
tone ringback alert-no-PI
destination-pattern 9..T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
port 0/0/0:15
!
dial-peer voice 8000 voip
description **** IVR for welcome message ****
preference 1
destination-pattern (dest. Pattern Here)
voice-class h323 1
session target ipv4:10.3.1.198
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 4000 voip
description **** Extension dialing ****
destination-pattern 4...
progress_ind setup enable 3
voice-class h323 1
session target ipv4:10.3.1.196
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 2 pots
tone ringback alert-no-PI
description **** Incoming for pool 52045.. ****
incoming called-number 2152045..
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 4200 voip
description **** Extension dialing ****
preference 2
destination-pattern 4...
progress_ind setup enable 3
voice-class h323 1
session target ipv4:10.3.1.198
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 4 pots
tone ringback alert-no-PI
incoming called-number 2152046..
direct-inward-dial
port 0/0/1:15
!
dial-peer voice 5000 voip
description **** IVR max-out goes to Operator ****
destination-pattern 500.
voice-class h323 1
session target ipv4:10.3.1.198
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 5001 voip
description **** IVR max-out goes to Operator ****
preference 2
destination-pattern 500.
voice-class h323 1
session target ipv4:10.3.1.196
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!
Use num-exp command to send the incoming number to CCM.