On the gateway, perform the following:
For a
Unified CVP Comprehensive call flow model, define the following services:
application
service survive flash:survivability.tcl
paramspace callfeature med-inact-det enable
service handoff flash:handoff.tcl
And, then add the following parameters:
ip rtcp report interval 2000
gateway
timer receive-rtcp 4
Note
|
This causes survivability to be invoked between 8
and 16 seconds ((2000 ms *4) * 2) for an active call after a WAN failure. If
IOS detects the absence of both RTP and RTCP packets after 8 to 16 seconds, it
raises an error event and survivability is invoked. (The
factor of 2 is a built-in IOS factor that cannot be
configured. Do not adjust these values lower as this can
cause the survivability event to be prematurely invoked.)
|
Note
|
The timer
receive-rtcp command configures a media activity timer for SIP calls.
|
For a Unified CVP Standalone call flow model, first
define one service:
application
service my-survivability-service flash:survivability.tcl
Note
|
You can replace my-survivability-service with any desired name.
|
Then associate the my-survivability-service that you
just created as a parameter on the CVPSelfService.tcl service associated with
the incoming pots dial-peer. Note that the text "param survive" must be entered
exactly as shown, but the my-survivability-service service can be renamed to the
service name of your choice. For example:
dial-peer voice XXXX pots
service my-CVP-service
incoming called-number NNNNN
service my-CVP-service flash:CVPSelfService.tcl
param CVPPrimaryVXMLServer my-VXML-server-IP
param CVPBackupVXMLServer my-backup-VXML-server-IP
param CVPSelfService-app my-VXML-server-app
param keepalive my-CVP-service
param survive my-survivability-service
service my-survivability-service flash:survivability.tcl
Optionally, start a background keepalive service to the
VXML Server. For example, for a service name of "my-standalone-service":
service my-standalone-service
param keepalive my-standalone-service
Note
|
This service prevents the caller from hearing a period of
silence at the start of each call if the VXML Server is down, as the gateway
will know the current status of the VXML Server.
|
|