- Joined
- May 5, 2009
- Messages
- 40
- Reaction score
- 0
I have a iusse about conferences and i wont to know if you find this iusse.
This is the scenario:
I create a conference (PXX->Conference) in Elastix GUI
i fill all fields and i set the conference to start next monday (for istance)
i enable the web conf
i invite a couple of person
the email the gusets recive is correct but the date of the conference is wrong !!!!! and is set today !!
I checkout the file PaloSantoCreateConference.class.php and i notice that lines ..
function crearConferenciaTelefonica($sNombre, $iHorasDuracion, $iNumTelefono)
{
$pDB = $this->_connectMeetmeDatabase();
if (is_null($pDB)) return FALSE;
include_once "modules/conference/libs/paloSantoConference.php";
$pConference = new paloSantoConference($pDB);
$iTimestamp = time();
$sFechaInicio = date('Y-m-d H:i:s', $iTimestamp);
$sFechaFinal = date('Y-m-d H:i:s', $iTimestamp + $iHorasDuracion * 3600);
$datos = array(
'confDesc' => paloDB:
BCAMPO($sNombre),
'confOwner' => "''",
'roomNo' => paloDB:
BCAMPO($iNumTelefono),
'silPass' => "''",
'aFlags' => "'asdA'", // moderator options
'roomPass' => "''",
'uFlags' => "'d'" , // user options
'startTime' => paloDB:
BCAMPO($sFechaInicio),
'endTime' => paloDB:
BCAMPO($sFechaFinal),
'maxUser' => 10, // TODO: leer número de invitados
'clientId' => 0,
'status' => "'A'",
'sequenceNo'=> 0, //Si se usa recurrencia debe autoincrementar
'recurInterval'=> 0, //Si se usa recurrencia debe calcularse el tiempo
);
$result = $pConference->addConference($datos);
if (!$result) {
$this->errMsg = 'Voice conference creation failed.';
}
return $result;
}
I think the problem is in the first lines.
Do you find my seme problem ?
Is there a fix ?
Thank to all
This is the scenario:
I create a conference (PXX->Conference) in Elastix GUI
i fill all fields and i set the conference to start next monday (for istance)
i enable the web conf
i invite a couple of person
the email the gusets recive is correct but the date of the conference is wrong !!!!! and is set today !!
I checkout the file PaloSantoCreateConference.class.php and i notice that lines ..
function crearConferenciaTelefonica($sNombre, $iHorasDuracion, $iNumTelefono)
{
$pDB = $this->_connectMeetmeDatabase();
if (is_null($pDB)) return FALSE;
include_once "modules/conference/libs/paloSantoConference.php";
$pConference = new paloSantoConference($pDB);
$iTimestamp = time();
$sFechaInicio = date('Y-m-d H:i:s', $iTimestamp);
$sFechaFinal = date('Y-m-d H:i:s', $iTimestamp + $iHorasDuracion * 3600);
$datos = array(
'confDesc' => paloDB:
'confOwner' => "''",
'roomNo' => paloDB:
'silPass' => "''",
'aFlags' => "'asdA'", // moderator options
'roomPass' => "''",
'uFlags' => "'d'" , // user options
'startTime' => paloDB:
'endTime' => paloDB:
'maxUser' => 10, // TODO: leer número de invitados
'clientId' => 0,
'status' => "'A'",
'sequenceNo'=> 0, //Si se usa recurrencia debe autoincrementar
'recurInterval'=> 0, //Si se usa recurrencia debe calcularse el tiempo
);
$result = $pConference->addConference($datos);
if (!$result) {
$this->errMsg = 'Voice conference creation failed.';
}
return $result;
}
I think the problem is in the first lines.
Do you find my seme problem ?
Is there a fix ?
Thank to all