Giter Site home page Giter Site logo

freeswitch-portal's Introduction

The FreeSWITCH Portal Project

The FreeSWITCH Portal Project is designed to show an intuitive view of the FreeSWITCH internals.

It can be used by FreeSWITCH funs, administrators, developers etc.

It does not aims to replace GUIs such as fusionPBX or blue.box.

It would be very easy to use and super helpful for new FreeSWITCH users.

Philosophy

To provide a GUI out of the box without depends on external resources like PHP or a webserver such as Apache or Nginx.

Mainly developed with static html and Javascripts, and perhaps some lua scripts can help do some more magic things later.

Install

Assume you installed FreeSWITCH in the default place - /usr/local/freeswitch, you can do

cd /usr/local/freeswitch/htdocs
git clone https://github.com/seven1240/FreeSWITCH-Portal.git portal

In FreeSWITCH you need to

load mod_xml_rpc

Open your browser (Only Chrome is tested) and go to

http://localhost:8080/portal/index.html

If you it asking for username and password you can find them in /usr/local/freeswitch/conf/autoload_configs/xml_rpc.conf.xml. For more information see http://wiki.freeswitch.org/wiki/Mod_xml_rpc .

Todo

  • Websocket: by add websocket support in FreeSWITCH we can see channel changes lively, I have some working code as a patch to mod_event_socket.

  • Modify users: A raw idea to add a new user would be something like below and reloadxml.

    sed -e 's/1000/new-user/g' 1000.xml > new-user.xml

  • Modify dialplan and/or other XMLs: possible to use some online XML editor and can save the XML with some lua or C code at the backend, although there are security concerns.

  • Store information in DB: I guess the Dbh handle in lua should can do something like this.

  • Web terminal: With terminal.js like things and websocket we can really build a web version of fs_cli

  • rtmp web client support to make and receive calls

  • WebRTC?

  • Logging, Event Debugging or SIP tracing: Yeah, more magic

  • i18n

Security

The primary goal is to help new users learn and use FreeSWITCH. Please DON'T put this on your production server as I haven't think anything about security.

Development

I started this project to learn how to use bootstrap and ember.js, the latter said it is a framework for creating ambitious web applications.

Contributions and patches are welcome.

freeswitch-portal's People

Contributors

seven1240 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.