Author Message
Aravind.Subramanian
Joined: Mar 26, 2017
Messages: 24
Offline
Hi,
Developing JTAPI application to give input to IVR application. I am successfully able to send DTMF input to IVR applicaiton. Kindly let me know how to give speech input (Speech input: need to play recorded audio file).

Code snippet for DTMF input:[u]
((LucentV5TerminalConnectionEx) terminalConnections[0]).generateDtmf("1234567890");

I see JTapi provides the feature to play audio file:

((MediaTerminalConnection) terminalConnections[0]).useDefaultMicrophone();
((MediaTerminalConnection) terminalConnections[0]).startPlaying();
((MediaTerminalConnection) terminalConnections[0]).usePlayURL(wavURL);
((MediaTerminalConnection) terminalConnections[0]).stopPlaying();

Will this work for Speech input?

Thanks & Regards,
Aravind Subramanian
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Hi Aravind,

MediaTerminalConnection is not supported by the Avaya implementation of JTAPI. In order to perform media type operations (receive or send audio) you will need to use the DMCC API.

It is possible to write an application using JTAPI for Call Control and DMCC for media. It is also possible to use DMCC to do everything.

You can get more information of DMCC and download the free SDKs from the Devconnect website.

Martin
Go to:   
Mobile view