Out of band DTMF in Javascript
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
Why not use the send_dtmf app? https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_send_dtmf On 23 October 2013 18:08, Murthy Gandikota <mgandikota@nts.net> 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****
** **
** **
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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****
** **
** **
** **
participants (3)
-
Ben Langfeld
-
Murthy Gandikota
-
Steven Ayre