The following steps describe the manual preparation process.  These settings are made automatically if you use OPTCONFIG.

Preparation - using analog phone lines or Copia VoIP Ports

It is necessary to establish a method of initiating the script.  In a simple analog system, this is done by allocating a specific user profile to an incoming voice line using $default_profile in FAXFACTS.CFG:

$line_group DNS 100

$default_profile DNS OPTOUT.USR  ; use OPTOUT for line 100\

The OPTOUT.USR should contain an $script_locn command to specify the folder for the IIF and VOX/WAV files used in this application, and an $auto_call command to start the infobox sequence:

$script_locn OPTOUT OPTOUT999 "@FFBASE\SAMPLES\OPTOUT"

$auto_call   OPTOUT020

In addition, you may require commands to locate any override system messages and multi-segment files needed for the application, for example:

$vmsg_dir    @FFBASE\SAMPLES\OPTOUT

$user_pb_dig @FFBASE\wav_8k_pcm\faxfactw.dig

 

Preparation - using digital phone lines

Normally on a digital system there will be a special number allocated for the IVR application, which selects a USR file based on the number of digits specified for DNIS in the CopiaFacts configurator CFHWL. The USR file is then automatically picked up when an incoming call to the number is received.

For example, if 4 digits of DNIS are used, and the application is assigned the DID 1234, then the incoming call will pick up 00001234.USR.  If you have only a single opt-out IVR application, this file can contain:

; 00001234.USR

$script_locn OPTOUT OPTOUT999 "@FFBASE\SAMPLES\OPTOUT"

$auto_call   OPTOUT020  ;(or OPTOUT010 to update code.NDX)

$vmsg_dir    @FFBASE\SAMPLES\OPTOUT

$user_pb_dig @FFBASE\wav_8k_pcm\faxfactw.dig

 

Preparation - timeouts

You should also add to the USR file the settings you require for timeout on DTMF entry and the number of repeats when invalid input is detected.  These need only be changed if you wish to override the system defaults.  The commands you need to consider are $tone_wait and $repeat_msg.  You can also use these commands in an infobox file to control specific prompts, but the value set in an infobox applies for the remainder of the call unless again overridden.

 

Greeting Message

You should normally record a greeting message confirming that the correct service has been reached.  This should be recorded into either OPTOUT\SVP1.WAV or OPTOUT\SVP1.VOX, depending on the voice formats used by your system.  Note that Copia VoIP Ports require WAV_8K_PCM voice format.  A typical greeting message would be:

 "This service allows you to enter a fax number which is to be excluded from our broadcast lists"

When there are multiple DNS applications, you can identify the specific application in the message.  A separate SVP1 message is recommended, although it is also possible to include the greeting in the first question-box prompt message.  However you may not want to repeat the greeting every time you repeat the question after an error has been detected.

 

System Voice Prompt Overrides

You may also wish to override the following system prompts, of which the full standard text is shown in Appendix A:

SVP1  (greeting)

SVP5  (menu selection incorrect)

SVP45 (cannot detect touch tones)

SVP58 (thank you for calling)

SVP59 (if correct, press 1, otherwise press 0)

Recording your own versions of these messages allows the same voice to be used as in the custom prompt messages you set up, and allows personalization such as phone numbers to be added to error prompts.  When you have recorded these messages, place the SVP files in the SAMPLES\OPTOUT folder referenced from $vmsg_dir in the USR file.