D/41JCT Experiment Help

From: General Listmanager <General.listmanager@pysdiscussext.py.intel.com>
Date: Wed Oct 29 2003 - 10:29:21 EST

From: "Chris Auston" <chris.auston@crsoftwareinc.com>

What: CSP experiment
Tools needed: D/xxJCT and Linux
Why: no help from earlier post

If you have a minute, please do the following and report your findings here.

Enable CSP and extra timeslots for your J card.
edit dialogic.cfg and check/add the following lines to the board parameters:
FirmwareFile=d41jcsp.fwl
CSPExtraTimeSlot=On

Restart the dialogic service.

Compile and run the following:

#include <srllib.h>
#include <dxxxlib.h>
#include <eclib.h>
#include <assert.h>
#include <stdio.h>

int main()
{
        int cspdev = dx_open("dxxxB1C1", 0); //assuming J card is board one
        
        assert(-1 != cspdev);

        SC_TSINFO tsinfo;
        long scts;
        tsinfo.sc_numts = 1;
        tsinfo.sc_tsarrayp = &scts;

        assert(-1 != dx_getxmitslot(cspdev, &tsinfo));

        printf("Voice transmit is %ld\n", scts);
        
        assert(-1 != ec_getxmitslot(cspdev, &tsinfo));

        printf("echo canceller transmit is %ld\n", scts);

        return 0;
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My output is:
Voice transmit is 0
echo canceller transmit is 0
which is wrong even though no error is reported.
-

To reply: mailto:General.26185@pysdiscussext.py.intel.com
To start a new topic: mailto:General@pysdiscussext.py.intel.com
To login: http://members.support.dialogic.com/wbproxy/wbpx.dll/~general
Received on Wed Oct 29 10:40:05 2003

This archive was generated by hypermail 2.1.8 : Sat Jul 16 2005 - 03:48:30 EDT