Dialogic Voice Cards - How to use audiorec with CG6565-e and R9.0.x
Symptom
The audiorec tool does not work with Dialogic® CG 6565E PCI Express Media Boards.
Reason for the issue
The board type CG 6565E is not supported by audiorec.
Solution
The audiorec tool must be modified to recognize this type of board. The function InitializeBoardInfo() in ConnApi.c initializes global variables based on the type of the board. In order to support the CG 6565E board, within InitializeBoardInfo() look for the part handling the CG6565 board (find the keyword ADI_BOARDTYPE_CG6565) and do the same initialization for the CG6565e board :
case ADI_BOARDTYPE_CG6565E :
case ADI_BOARDTYPE_CG6565:
switch_info[board].boardno = board;
switch_info[board].boardType = ADI_BOARDTYPE_CG6565;
strcpy(switch_info[board].cName, "CG6565");
switch_info[board].inDSP_Stream = 64;
switch_info[board].outDSP_Stream = 65;
switch_info[board].inTrunk_Stream = 0;
switch_info[board].outTrunk_Stream = 1;
switch_info[board].numtrunks = boardinfo.numtrunks;
switch_info[board].trunktype = boardinfo.trunktype;
break; |
NOTE
you may have to run chmod 666 ConnApi.c to be allowed to write the change.
If the linux makefile is not present then you can use :
#
# Name: makefile
# Creates: audiorec
# Usage: make -f makefile
#
DEMOTARGET=audiorec
EXTRA_LFLAGS=-lstdc++
SOURCE= audiorec.c ConnApi.c
include ../nmsmacro.mak
$(DEMOTARGET): $(SOURCE)
$(CC) -v $(CFLAGS) $(DEFLIST) $(IPATHS) $(CTADEMOOBJ) $(LFLAGS) $(LPATHS) $(LIBS) $(LTHREADS) $? -o $@ |
Product List
Dialogic CG 6565E PCI Express Media Board
Related content
Dialogic Voice Cards - CG Software Downloads
Dialogic Voice Cards - CG Software Downloads
More like this
Dialogic Voice Cards - CG- Hardware Installation
Dialogic Voice Cards - CG- Hardware Installation
More like this
Dialogic Voice Cards - Patch for revised CG 6060/6565 boards to work correctly with CAS AMI
Dialogic Voice Cards - Patch for revised CG 6060/6565 boards to work correctly with CAS AMI
More like this
Dialogic Voice Cards - Using the CFG tool in Service Release 6.1 for Linux
Dialogic Voice Cards - Using the CFG tool in Service Release 6.1 for Linux
More like this
Dialogic Voice Cards - Getting a recording on Linux - ISDN
Dialogic Voice Cards - Getting a recording on Linux - ISDN
More like this
Dialogic Voice Cards - CG Boards in Sun X4250 and X4450 Chassis
Dialogic Voice Cards - CG Boards in Sun X4250 and X4450 Chassis
More like this