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

ipm_InitResponseSend raise IPMEV_ERROR

$
0
0

Hi,

I used this function to send initResponse

bool
InitResponseSend ()
{
IPM_INIT_RESPONSE initResp;
IPM_NBUP_INIT_RESPONSE nbupResp;
// Initialize the main structure
INIT_IPM_INIT_RESPONSE (&initResp);
initResp.eProtocol = RTP_PROTOCOL_NBUP;
initResp.data.pNBUP = &nbupResp;
// Initialize the NBUP specific structure with an ACK response
INIT_IPM_NBUP_INIT_RESPONSE (&nbupResp);
nbupResp.eResponse = NBUP_INIT_RESPONSE_ACK;
printf("Calling ipm_InitResonseSend()\n");
if (ipm_InitResponseSend (g_hIPM, &initResp) == -1)
{
printf ("ipm_InitResponseSend failed\n");
return false;
}
return true;
}

Almost I received 

IPMEV_INIT_COMPLETE

But some times I received 

IPMEV_ERROR because 

EIPM_BADPARM
Invalid parameter

I don't know why? Please help me how to fix this


Viewing all articles
Browse latest Browse all 336

Trending Articles



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