FreeSWITCH          




Page tree
Skip to end of metadata
Go to start of metadata

 Click to expand Table of Contents

About

Verto Communicator is one example of web clients that can be implemented on top of mod_verto.

Dependencies

We'll use NodeJS based tools to be able to quickly run tests, lint, build and serve Verto Communicator.

Installing node and npm on a Mac could simple as running:

Or you can follow the instructions on NodeJS site.

The tools we'll need for now are:

You can test Verto Communicator features via dialing "3500" number on server with vanilla config.

FreeSWITCH

Specific settings

livearray-json-status

You'll need to set flag livearray-json-status in your members-flags, for more info check mod_conference page.

livearray-json-status flag in your conference profile

caller-controls

Edit you conference.conf.xml and make sure you have these caller-controls:

caller-controls for Verto Communicator


Building for Production

After installing the dependencies, simply build it using:

The commands above with leave a dist/ folder on the currrent working directory with all the files necessary to deploy Verto Communicator minified. Just copy them over to any webserver and that's it.

Developing and Contributing

After installing the dependencies, let's setup the project:

This will leave a server running on your local machine serving the necessary files to Verto Communicator to work. Just open Chrome and browse to: https://localhost:9001.

 

Languages

Verto Communicator now has i18n support. Currently we support:

  1. English - default 
  2. Italy

The language detection is based on the browser language.

Adding translation

To add more languages you need to:

Translate the strings and register the new available language:

html5/verto/verto_communicator/src/vertoApp/vertoApp.module.js

Add your language in the registerAvailableLanguageKeys function. All done.

 

2 Comments

  1. I have my own TURN and STUN servers

    Verto communicator comes with configured TURN.

    How i can use my servers ?

     

     

    1. You more than likely don't need them when talking to FreeSWITCH on the public internet.   TURN will gain you very little unless you're doing peer to peer media and need to hairpin thru a TURN server.