2019-01-22 16:39:45 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Calls configuration file
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Calls through clients are disabled by default.
|
|
|
|
*/
|
|
|
|
$config->set("calls", false);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Copy the lines of code below to the overwrite.php file
|
|
|
|
* if you would like to enable calls on your instance of
|
|
|
|
* Comunic
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
$config->set("calls", array(
|
|
|
|
"enabled" => true,
|
2019-02-02 07:19:12 +00:00
|
|
|
"maximum_number_members" => 2,
|
2019-01-22 16:39:45 +00:00
|
|
|
"signal_server_name" => "localhost",
|
|
|
|
"signal_server_port" => 8081,
|
2019-02-02 07:08:44 +00:00
|
|
|
"is_signal_server_secure" => false,
|
2019-01-22 16:39:45 +00:00
|
|
|
"stun_server" => "stun:127.0.0.1:3478",
|
|
|
|
"turn_server" => "turn:127.0.0.1:3478",
|
|
|
|
"turn_username" => "anonymous",
|
|
|
|
"turn_password" => "anonymous"
|
|
|
|
));
|
2019-01-26 07:40:29 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Calls expiration time
|
|
|
|
*
|
|
|
|
* The amount of time of inactivity for what the call get
|
|
|
|
* automatically deleted
|
|
|
|
*/
|
|
|
|
$config->set("calls_expiration", 30);
|