Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

gentones vs tone_stream

This entry contains Tone_stream and TGML, but  it is tone_stream  that is used in every example instead of gentones (and gentones  has only 4 search results on the FreeSWITCH confluence):

About

Generate TGML tones.

 Click here to expand Table of Contents

Usage

gentones <TGML>[|loops]

Examples

<pre>
<!-- Generate a 500ms beep at 800Hz -->
<action application="gentones" data="%(500,0,800)"/>
<!-- Generate a DTMF string -->
<action application="gentones" data="0800500005"/>
<!-- Generate French ringing tones continuously (loop: -1) -->
<action application="gentones" data="%(1500,3500,350,425)|-1"/>
</pre>


See Also

TGML page