Skip to main content

mod_dptools: gentones

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

Error rendering macro 'toc'

null

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