TeleTone generates audible tones. That's inband dtmf. That won't give you anything out of band / rfc2833

Rfc2833 packets simply contain the character (3 # etc) being pressed and its duration. You need to use session.execute("send_dtmf", "#3#") to generate those.



On Wednesday, October 23, 2013, Murthy Gandikota wrote:

Hi

 

Can anyone please confirm that the following template is RFC2833 compliant out-of-band DTMF for the #3#?

 

"%(200,0,941.0,1477.0);%(200,0,697.0, 1477.0);%(200,0,941.0,1477.0)";

 

I am trying to use TeleTone to generate the #3# response to a caller as follows:

 

var pound3pound ="v=-7;%(200,0,941.0,1477.0);%(200,0,697.0, 1477.0);%(200,0,941.0,1477.0)";

var tts = new TeleTone(session);

tts.generate(pound3pound);

 

I can hear the digits play, but don't know if they are RFC2833 compliant out-of-band DTMF.

 

Thanks

Murthy