If your custom server is of the second type (not called by a state table, but initiated by other means), you might need to assign a channel process for use by the custom server, using the CA_Open_CHP_Link() subroutine. Once the channel is open, you can use CA_Execute_State_Table() to start a state table to, for example, make an outgoing call.
CA_Close_CHP_Link() releases the channel processes. CA_Ping_CHP_Link() sends an echo request to check that the channel process is active.
If you need to alter the time that the channel process will wait before automatically closing the link with the custom server, you can also do this with CA_Ping_CHP_Link().