CVP Sample IOS Config
An extract of key config from a IOS Gateway Config for CVP
! Note the Routing Client Name is set in Old ICM Admin Config and used in the ICM scripting ip host CVP1A.RC 10.0.1.191 ip host CVP1B.RC 10.0.2.191 ip host CVP1A.RC-backup 10.0.2.191 ip host CVP1B.RC-backup 10.0.1.191 ip host CUCM.RC 10.0.1.191 ip host CUCM.RC-backup 10.0.2.191 ! voice rtp send-recv ! voice service voip signaling forward unconditional sip header-passing ! voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8 codec preference 3 g729br8 ! voice class e164-pattern-map 1500 e164 44....$ ! ! voice class e164-pattern-map 2500 e164 2552$ e164 2[5-9]..$ ! ! voice class server-group 1 ipv4 10.0.1.191 ipv4 10.0.2.191 description *** UCCE CVP LAB *** hunt-scheme round-robin ! voice class server-group 2 ipv4 10.0.1.220 ipv4 10.0.2.220 description *** CUCM LAB *** hunt-scheme round-robin ! voice class sip-options-keepalive 1 description *** UCCE CVP SIP Options Class *** up-interval 10 retry 3 transport udp ! voice class sip-options-keepalive 2 description *** UCCE CUCM SIP Options Class *** up-interval 10 retry 3 transport udp ! ! voice translation-rule 25 rule 1 /\(.*\)/ /\1/ type any subscriber plan any isdn ! voice translation-rule 1000 rule 1 /^2501$/ /445201/ rule 2 /^2502$/ /445202/ rule 3 /^2505$/ /445205/ rule 100 /^25/ /4452/ ! voice translation-rule 2000 rule 1 /^2551$/ /2551/ rule 2 /^2552$/ /2252/ ! ! voice translation-profile LAB-CUCM translate called 2000 ! voice translation-profile LAB-UCCE translate called 1000 ! ! application service new-call flash:bootstrap.vxml ! service survivability flash:survivability.tcl ! service ringtone flash:ringtone.tcl ! service cvperror flash:cvperror.tcl ! service handoff flash:handoff.tcl ! service bootstrap flash:bootstrap.tcl ! ! vxml tree memory 500 vxml audioerror vxml version 2.0 vxml allow-star-digit vxml logging-tag ! ! controller E1 0/0/0 framing NO-CRC4 pri-group timeslots 1-31 ! ! interface Serial0/0/0:15 no ip address encapsulation hdlc no cdp enable isdn switch-type primary-net5 isdn incoming-voice voice trunk-group PSTN ! ! voice-port 0/0/0:15 ! ! dial-peer voice 919191 voip description *** CVP SIP ringtone and whisper *** service ringtone incoming called-number 91919191T voice-class sip rel1xx disable dtmf-relay rtp-nte h245-signal h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 929292 voip description *** CVP SIP error *** service cvperror incoming called-number 92929292T voice-class sip rel1xx disable dtmf-relay rtp-nte h245-signal h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 777777 voip description *** CVP VRU Leg *** service bootstrap incoming called-number 777777777[12]..... voice-class sip rel1xx disable dtmf-relay rtp-nte h245-signal h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 1000 pots description *** UCCE DDIs *** translation-profile incoming LAB-UCCE service survivability incoming called-number 25[0-4].$ direct-inward-dial ! dial-peer voice 2000 pots description *** CUCM DDIs *** translation-profile incoming LAB-CUCM incoming called-number .% direct-inward-dial ! dial-peer voice 445201 voip description *** CVP Calls to CVP1A - Test App Only (Single Number)!!! *** huntstop preference 1 destination-pattern 4[45]5201$ session protocol sipv2 session target ipv4:10.0.1.191 voice-class codec 1 voice-class sip options-keepalive dtmf-relay rtp-nte h245-signal h245-alphanumeric no vad ! dial-peer voice 445202 voip description *** CVP Calls to CVP1B - Test App Only (Single Number)!!! *** huntstop preference 1 destination-pattern 4[45]5202$ session protocol sipv2 session target ipv4:10.0.2.191 voice-class codec 1 voice-class sip options-keepalive dtmf-relay rtp-nte h245-signal h245-alphanumeric no vad ! dial-peer voice 1500 voip description *** UCCE CVP - Calls to CVP Servers *** huntstop session protocol sipv2 session server-group 1 destination e164-pattern-map 1500 voice-class codec 1 voice-class sip options-keepalive profile 1 dtmf-relay rtp-nte h245-signal h245-alphanumeric no vad ! dial-peer voice 9 pots trunkgroup PSTN tone ringback alert-no-PI description *** Outbound PSTN Pots **** destination-pattern 9T progress_ind setup enable 3 progress_ind progress enable 8 ! dial-peer voice 19 voip description *** Outbound PSTN VoIP - incoming from CUCM **** session protocol sipv2 incoming called-number 9T voice-class codec 1 dtmf-relay rtp-nte h245-signal h245-alphanumeric no vad ! dial-peer voice 2500 voip description *** CUCM Calls *** huntstop session protocol sipv2 session server-group 2 destination e164-pattern-map 2500 voice-class codec 1 voice-class sip options-keepalive profile 2 dtmf-relay rtp-nte h245-signal h245-alphanumeric no vad !