Dialogic Voice Cards - Using Dialogic NaturalAccess software with Radvision software

Dialogic Voice Cards - Using Dialogic NaturalAccess software with Radvision software

Symptom

When developing applications that implement the Dialogic® NaturalAccess™ API with the Radvision API for H.323 Call control, be sure that the macro SUCCESS is redefined.

Fix / Solution

For the Dialogic NaturalAccess™ API, the macro SUCCESS is defined in the ctaerr.h include file:

#define SUCCESS 0

However, for the Radvision H.323 call control software API, the macro SUCCESS is defined in the include file rvcommon.h:

#ifdef SUCCESS #undef SUCCESS #endif #define SUCCESS 1

The SUCCESS macros are defined differently, so be sure to take the necessary steps to avoid conflicts when checking the SUCCESS return of NaturalAccess API functions.