Use the procedure in this section to create the main() function,
build it together with the user functions you have written, and then install
it.
- Select:
Start —> Welcome window —> Applications —>
Custom Servers
- Create a new custom server:
- Click Server —> New
- Type a brief description of the custom server in the Server Description field.
- Next to main(), click System Generated.
- Click the Termination Function field and type the name of your
termination user function.
- Click the Initialization Function field, and type the name of
your initialization user function.
- Click File —> Properties....
- Fill in the Object Files required for the signaling process.
- Fill in the Object Libraries you require when linking, for example:
-lsl
-lmtp
- Fill in the C Flags you require, including:
-I${VAEINC}
- Click OK.
- Save the definition, specifying a name for the custom server.
- Stay in the Custom Server window. Click Utilities from
the Custom Server menu bar.
- Import files into the directory by clicking Utilities —>
Import.... This starts a shell in the correct directory into which the
files will be copied.
- Compile and install by clicking Utilities —> Build....
If this is successful, you can then install the custom server by clicking Utilities —> Install....
- The installation is now complete and you can Exit the
Custom Server window.
Use the following procedure to set the signaling process to start automatically
at Blueworx Voice Response initialization.
- Select
Start —> Welcome window —> Operations —>
Custom Server Manager
- Click the IPL Status button for the signaling process entry and
choose Auto-Start On.
- Exit the Custom Server Manager window.
- Shut down and restart Blueworx Voice Response to ensure that other system components configure
correctly with the presence of the newly installed signaling process.