Cisco Cisco Customer Voice Portal 8.0(1)

Page of 210
Step 4
The final sections of GWConfigChgs_gsExs.txt that you must modify are the dial-peer sections.
These sections are the configuration lines that tell the gateway to process the calls coming in
and that associate specific phone numbers with specific voice applications that the gateway
should request from the VXML server.
The first dial-peer section below tells the gateway to accept all digits from the POTS phone.
The next two sections essentially tell the gateway to send the call to itself, converting the call
to VoIP in the process, then request the proper voice application from the VXML server, based
on the dialed number.
The last two dial-peer sections associate an incoming VoIP call with a voice application.
If you are performing the POTS portion of the exercise, you must replace <put gateway IP
here>
 (in two places) with the actual IP address of your gateway.
dial-peer voice 1000 pots
 description Required for FXS phone (POTS phone) input
 service session
 forward-digits all
dial-peer voice 8 voip
 service helloworld
 description receives POTS call for helloworld and changes to VoIP
 destination-pattern 8002221111
 session target ipv4:<put gateway IP here>
 incoming called-number 8002221111
 dtmf-relay rtp-nte h245-signal h245-alphanumeric
 codec g711ulaw
 no vad
dial-peer voice 7 voip
 service customhelloworld
 description receives POTS call for customhelloworld and changes to VoIP 
 destination-pattern 7002221111
 session target ipv4:<put gateway IP here>
 incoming called-number 7002221111 
 dtmf-relay rtp-nte h245-signal h245-alphanumeric
 codec g711ulaw
 no vad
dial-peer voice 800 voip
 description rx VoIP call from Call Mgr & requests helloworld from VXML Server 
 service helloworld
 incoming called-number 8T
 dtmf-relay rtp-nte h245-signal h245-alphanumeric
 codec g711ulaw
 no vad
dial-peer voice 700 voip
 description rx VoIP call from Call Mgr & requests customhelloworld from VXML Server
 service customhelloworld
 incoming called-number 7T
 dtmf-relay rtp-nte h245-signal h245-alphanumeric
 codec g711ulaw
 no vad
Back Up Your Existing Voice Gateway Running Configuration
Before you modify the gateway's running-config configuration file, back it up, as described in
this task. This action enables you to revert the gateway configuration to its state before you
Getting Started with Cisco Unified Customer Voice Portal Release 8.0(0)
56
Chapter 5: Unified CVP VXML Server Standalone Call Flow Model Exercise (HelloWorld)
Configure Your Voice Gateway for VXML Server Calls