cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
399
Views
0
Helpful
0
Replies

Re: I need to send a DTMF string when I click a button in 11.5

Patrick Curley
Level 1
Level 1

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

0 Replies 0