Quantcast
Channel: Dialogic PowerMedia HMP GlobalCall and R4 API - Recent Threads
Viewing all articles
Browse latest Browse all 1151

RE: HMP 4.0 BICC how to bridge 2 calls

$
0
0

Add more information, this is my code:

case IPMEV_GET_XMITTS_INFO:
traceLog("[%s] Information IPMEV_GET_XMITTS_INFO\n", timeNow);
int nEventType = sr_getevttype();
int nDeviceID = sr_getevtdev();
void* pVoid = sr_getevtdatap();
SC_TSINFO* pTimeSlotInfo;
int index_voice2 = voice[index_voice].bridge_index;
pTimeSlotInfo = (SC_TSINFO*)pVoid;
traceLog("[%s] Information Received IPMEV_GET_XMITTS_INFO for device = %s\n", timeNow,
ATDV_NAMEP(nDeviceID));
traceLog("[%s] Information Timeslot number %d\n", timeNow, *(pTimeSlotInfo->sc_tsarrayp));
if ( ipm_Listen(voice[index_voice2].deviceInfo[IPM].devH, pTimeSlotInfo, EV_SYNC) < 0 ) {
traceLog("[%s] error 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));
} else {
traceLog("[%s] Information ipm_Listen success %s\n", timeNow, voice[index_voice2].deviceInfo[IPM].device_name);
}

I wonder why my program don't received event IPMEV_LISTEN or IPMEV_ERROR after ipm_Listen success :(


Viewing all articles
Browse latest Browse all 1151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>