Sends an echo request to a channel process.
Blueworx Voice Response library (libvae.a)
Custom Server library (libca.a)
#include "CA_header.h" int CA_Ping_CHP_Link ( short link_id, int timeout, int wait_flag );
This subroutine checks the status of a linked channel process and sets the maximum time that the channel process will remain idle before automatically closing the link. Idle time is the time between executing the last request and the receipt of a new request. The range of acceptable values is MIN_PING_TIMEOUT to MAX_PING_TIMEOUT. Any value outside the valid range will be adjusted to the corresponding end point. The default timeout is one minute. The wait_flag allows the custom server to either wait for the response from the execution of the CA_Ping_CHP_Link() subroutine or to continue asynchronously.
CA_ACCESS_NOBUFS
CA_INV_LINK_ID
CA_LINK_NOT_OPEN
CA_NO_MSG_RECV
CA_NOT_INIT
CA_REQ_FAILED
CA_TERMINATING