2
0
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:
azammitdcarf
2009-11-12 03:45:25 +00:00
parent 24b4f9e0e0
commit 2288dc8134
8 changed files with 68 additions and 21 deletions

View File

@@ -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();