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

RE: gc_hmp_hold_retrieve demo project - the call is successful but the voice file is not heard

$
0
0

Hi Jeff,

In addition there is an error in the code in the gc_demo_open_vox_channel(int index) function:

if (port[index].direction == DIR_IN) {

sprintf(port[index].play_filename,"prompt.pcm",index);

}

Warning C4474 'sprintf' : too many arguments passed for format string gc_hmp_hold_retrieve 1918

The index variable is not printed to port[index].play_filename. There is a missing %d...

Can I simply remove the "index" from this line?

Thanks.

Mike


Viewing all articles
Browse latest Browse all 1151

Trending Articles



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