≡ Menu

How to port your IVR C++ code from Dialogic Boards to Donjin Boards

One of the advantages of using Donjin boards is easy portability of C++ codes written for Dialogic boards to Donjin boards! It should not take more than one hour for porting C++ codes from Dialogic boards to Donjin boards. Though, recently introduced KeyGoe series of products from Donjin has totally different API than of Dialogic, but its TDMA CTI boards like DN300, DN600 etc. uses ‘similar’ API as that of Dialogic boards!

Dialogic


Donjin also uses Dialogic-like Device Configuration Manager which is easier to configure than Dialogic DCM. Though I think Donjin Device Configuration manager lack many features which Dialogic DCM provides. Like Dialogic, Donjin also provides ‘text’ file based various configuration for telephone interface, caller ID etc. depending on the protocol. Donjin has more user friendly diagnostics tools that Dialogic.

Donjin Boards support Dialogic API

Here is the step I used for porting Dialogic C++ codes to Donjin boards in less than an hour:-

1. Header files
Donjin SDK DJNADK is freely down loadable from Donjin website. But it does not contain header files for its LIB files! So, in order to compile your C++ code for Donjin boards, you need to include header files from Dialogic SDK and include LIB files from Donjin. Normally, Dialogic SDK files are located in Program FilesDialogicinc while Donjin library files are located in DJNADKLib. So, one has to use the correct paths for Include files and then LIB files.
Normally, the below files are needed to be referenced for compiling C++ code for Dialogic Boards
a. libdtimt.lib
b. libdxxmt.lib
c. libgc.lib
d. sctools.lib
e. libfaxmt.lib
f. libsrlmt.lib.
which are found in Lib folder of Dialogic SDK.

And for Donjin boards, the following LIB files need to be referenced :-
a. DNDxxx.lib
b. DNGC.lib
c. DNFax.lib
d. DNSRL.lib
e. DNSCTOOLS.lib
These files are found in DJNADKLib folder.

Once these references are made correctly, C++ code gets compiled for Donjin boards !

2. Audio file
Dialogic uses VOX files as well as WAV files for playing back audio files on its boards. While Dialogic supports 8 Bit Mono with 11KHz sampling rate, Donjin supports only 8 Bit Mono with 8KHz sampling rate. So, if your Dialogic code plays WAV files with sampling rate 11KHz, you must change all WAV files to 8KHz sampling rate. It could be a real time consuming job as each files needs to be changed one by one. I have not found any tool/software to change format of WAV files in bulk or all files in a directory yet.

So, once these two processes are complete, your IVR application written in C++ could work in Donjin boards! Many people now days prefer low cost Donjin boards to save initial investment for their On-Premise IVR solutions. The developers who have written Dialogic IVR Application in C++, they can easily port their codes to Donjin CTI boards.

Next post:

Previous post:

{ 1 comment… add one }
  • women health June 29, 2010, 4:38 pm

    Donjin Communication Tech Co. Ltd is a leading provider focused on building blocks for convergence communications. Donjin helps its customers increase revenues and returns on investments by rapidly deploying.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.