Hi Jeff, I code as your suggestion: //get timeslot TDM of two IPM channel scts1.sc_numts = 1; scts1.sc_tsarrayp = &ts1; if ( ipm_GetXmitSlot(voice[index_voice1].deviceInfo[IPM].devH, &scts1, EV_ASYNC) 0 ) { traceLog("[%s] ipm_GetXmitSlot(%s) failed\n", timeNow, voice[index_voice1].deviceInfo[IPM].device_name); return -1; } scts2.sc_numts = 2; scts2.sc_tsarrayp = &ts2; if ( ipm_GetXmitSlot(voice[index_voice2].deviceInfo[IPM].devH, &scts2, EV_ASYNC) 0 ) { traceLog("[%s] ipm_GetXmitSlot(%s) failed \n", timeNow, voice[index_voice2].deviceInfo[IPM].device_name); return -1; } //listen between two channel if ( ipm_Listen(voice[index_voice2].deviceInfo[IPM].devH, &scts1, EV_SYNC) 0 ) { traceLog("[%s] ipm_Listen(%s) failed %d-%s\n", timeNow, voice[index_voice2].deviceInfo[IPM].device_name, ATDV_LASTERR(voice[index_voice2].deviceInfo[IPM].devH), ATDV_ERRMSGP(voice[index_voice2].deviceInfo[IPM].devH)); return -1; } if ( ipm_Listen(voice[index_voice1].deviceInfo[IPM].devH, &scts2, EV_SYNC) 0 ) { traceLog("[%s] ipm_Listen(%s) failed %d-%s\n", timeNow, voice[index_voice1].deviceInfo[IPM].device_name, ATDV_LASTERR(voice[index_voice1].deviceInfo[IPM].devH), ATDV_ERRMSGP(voice[index_voice1].deviceInfo[IPM].devH)); return -1; } But I face Error 11 internal as my output: [2015-12-01 14:06:27] Received a non-GC Event 0x9008 [2015-12-01 14:06:27] IPMEV_GET_XMITTS_INFO [2015-12-01 14:06:27] Received a non-GC Event 0x9008 [2015-12-01 14:06:27] IPMEV_GET_XMITTS_INFO [2015-12-01 14:06:27] ipm_Listen(ipmB1C3) failed 11-Internal Error � I try a lot but don't get solution how to fix this error, could you suggest me any thing?
↧