mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
VoIP is done on an operator by operator basis
This commit is contained in:
@@ -54,7 +54,7 @@ if (is_on_call($operator_id) == 3)
|
||||
{
|
||||
$newtext = T_("Stop REC");
|
||||
xhtml_head(T_("Record"),true,array("css/call.css"),array("js/window.js"),"onload='toggleRec(\"$newtext\",\"record.php?stop=stop\",\"online\")'");
|
||||
if (VOIP_ENABLED)
|
||||
if (is_voip_enabled($operator_id))
|
||||
{
|
||||
$call_id = get_call($operator_id);
|
||||
if ($call_id)
|
||||
@@ -77,7 +77,7 @@ if (is_on_call($operator_id) == 3)
|
||||
{
|
||||
$newtext = T_("Start REC");
|
||||
xhtml_head(T_("Record"),true,array("css/call.css"),array("js/window.js"),"onload='toggleRec(\"$newtext\",\"record.php?start=start\",\"offline\")'");
|
||||
if (VOIP_ENABLED)
|
||||
if (is_voip_enabled($operator_id))
|
||||
{
|
||||
include("functions/functions.voip.php");
|
||||
$v = new voip();
|
||||
|
||||
Reference in New Issue
Block a user