Author |
|
bziherl Intermediate
Joined: November 19 2005 Location: Slovenia Posts: 5
|
Posted: November 19 2005 at 10:08am | IP Logged
|
|
|
Hello,
I was wondering if is it possible to record the active call to a file (WAV, MP3,...)? And if so, are there any C++, VB.NET, or C# code samples available, so that I could see how this can be done?
Thanks in advance,
Blaz
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: November 21 2005 at 8:12am | IP Logged
|
|
|
Hi Blaz,
Yes you can perform your own call recording. However, it requires you to supply some of your own supporting code.
We are considering adding full duplex call recording capability to the VOIP Media Engine in a future release. It will be simple to use and will allow you to record directly to a wav file or receive the mixed digital audio sample blocks via a callback.
For the immediate time, there are 2 API procs that will interest you. Take a look at the OpenRxIvrChannel() API proc. This proc allows you to get at the received media stream for any specified phone line.
Also take a look at the SetSpeechRecognitionCallback() API proc. This API proc allows you to get at the audio media stream that is generated on your host machine as you speak. This audio stream is eventually sent out to one or more of the phone lines.
If you take the audio output from these two interfaces, then you can perform your own software mixing of the sample data and write that to a wav file as you see fit. Make sure you mix the audio blocks using PCM sampled data at the same sampling rate.
Like I said, our goal is to have this capability in a future release of the product.
Support
|
Back to Top |
|
|
|
|