RCVRFAX [SRW] For normal outbound operations, this variable contains the number being dialed. See also RFAX_FORMAT1 and RFAX_FORMAT2 for formatted versions of this number.
In fax-on-demand and IVR applications, after using $caller_id to look up the caller's fax number, or after the caller has entered his fax number in response to standard voice prompt 21, this variable will contain the fax number to be used. You can also set this variable to the caller's fax number when $fax_phone_last is in operation and you determine the information (and perhaps also the caller's routing information) using custom question-box processing. Setting this variable will then prevent CopiaFacts asking for the information at the end of the call.  Assignments to this variable are validated against exclusion phone masks in the USR file and global exclusions in the CFG file, as well as the DNS.NDX file, so this variable should not be used in normal IVR operations where such validation is inappropriate.
RECEIVE_FAX [CV >C] You can assign a full pathname to this variable to specify the filename to receive a faxed-in document. After setting this variable you should use $next_box to transfer to state 148 (START_FAX_RMT) so that the caller is prompted to transmit the documents. CopiaFacts will hang up the line after receiving the document (unless you trap HANGUP with $set_state). No post-receive processing is performed.
RECORD_BUFFER [SW] You can assign a numeric value to this variable to allocate a recording buffer of the specified size for the next voice record operation. The buffer will be used for recording operations for the remainder of the call or until you assign a value of 0 to this variable. The buffer may be passed to a DLL (for example in speech recognition applications) by assigning the special value (with no @) 'RECORD_BUFFER' to the DLL_PARM system variable. This passes the buffer, not the size you allocated to the variable. This variable is currently implemented for Dialogic and Dialogic Diva voice boards and for Brooktrout TR1034. The RECORDING_FORMAT should be set to a non-wave format when recording into a memory buffer.
RECORD_TERM[SRO] This variable will contain one of the keywords DTMF or HANGUP after the $error_exit has been taken during a recording operation in a $type record infobox.  This determines the reason for the termination of the recording operation.  The value of the variable at other times is indeterminate.
RECORD_TRCOUNT [SRO] This variable contains the number of bytes transferred in the immediately preceding voice record operation. It has a value of 0 if the most recent voice operation was not a record operation. The value is also 0 until an asynchronous record operation is complete.
RECORDING_FORMAT [SW] This variable may be assigned as a value one of the voice formats allowed for the voice_format command. It remains in effect for the remainder of the call or until set again.
REDIR_NUMBER[SRO]  This variable contains the phone number of a redirecting switch if a PRI call has been forwarded to the CopiaFacts system.
REJECT_CAUSE[CV >C] You can assign a negative numeric value to override the default cause value (-1) for a call that is to be rejected after a DELAY_ANSWER operation.  The values are processed in the same way as for cause values returned from a Call Control DLL.
REPORT_EMAIL_PAGE[CV >J] Assigning a non-empty value to this variable causes a successful e-mail transmission to be reported as one 'sent page' in the attempt record.  Form here it will be recorded as a sent page in job data extraction for JOBDDATA. JOBXDATA and JOBREPORT.
REQUESTOK [SRO] Contains Y or N, depending on whether request and callback is possible for this call. See also ONECALLOK.
REQUESTS [SRO] At request time, contains the total number of documents so far selected. The pages count is in @PAGES.
REQUIRED_BCX_FIELDS[CV >J] Assigning a comma-separated list of field names (with no embedded blank space) to this variable adds these names to the list of field names which must be present to ensure a successful launch. This guards against the accidental use of a list without a header row in a job instance which uses the WordMerge or OmitListHeaders keywords for $job_options. Without this variable, the launch fails if any fields named in a WordMerge document are absent, or if the field named in the BCX variable on a $fax_phone, $voice_phone, $poll_phone or $email_address job template command is absent.
RESCODE[CV C>] Set after a fax transmission to a code of 0 for low-resolution faxes, 1 for high-resolution.  This variable will appear in the SENT FS file.
RESULT_...[SW] The variables RESULT_FAXOUT, RESULT_VOICE, RESULT_EMAIL, RESULT_SMS, RESULT_JOB, RESULT_PREVIEW, RESULT_WORKER, RESULT_FAXIN, RESULT_IVR can be used to log and display in the trace the result of each corresponding transaction type.  For example, assigning RESULT_FAXOUT as "Fax to @DIALED_DIGITS: @OC_CODE (@OC_DESC) {@FSNUM}" will provide a one-line summary of the result of an outbound fax transmission attempt in the trace file.  These variables will normally be defined in FAXFACTS.CFG. but may be overridden for a specific call or workerbox to show alternate text in the trace file. For users who send very long faxes, there is also a RESULT_FAXPAGE variable which shows its content in the trace at the end of each fax page sent.  Use PR_FAXPAGES to show the incrementing page count. See also the set of example variables in the topic for COPIAFACTS Trace Options.
RETAIN_LIST_QUOTES[CV >J] Assigning a non-empty value to this variable causes job administration broadcast list fields to have double-quotes retained instead of treating the field contents as the string inside the quotes.  You may need this variable if your list contains full e-mail addresses, which may begin with double-quoted strings, rather than simply an a@b style of address.
RFAX_FORMAT1, RFAX_FORMAT2 [SRO] return the same phone number as RCVRFAX but formatted as "(630) 388-6902" and "630-388-6901" respectively.  If the number is neither a ten-digit number nor an eleven-digit number starting '1', the value returned will be the same as RCVRFAX.  However if $country_prefix id supplied in the FAXFACTS.CFG and if it is defined (or defaults) in SYSTEM.UJP, then a longer number starting with this prefix will be formatted as an E.164 number, with a plus sign, the country code, a space, and the remainder of the number.  If you are not a Job Administration user and do not use SYSTEM.UJP, its $country_prefix value defaults to 011 in the USA and 00 elsewhere.
ROUTETO [SRW] After using $caller_id to look up the caller's name or routing information, or after the caller has entered his routing information in response to standard voice prompt 19, this variable will contain the routing data to be used. You can also set this variable to the routing data value $fax_phone_last is in operation and you determine the information (and perhaps also the caller's fax phone number) using custom question-box processing. Setting this variable will then prevent CopiaFacts asking for the information at the end of the call.
ROUTETO_MIN, ROUTETO_MAX[CV >C] These variables can be set with the route-to number minimum and maximum length. Values from 1 to the maximum phone number length accepted by the fax board or voice board dialer are valid.
RUN_VALUE [SRO] Set to the last value returned by the RUNVALUE program for the call. The value will be empty if RUNVALUE has not been executed during the call. This value should not be tested in the same infobox as the $run command that causes it to be set.  You can also return a value from any program you have developed using the same method as RUNVALUE to do this. See the RUNVALUE topic for more information.
RXBAUD[CV C>] Set after a fax receive operation is complete, this value contains the baud rate used. The value is 0 if no fax receive started.