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

Receive voice file using dx_recf after playing the file

$
0
0

Hi all,

I'm rather new to this whole subject, so forgive me if I'm wrong.

I'm currently trying to send an audio file (more specifically, a WAV file) using the dx_play function. I did manage to use dx_open on the corresponding channels in two trunks. I've also called ns_scroute to open a full duplex communication with the two channels. After successfully using the dx_play function - and receiving the termination due to EOD - I'm trying to use the dx_recf function to record the voice in the stream to a WAV file. The function does succeed, however the file created is gibberish (it contains 4 KBs of merely one character). Am I doing something wrong?

Thanks in advance,

Ishay


Viewing all articles
Browse latest Browse all 1151

Trending Articles



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