FsAir

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

FreeSWITCH AIR

Description

FreeSWITCH AIR is an Adobe AIR based GUI for FreeSWITCH. It makes easy to use FreeSWITCH as a softphone.

The idea is connecting to FreeSWITCH mod_event_socket and control mod_portaudio by using API command. Also it listen the events such as portaudio::ringing and CHANNEL_HANGUP to update the GUI accordingly.

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

Platform

Run everywhere FreeSWITCH and Adobe AIR runs.

Download

Source code in SVN: contrib/seven/fsair

AIR application: fsair/FreeSWITCH-Air.air

Install

Install [Adobe AIR runtime] first. And then double click FreeSWITCH-Air.air should be able to start the installation process.

ESL in ActionScript

To communicate with FreeSWITCH through Event Socket, a ESL like lib implemented in ActionAcript 3. Source code available in src/libs.

Due to the async socket and lack of sleep function in ActionScript, I found it's hard to implement api function like sendRecv() in ESL. So it's lack of some function compare to the C version of ESL. But, kind of works. Any feedback and improvement suggestions are highly appreciated.

Other

Screenshots

Media:Fsair_screenshot.png