Author |
|
dbl007 Intermediate
Joined: November 16 2007 Posts: 5
|
Posted: November 16 2007 at 9:22am | IP Logged
|
|
|
I used a software Windows WDM multimedia driver which allows me to transfer audio (wave) streams from one application to another. I used this to interface a SIP program to a speech recognition program. to provide interactive voice function.
Can I this method with IVR program developed using Lanscape? How I can set the Audio In/out to handle a call ?
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: November 16 2007 at 10:28am | IP Logged
|
|
|
Hi dbl007,
Yes that will work. Actually the WDM “inter-process” wave audio support you are talking about is pretty cool. We have other customers doing this sort of thing. They all have slight differences but all share a core commonality.
Assuming you want to perform speech recognition of received phone line audio as you described, you would do something like the following:
1)
Develop your VOIP Media Engine IVR server app as normal.
2)
When your server app detects an incoming phone call, it will have to open a raw wave file output to your WDM driver.
3)
Your server app will then obtain all received phone line audio in the form of “sample blocks” from the media engine using the “receive IVR” APIs of the media engine.
4)
Your app should take the phone line received sample blocks and send them (write them) to the WDM wave output.
5)
Your IVR server app should then receive some kind of “notification” regarding the other process’s ability to perform the speech recognition. This notification architecture is completely up to you.
6)
When the call terminates, your server app should close the receive IVR channel for the phone line on the media engine and then close the WDM wave output to the speech recognizer process.
That’s about it.
Thanks,
Support
|
Back to Top |
|
|
dbl007 Intermediate
Joined: November 16 2007 Posts: 5
|
Posted: November 19 2007 at 7:56am | IP Logged
|
|
|
Thks for the quick response and the detail explanation.
Cheers.
|
Back to Top |
|
|