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

Call DTMFSend command not working - Software Version Issue? HELP!

Brian.Lopez
Level 1
Level 1

Greetings,

I am at wits end, I wrote a lite little script to fire off some DTMF tones whenever the user unmutes the mic on the endpoint, see below...

 

 

import xapi from 'xapi';

xapi.Status.Audio.Microphones.Mute.on(value => {
  if (value === 'Off') {
    xapi.Command.Call.DTMFSend({ DTMFString: 7, Feedback: 'silent' });
    xapi.Command.Call.DTMFSend({ DTMFString: 1, Feedback: 'silent' });
    xapi.Command.Call.DTMFSend({ DTMFString: 2, Feedback: 'silent' });
    xapi.Command.Call.DTMFSend({ DTMFString: 7, Feedback: 'silent' });
  };
});

 

 

It works great on my Desk Pro running RoomOS 10.17.1.1 ab490d5db06 but when I loaded to our production environment I get the following error...

 

 

14:56:19	zoom-unmute-sync-v1	>	'Unhandled promise rejection' { code: -32602,
  message: 'Bad usage: Missing or invalid parameter(s).' }

 

 

 The production device is a roomkit plus running ce 9.15.3.18 fd1dd3b86f9. The documentation says the CallDTMFSend command is the same syntax? What gives? Am I missing something or is this a TAC case?
 
 Thanks in advance for any assistance.
 
Cheers
0 Replies 0