Misc. Dialplan Tools gentones

From FreeSWITCH Wiki
Jump to: navigation, search

Gentones

Generate TGML tones.

Usage:

gentones <TGML>[|loops]

Examples:

<!-- 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"/>