Dialogic
®
System Release 6.1 CompactPCI for Windows
®
Release Update 85
The following definitions are in the gcip_defs.h file:
#define IPPARM_ CGPN_TYPE_OF_NUMBER 0x13
#define IPPARM_ CDPN_TYPE_OF_NUMBER 0x14
#define IPPARM_ CGPN_NUMBERING_PLAN_ID 0x15
#define IPPARM_ CDPN_NUMBERING_PLAN_ID 0x16
#define IPPARM_ CGPN_SCREENING_INDICATOR 0x17
#define IPPARM_ CGPN_PRESENTATION_INDICATOR 0x18
The following data variables are in the gcip.h file:
typedef unsigned char CPN_TON; /* Type of number */
typedef unsigned char CPN_NPI; /* Numbering plan identification */
typedef unsigned char CPN_SI; /* Screening Indicator */
typedef unsigned char CPN_PI; /* Presentation Indicator */
1.30.3 Enabling the Setting and Retrieving of Q.931 Message IEs
To enable the setting and retrieving of all supported Q.931 message IEs, set the
h323_msginfo_mask field in the IP_VIRTBOARD structure to a value of
IP_H323_MSGINFO_ENABLE for each Dialogic
®
IPT Board device before calling
gc_Start( ).
Note: By default, the underlying H.323 stack is not enabled to receive incoming Q.931 message
IEs.
A code snippet showing how to do this is given below:
IP_VIRTBOARD virtBoard[MAX_BOARDS];
memset(virtBoard,0,sizeof(IP_VIRTBOARD) * MAX_BOARDS);
bid = 1;
INIT_IP_VIRTBOARD(&virtBoard[bid]);
// fill up other board parameters
….
virtBoard[bid].localIP.ip_ver = IPVER4;
virtBoard[bid].localIP.u_ipaddr.ipv4 = (unsigned int) IP_CFG_DEFAULT;
…
virtBoard[1].h323_msginfo_mask = IP_H323_MSGINFO_ENABLE;
//Then use the virtBoard structure in the gc_Start() function appropriately
You can also enable reception of other H.323 fields simultaneously via the code:
virtBoard[1].h323_msginfo_mask = IP_H323_MSGINFO_ENABLE | IP_H323_ANNEXMMSG_ENABLE;
1.30.3.1 Stopping the Reception of CPN Information
Currently, there is no way for the user application to turn off the reception of Q.931 IEs
received by the underlying H323 stack once they are enabled, without stopping the
application or restarting the stack.
Kommentare zu diesen Handbüchern