Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

About text.

Click here to expand Table of Contents

* 1 [For C# ESL you might check this project.](#for-c-esl-you-might-check-this-project)

## For C# ESL you might check this project.

[Click Here](https://github.com/traviscross/freeswitch/blob/master/libs/esl/managed/ManagedEslTest/Program.cs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@



Click here to expand Table of Contents

* 1 [Development](#development)
* 1.1 [Resources](#development)
* 1.2 [Nuts and Bolts](#development)
* 1.3 [Architecture and Design](#architecture-and-design)

## Development

FreeSWITCH maintains a Team City Continuous Integration (CI) server at [build.freeswitch.org](http://build.freeswitch.org):8111\. (Thanks DRK!) Contact [[email protected]](mailto:[email protected]) if you would like access and wish to set up a build agent on our Team City server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@

Just as FreeSWITCH™ can run [embedded languages](https://web.archive.org/web/20170201173729/https://wiki.freeswitch.org/wiki/Languages%5Ffor%5FCall%5FControl) you can also embed FreeSWITCH™ into other programs in a variety of languages. FreeSWITCH™ is designed so you can interact with it through modules, embedding freeswitch in other applications, or through the [Event Socket](https://wiki.freeswitch.org/wiki/Event%5FSocket "Event Socket").

Click to expand Table of Contents

**Error rendering macro 'toc'**

null

### Benefits of using Embedded FreeSWITCH in your application

* FreeSWITCH is billed as a multi-protocol softswitch for data. If you have an application that requires even a segment of what freeswitch requires, it can be the easiest way to add that functionality in.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ The idea is to connect to FreeSWITCH [mod\_event\_socket](../../Modules/mod_even

Sure portaudio includes a Web based GUI, which is really nice. But FSAir is just more like a softphone.

Click here to expand Table of Contents

* 1 [FreeSWITCH AIR](#freeswitch-air)
* 1.1 [Platform](#platform)
* 1.2 [Download](#download)
* 1.3 [Install](#install)
* 2 [ESL in ActionScript](#esl-in-actionscript)
* 3 [Screenshots](#screenshots)

## FreeSWITCH AIR

### Platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@

CDRLogger is a Java servlet application that works together with [mod\_xml\_cdr](../../Modules/mod_xml_cdr_6587377.mdx#faq) to store CDR records into a database table. The application parses the CDR XML data and stores it into pre-configured fields. Current application 'war' packaging only includes and tests with PostgreSQL database driver. Other database driver support could be easily included (MySQL, SQL Server, Oracle, etc).

Click here to expand Table of Contents

* 1 [Requirement](#requirement)
* 1.1 [Installation w/ Tomcat](#installation-w-tomcat)
* 1.2 [Database Connection Setup](#database-connection-setup)
* 1.3 [Testing The Installation](#testing-the-installation)
* 1.4 [Automatic Schema Generation](#automatic-schema-generation)
* 1.5 [Configure mod\_xml\_cdr](#configure-mod_xml_cdr)
* 1.6 [Additional Configuration](#additional-configuration)

## Requirement

* Java Runtime Environment 1.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@



Click here to expand Table of Contents

* 1 [Description](#description)
* 2 [Synopsis](#synopsis)
* 3 [Example](#example)
* 4 [See Also](#)

## Description

Performs a CURL operation (eg. GET, POST).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@

Javascript method to execute a dialplan application

Click here to expand Table of Contents

* 1 [Description](#description)
* 2 [](#about)
* 3 [Synopsis](#synopsis)
* 4 [Arguments](#arguments)
* 5 [Examples](#examples)
* 5.1 [Set Caller ID](#set-caller-id)
* 5.2 [Sleep](#sleep)

## Description

**Executes a dialplan application.**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Executes an external command.

Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#example)

### Synopsis

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@

JavaScript event handling.

Click here to expand Table of Contents

* 1 [Invoking Event Object](#invoking-event-object)
* 2 [Methods](#methods)
* 3 [Example of creating Event object and then fire it](#example-of-creating-event-object-and-then-fire-it)
* 3.1 [Result](#result)
* 3.2 [Subscribing To Custom Events](#subscribing-to-custom-events)

### Invoking Event Object

```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

IVR with holiday, after-hours and weekday detection

Click here to expand Table of Contents

**ivrmenuofficehours.js**

```js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@

Uses "sayphrase" to speak IVR menu and collect a single DTMF digit.

Click here to expand Table of Contents

* 1 [Requirements](#requirements)
* 2 [IVR Menu Code](#ivr-menu-code)
* 3 [Menu Text](#menu-text)

## Requirements

To use the "say" TTS feature of FreeSWITCH™ you must load the Speech Phrase Management module for the appropriate language. By default, the English module is uncommented in conf/autoload\_configs/modules.conf.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

by Paul Davis (pist @ #freeswitch)This application uses CoreDB module to create & populate an SQLite database for a simple IVR menu. This will work with the default dialplan! It is only meant to be an example of the power and ease of using FreeSwitch. This example includes work ripped off from other JavaScript apps created by anthm. I hope this helps you in starting to use JavaScript in FreeSWITCH™.

Click here to expand Table of Contents

* 1 [Create Database](#create-database)
* 2 [IVR Script](#ivr-script)

## Create Database

If you change your dialplan, then you must modify the database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

A list of examples of JavaScript XML in FreeSWITCH.

Click here to expand Table of Contents

* 1 [Examples](#examples)

## Examples

The new V8 module relies on XML support built into FS, since Google V8 doesn't have this built-in like Spidermonkey.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

When an extension is called ring multiple extensions or external phone numbers simultaneously or in order.

Click here to expand Table of Contents

Dialplan /usr/local/freeswitch/conf/dialplan/default.xml Do a find for "Local\_Extension" inside the file modify the bottom of that section. Comment out the following:

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

Illustrates how to set a hook.

Click here to expand Table of Contents

**playFileWithHangupHook.js**

```js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@



Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#example)

Get Variable on the specified channel.

To get the list of variable name you can use, you can display it using the info app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

Contains the ANI2 (FLEX ANI) digits for this channel.

Click here to expand Table of Contents

* 1 [Example](#example)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Contains the ANI of the current channel

Click here to expand Table of Contents

* 1 [Example](#example)
* 2 [See Also](#see-also)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Answers the current session.

Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#example)

### Synopsis

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Contains the name of the caller in this channel

Click here to expand Table of Contents

* 1 [Example](#example)
* 2 [See Also](#see-also)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Contains the caller id number of the channel

Click here to expand Table of Contents

* 1 [Example](#example)
* 2 [See Also](#see-also)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

The session cause property holds the Q.931 string representation of the last disconnect.

Click here to expand Table of Contents

* 1 [Example](#example)

## Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

The session cause property holds the Q.931 numerical representation of the last disconnect.

Click here to expand Table of Contents

* 1 [Example](#example)

## Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ session.collectInput( ) blocks the channel. As input happens, the listed callbac

Note: If you want to play something to the user while waiting for input, use [Session\_streamFile](https://wiki.freeswitch.org/wiki/Session%5FstreamFile "Session streamFile") instead.

Click here to expand Table of Contents

* 1 [Usage:](#usage)
* 2 [Example](#example)

### Usage:

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Contains the name of the destination for this channel.

Click here to expand Table of Contents

* 1 [Example](#example)
* 2 [See Also](#see-also)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Contains the name of the dialplan that was used to get us here.

Click here to expand Table of Contents

* 1 [Example](#example)
* 2 [See Also](#see-also)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ About

Gets DTMF from the specified channel. Digits will queue up until you run this method. If you want to make sure that no digits are in queue when you call this method, call flushDigits.

Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#example)

## Synopsis

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ Hangs up the current channel. Do not call this method inside your hangup hook.

The hangup method can be called with a Q.931 cause code (either the string or numerical representation) that will be transmitted to the remote end.

Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#example)
* 3 [See Also](#see-also)

### Synopsis

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Contains the session name

Click here to expand Table of Contents

* 1 [Example](#example)
* 2 [See Also](#see-also)

### Example

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@



Click here to expand Table of Contents

This displays the network address of the remote endpoint.

Example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

Enables you to answer the phone with early media as opposed to a full answer.

Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#example)

### Synopsis

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

Checks the status of the channel to ensure that it is in a state a Javascript application can work with.

Click here to expand Table of Contents

* 1 [Synopsis](#synopsis)
* 2 [Example](#)

## Synopsis

```xml
Expand Down
Loading