[Freeswitch-users] Out of band DTMF in Javascript
Steven Ayre
steveayre at gmail.com
Thu Oct 24 04:37:10 MSD 2013
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****
>
> ** **
>
> ** **
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131024/b8aca7e8/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list