FreeSwitch Javascript Teletone Generate

FreeSwitch is an open-source telephony application capable of being a class 4 or class 5 soft-switch as well as a PBX. Freeswitch runs on linux, OSX, windows, *BSD and many other platforms. It is licensed under the MPL (Mozilla Public License) version 1.0. FreeSwitch was written from the ground up as a new application and is not a fork of any other application.

Description

Generates a tone of a single or mixed frequencies

Synopsis

generate(frequency)
  • frequency - a simple markup langauge that defines the tone properties. Frequencies can have a decay property associated with them, which is required for some tones ie the ITU defined 'calling card bong'

Example

var BONG = "v=4000;>=0;+=2;#(60,0);v=2000;d(940,0)";
var tts = new TeleTone(session);
tts.generate(BONG);

Markup Language

...

Related


FreeSwitch is an open-source telephony application capable of being a class 4 or class 5 soft-switch as well as a PBX. Freeswitch runs on linux, OSX, windows, *BSD and many other platforms. It is licensed under the MPL (Mozilla Public License) version 1.0. FreeSwitch was written from the ground up as a new application and is not a fork of any other application.

Description

Generates a tone of a single or mixed frequencies

Synopsis

generate(frequency)
  • frequency - a simple markup langauge that defines the tone properties. Frequencies can have a decay property associated with them, which is required for some tones ie the ITU defined 'calling card bong'

Example

var BONG = "v=4000;>=0;+=2;#(60,0);v=2000;d(940,0)";
var tts = new TeleTone(session);
tts.generate(BONG);

Markup Language

...

Related


Created by: trixter, Last modification: Sat 19 of Aug, 2006 (21:25 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+