Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 1.54 KB

Readme.md

File metadata and controls

31 lines (20 loc) · 1.54 KB

Blue Jeans Relay Mesh Example Server in PHP

Mesh is an HTTP interface that allows Blue Jeans Relay to integrate with otherwise unsupported Endpoints.

The Relay Listener Service can send commands like join and hangup to this custom Mesh server, which will use custom integration logic to cause the unsupported Endpoint to carry out the command.

See the Relay API docs for more details and API specifications.

Requirements

Installation

cd /var/www # or wherever your server's web root is
git clone https://github.com/Aldaviva/relay-mesh-example-php.git
cd relay-mesh-example-php
composer install

The HTTP interface will be served from /relay-mesh-example-php. If mod_rewrite and AllowOverride permit it, you can send a GET request to http://127.0.0.1/relay-mesh-example-php/1.2.3.4/capabilities, otherwise you must use /relay-mesh-example-php/index.php/1.2.3.4/capabilities.

Requests will be parsed and logged.

Start coding

Check out the resource methods in index.php.

From here you can implement your own logic when different requests are handled.