Cisco Packaged Contact Center Enterprise Installation and Upgrade Guide, Release 10.5(1)
Configure Cisco IOS Enterprise Voice Gateway
Downloads: This chapterpdf (PDF - 1.16MB) The complete bookPDF (PDF - 4.67MB) | The complete bookePub (ePub - 1.09MB) | Feedback

Configure Cisco IOS Enterprise Voice Gateway

Configure Cisco IOS Enterprise Voice Gateway

Configure Cisco IOS Enterprise Voice Gateway

Complete the following procedure to configure the Cisco IOS Voice Gateway.

Note


Complete all configuration steps in enable > configuration terminal mode.


Procedure
    Step 1   Configure the network interfaces:
    interface GigabitEthernet0/0
    	ip route-cache same-interface
    	duplex auto
    	speed auto
    	no keepalive
    	no cdp enable
    Step 2   Configure global settings:
    voice service voip
    	no ip address trusted authenticate
     allow-connections sip to sip
    	signaling forward unconditional
    	sip
    		rel1xx disable
    		header-passing
    		options-ping 60
      midcall-signaling passthru
    Step 3   Configure voice codec preference:
    voice class codec 1
       codec preference 1 g729r8 
       codec preference 2 g711ulaw
    
    Step 4   Configure Unified CVP services and settings:
    # Default CVP Services
    application
    	service new-call flash:bootstrap.vxml
    	service survivability flash:survivability.tcl
    	service CVPSelfService flash:CVPSelfServiceBootstrap.vxml
    	service ringtone flash:ringtone.tcl
    	service cvperror flash:cvperror.tcl
    	service bootstrap flash:bootstrap.tcl
    	service handoff flash:handoff.tcl
    
    # Default CVP http, ivr, rtsp, mrcp and vxml settings
    http client cache memory pool 15000
    http client cache memory file 1000
    http client cache refresh 864000
    no http client connection persistent
    http client connection timeout 60
    http client connection idle timeout 10
    http client response timeout 30
    ivr prompt memory 15000
    ivr asr-server rtsp://asr-en-us/recognizer
    ivr tts-server rtsp://tts-en-us/synthesizer
    rtsp client timeout connect 10
    rtsp client timeout message 10
    mrcp client timeout connect 10
    mrcp client timeout message 10
    mrcp client rtpsetup enable
    vxml tree memory 500
    vxml audioerror
    vxml version 2.0
    Step 5   Configure gateway and sip-ua timers:
    gateway
    	media-inactivity-criteria all
    	timer receive-rtp 1200
    
    sip-ua
    	retry invite 2
    	retry bye 1
    	timers expires 60000
    	timers connect 1000
    	reason-header override
    Step 6   Configure the dial-peers:
    # Configure CVP survivability
     dial-peer voice 1 pots
     description CVP TDM dial-peer
     service survivability
     incoming called-number .T
     direct-inward-dial
    
    
    # Configure CVP Ringtone
     dial-peer voice 919191 voip
     description CVP SIP ringtone dial-peer
     service ringtone
     incoming called-number 9191T
     voice-class sip rel1xx disable
     dtmf-relay rtp-nte 
     codec g711ulaw
     no vad
    
    
    # Configure CVP Error
     dial-peer voice 929292 voip
     description CVP SIP error dial-peer
     service cvperror
     incoming called-number 9292T
     voice-class sip rel1xx disable
     dtmf-relay rtp-nte 
     codec g711ulaw
     no vad
    
    
    
    #Configure VXML leg where the incoming called-number matches the Network VRU Label
     dial-peer voice 9999 voip
     description Used for VRU leg
     service bootstrap
     incoming called-number 777T
     dtmf-relay rtp-nte 
     codec g711ulaw
     no vad
    
    
    
    #Configure the Switch leg where
    	# preference is used to distinguish between sides.
    	# max-conn is used prevent overloading of CVP
    	# options-keepalive is used to handle failover
    	# Note: the example below is for gateways located on the A-side of a geographically distributed deployment
    
    
    dial-peer voice 70021 voip
     description Used for Switch leg SIP Direct
     preference 1
     max-conn 225
     destination-pattern xxxx...... # Customer specific destination pattern
     session protocol sipv2
     session target ipv4:###.###.###.### # IP Address for CVP1, SideA
     session transport tcp
     voice-class codec 1
     voice-class sip options-keepalive up-interval 12 down-interval 65 retry 2
     dtmf-relay rtp-nte
     no vad
    
    
    dial-peer voice 70022 voip
     description Used for Switch leg SIP Direct
     preference 1
     max-conn 225
     destination-pattern xxxx...... # Customer specific destination pattern
     session protocol sipv2
     session target ipv4:###.###.###.### # IP Address for CVP2, SideA
     session transport tcp
     voice-class codec 1
     voice-class sip options-keepalive up-interval 12 down-interval 65 retry 2
     dtmf-relay rtp-nte 
     no vad
    
    
    dial-peer voice 70023 voip
     description Used for Switch leg SIP Direct
     preference 2
     max-conn 225
     destination-pattern xxxx...... # Customer specific destination pattern
     session protocol sipv2
     session target ipv4:###.###.###.### # IP Address for CVP1, SideB
     session transport tcp
     voice-class codec 1
     voice-class sip options-keepalive up-interval 12 down-interval 65 retry 2
     dtmf-relay rtp-nte
     no vad
    
    
    dial-peer voice 70024 voip
    description Used for Switch leg SIP Direct
    preference 2
    max-conn 225
    destination-pattern xxxx...... # Customer specific destination pattern
    session protocol sipv2
    session target ipv4:###.###.###.### # IP Address for CVP2, SideB
    session transport tcp
    voice-class codec 1
    voice-class sip options-keepalive up-interval 12 down-interval 65 retry 2
    dtmf-relay rtp-nte
    no vad
    
    
    Step 7   Configure the hardware resources (transcoder, conference bridge, and MTP):
    # Configure the voice-cards share the DSP resources located in Slot0
    voice-card 0
    dspfarm
    dsp services dspfarm
    voice-card 1
    dspfarm
    dsp services dspfarm
    voice-card 2
    dspfarm
    dsp services dspfarm
    voice-card 3
    dspfarm
    dsp services dspfarm
    voice-card 4
    dspfarm
    dsp services dspfarm
    
    # Point to the contact center call manager
    sccp local GigabitEthernet0/0
    sccp ccm ###.###.###.### identifier 1 priority 1 version 7.0 (CUCM1)
    sccp ccm ###.###.###.### identifier 1 priority 1 version 7.0 (CUCM2)
    
    # Add a SCCP group for each of the hardware resource types
    sccp ccm group 1
    associate ccm 1 priority 1
    associate profile 2 register <gw70mtp>
    associate profile 1 register <gw70conf>
    associate profile 3 register <gw70xcode>
    
    # Configure DSPFarms for Conference, MTP and Transcoder
    dspfarm profile 1 conference
    codec g711ulaw
    codec g711alaw
    codec g729r8
    maximum sessions 24
    associate application SCCP
    
    dspfarm profile 2 mtp
    codec g711ulaw
    codec g711alaw
    codec g729r8
    maximum sessions software 500
    associate application SCCP
    
    dspfarm profile 3 transcode
    codec g711ulaw
    codec g711alaw
    codec g729r8
    maximum sessions 52
    associate application SCCP
    Step 8   (Optional) Configure the SIP Trunking:
    # Configure the resources to be monitored
    voice class resource-group 1
    resource cpu 1-min-avg threshold high 80 low 60
    resource ds0
    resource dsp
    resource mem total-mem
    periodic-report interval 30
    
    # Configure one rai target for each CVP Server
    sip-ua
    rai target ipv4:###.###.###.### resource-group1 (CVP1A)
    rai target ipv4:###.###.###.### resource-group1 (CVP2A)
    rai target ipv4:###.###.###.### resource-group1 (CVP1B)
    rai target ipv4:###.###.###.### resource-group1 (CVP2B)
    permit hostname dns:%Requires manual replacement - ServerGroup Name defined in CVP.System.SIP Server Groups%