Skip to content


Subversion checkout URL

You can clone with
Download ZIP
FreeSWITCH's Flash phone with simplifying Javascript wrapper.
ActionScript JavaScript
Branch: master
Failed to load latest commit information.
com/adobe Initial commit
.gitignore Initial commit
COPYING Initial commit Markdown makes github happy.
Sound_of_phone_ringing2.mp3 Initial commit Initial commit
flashPhone.js Fixed typo.
freeswitch.mxml Initial commit
freeswitch.swf Initial commit
swfobject.js Initial commit

Project Overview

Takes the FreeSWITCH example flash based phone for use with thier mod_rtmp and uncouples it from the provided UI and applies custom javascript events. The goal is simplification and abstraction.


Similar to using the original FreeSWITCH flash softphone, copy the following to a webserver:


Create a page that includes swfobject.js and flashPhone.js. To create the phone:

var f = new flashPhone(<host>, <element_id_for_phone>);

To login and register:

f.login(<username>, <password>, [nickname]);

After the log is complete, events can be registered. If you need to handle onInit or onConnected events, those should be passed into the constructor:

var f = new flashPhone(<host>, <element_id_for_phone>, {
    onInit:function(){ console.log('flashPhone Initialized'); },
    onConnected:function(evt){ console.log('flashPhone connected'); }
Something went wrong with that request. Please try again.