I have this functionality working in 10.5.1. In 11.5 according to the log it is working, but I do not hear the tone.
Here is my code:
playOne = function () {
clientLogs.log( "In playOne...");
currdialog.sendDTMFRequest(user.getExtension(), {
success : poSuccess,
error: poError }, '1');
},
poSuccess = function(rsp) {
clientLogs.log( "In playDTMF response success; status: " + rsp.status);
if ( rsp.status == '202' ) {
clientLogs.log( "PlayDTMF Success");
}
},
poError = function(rsp) {
clientLogs.log( "PlayDTMF Error"); clientLogs.log( rsp );
},
Any help is appreciated.
Thanks,
Patrick Curley