Scripts are normally launched automatically by referencing the starting module of the script in the $auto_call command in the user profile (.USR file) associated with the telephone line(s) or DID values that will be using the script. These phone lines must be configured as IVR/request or one-call FOD lines and must have voice capability, and the USR file should usually have a $fax_phone_last command to avoid an initial prompt for a fax number. During testing stages you may instead invoke your script by starting with the standard FoD script and entering a 'special' document number which will launch your script using the $next_box command. For example, you could create the file 00009999.iif in your image catalog and have it contain the following:
; 00009999.iif
$type decision
$next_box myscript
When CopiaFacts asks you to enter a document number in the standard FoD script, you simply enter 9999 and CopiaFacts will begin executing your script starting with the module myscript. Of course, you must have a file called myscript.iif in your image catalog and it should be the first module of your script.
Topic url: http://www.copia.com/support/refmanual/index.html?startingprocessingofascrip.htm