To create and compile a .c program file:
gmake -f example.mk
to compile the .c programs into executable files, where example.mk
is name of your make file.defService -n -p chantest -t P chantest
The -n option specifies that default values should be used for all options not specified on the command line. The -p option specifies the process name to which the service belongs. (In this case the service and process names are identical.) The process name string must be identical to the name used by the process as an argument to the irRegister(3IRAPI) function. The -t option specifies that chantest is a permanent process. This process should be running when the voice system is started and continue running until the voice system is stopped.
assign service chantest to chan 0