Dialogic Dialogic Global Call IP IP Phone User Manual


 
Dialogic
®
Global Call API Library Reference — November 2007 553
Dialogic Corporation
information about an IPT board device — IP_VIRTBOARD
IP_VIRTBOARD
information about an IPT board device
typedef struct
{
unsigned short version;
unsigned int total_max_calls;
unsigned int h323_max_calls;
unsigned int sip_max_calls;
IP_ADDR localIP;
unsigned short h323_signaling_port;
unsigned short sip_signaling_port;
void *reserved;
unsigned short size;
unsigned int sip_msginfo_mask;
unsigned int sup_serv_mask;
unsigned int h323_msginfo_mask;
MIME_MEM sip_mime_mem
unsigned short terminal_type
IP_ADDR outbound_proxy_IP
unsigned short outbound_proxy_port;
char * outbound_proxy_hostname;
EnumSIP_Enabled E_SIP_tcpenabled;
EnumSIP_TransportProtocol E_SIP_OutboundProxyTransport;
EnumSIP_Persistence E_SIP_Persistence;
unsigned short SIP_maxUDPmsgLen;
EnumSIP_TransportProtocol E_SIP_DefaultTransport;
EnumSIP_RequestRetry E_SIP_RequestRetry;
EnumSIP_Enabled E_SIP_OPTIONS_Access;
unsigned int sip_registrar_registrations;
SIP_TLS_ENGINE *sip_tls_engine
}IP_VIRTBOARD;
Description
The IP_VIRTBOARD data structure is used to store configuration and capability information about
an IPT board device that is used when the device is started. An array of IP_VIRTBOARD
structures (one for each virtual board in the system) is referenced by the IPCCLIB_START_DATA
structure, which is passed to the gc_Start( ) function. The IP_VIRTBOARD structure must be
initialized to default values by the INIT_IP_VIRTBOARD( ) initialization function; those default
values can be overridden by the application before calling gc_Start( ).
Field Descriptions
The fields of the IP_VIRTBOARD data structure are described as follows:
version
The version of the structure. The correct version number is populated by the
INIT_IP_VIRTBOARD( ) function and should not be overriden by the application.
total_max_calls
The maximum total number of IPT devices that can be open concurrently using either the
H.323 or SIP protocol. Valid values range from 1 to IP_CFG_MAX_AVAILABLE_CALLS
(=2016). The default value is 120. This field must not be set to IP_CFG_NO_CALLS (=0) and
must not be set to a value larger than the sum of h323_max_calls and sip_max_calls. When the
library is being started in 3PCC operating mode, this field must be set to a value that is no
greater than the number of licensed channels.