fsPhone is an flex softPhone designed for freeSWITCH, working with mod_rtmp by rtmp connection. fsPhoneLite support basic call functionality. In addition, it implemented an simple esl to interact with freeSWITCH's mod_event_sokect.
fsPhoneLite is distributed under the Mozilla Public License version 2.If a copy of the MPL was not distributed with this project, You can obtain one at http://mozilla.org/MPL/2.0/.
##Development Environment:
flex sdk 4.5
flash player 10.3
##NOTICE in compile:
- additional compiler arguments in Flex Compiler:
-locale zh_CN en_US -swf-version=12 -theme=${flexlib}/themes/Halo/halo.swc
- add Folder in Flex Build Path:
resources/locale/{locale}
##Others:
- fsPhoneLite.html is an example to load fsPhoneLite in html page
- Since the security policy of flash, exception will be threw out when connecting to mod_event_socket of freeSWITCH directly. Running the ruby script "crossdomain.rb" (thanks to Seven Du) on the freeSWITCH server will be an solution.
##freeSWITCH:
- load mod_rtmp
- event socket should listen on fsPhoneLite's IP
- edit fs' dialplan to enable incommingCall of fsPhoneLite:
<action application="bridge" data="${rtmp_contact($${rtmp_profile}/${dialed_ext}@$${domain})}"/>
##Acknowledge:
flex ESL based on fsair's written by Seven Du
fsPhone's UI is based on an open source project named red5phone