Author Message
Erez-LeviZarini
Joined: Feb 6, 2014
Messages: 29
Offline
Is it possible to send the phone command to press digits using JTAPI/TSAPI and not DMCC ?
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
It is possible to use the attSendDTMFTone() service. I am sure there is a JTAPI equivalent.

Using DMCC, you may press buttons or use GenerateDigits which uses attSendDTMFTone.

Martin
Erez-LeviZarini
Joined: Feb 6, 2014
Messages: 29
Offline
lucentTerm = (LucentTerminal)Provider.getTerminal(terminalAddress);

TerminalConnection x0 = lucentTerm.getTerminalConnections()[0];

LucentV5TerminalConnection x01 = (LucentV5TerminalConnection) x0;
x01.generateDtmf("1");
HassonAssol
Joined: Jan 19, 2017
Messages: 1
Offline
generateDtmf is showing as deprectaed, what can we use instead?
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
I see there is a method LucentV5TerminalConnectionEx.generateDtmf(java.lang.String digits, int toneDuration, int pauseDuration) which looks suitable.

Martin
Go to:   
Mobile view