Returns the physical card and channel number assigned to the channel process.
Blueworx Voice Response library (libvae.a)
Custom Server library (libca.a)
#include "CA_header.h" int CA_Get_Channel_Info ( short link_id, CHANNEL_INFO_ST *channel_info_sp );
This subroutine provides the actual physical card and channel. The link_id can be obtained from the DT_MSG_INFO structure, and references the channel process running the application associated with the link_id. This information is needed for the custom server to be able to send asynchronous events to a running application. For example, the custom server could issue CA_Simulate_Hangup() to indicate that the external device is on-hook.
CA_CALL_ACCESS_DENIED
CA_INV_CHANNEL
CA_INV_LINK_ID
CA_NO_DEVICE
CA_NOT_INIT
CA_TERMINATING