Hi
I am using sipxtapi for a test application to test our system.
I continue to have crashes and memory overwrites.
I tracked the problem down to the function
int MprDejitter::getAveBufferLength(int pt)
{
if((mFrameCount[pt]==0)||(mPacketCount[pt]==0)) return 0;
int iAve = mPacketCount[pt] / mFrameCount[pt];
mPacketCount[pt]=0;
mFrameCount[pt] = 0;
return iAve;
}
int mFrameCount[MAX_CODECS];
#define MAX_CODECS 10
On DTMF events this is called with pt=96
I don't understand the entire Mpr... structure good enough to fix this.
Any help is appreciated.
P.S I am currently using rev. 7799 of
https://scm.sipfoundry.org/rep/sipX/branches/sipXtapi
Regards,
Martin Meuli
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/