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.
- Blue Jeans Relay account
- PHP
- Web server with PHP support, like Apache httpd or Nginx
- Composer
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.
Check out the resource methods in index.php
.
From here you can implement your own logic when different requests are handled.