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

From above at beginning, you had:

scts2.sc_numts = 2;

scts2.sc_tsarrayp = &ts2;

if ( ipm_GetXmitSlot(voice[index_voice2].deviceInfo[IPM].devH, &scts2, EV_ASYNC) < 0 ) {

The line should be:

scts2.sc_numts = 1;

You are not passing two timeslots in this case. Its only 1.

So after you get both events for the get xmit slot info, you can call the ipm_listen in async mode on each channel passing the opposing channel timeslot information. I see you were caling them in sync in this case.

Then make sure you call ipm_startmedia afterwards to initialize the RTP stream for each channel when the call is answered.

Jeff


Viewing all articles
Browse latest Browse all 1151

Trending Articles



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