Dialogic M7324 Computer Hardware User Manual


 
4. PBX Systems
Integration Board connected to the Hicom 150 PBX. The following
parameters must be set:
D4BD_MSGACCESSON (0x0A) to store the feature access code for
MWI ON. A string value should be passed as the parameter value. A
value of **9 is stored by default by the system service at startup time.
D4BD_MSGACCESSOFF (0x0B) to store the feature access code for
MWI OFF. A string value should be passed as the parameter value. A
value of ##9 is stored by default by the system service at startup time.
The following code demonstrates how the d42_setparm( ) function can be
used in this context:
char str parmval[8]; // cannot be more than 8 characters long
int paramNumber;
paramNumber = D4BD_MSGACCESSOFF; // or D4BD_MSGACCESSON
if ( (rc = d42_setparm(devh, paramNumber, (void *)&str_parmval[0])) == -1)
{
// error processing
} // end d42_setparm
Note the following:
The string buffer used to pass the parameter cannot be more than seven
characters plus the NULL terminator.
Once the feature access code is set in this way, the application can do the
MWI operation using <ESCO> or <ESCF> strings.
See the Dialogic
®
PBX Integration Software Reference for more information
on the d42_setparm( ) function and the D4BD_MSGACCESSON and
D4BD_MSGACCESSOFF parameters.
With the Hicom 300 PBX, the Dialogic
®
PBX Integration Board can
determine the state of its Message Waiting Indicator using the
d42_indicators( ) function to retrieve the LED indicators data. Byte 00
contains the Message Waiting indicator status (0x00 is off; 0x01 is on). Refer
to the Dialogic
®
PBX Integration Software Reference for more information
about using the d42_indicators( ) function.
77