scheduled conference

Status
Not open for further replies.

arfio

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::DBCAMPO($sNombre),
'confOwner' => "''",
'roomNo' => paloDB::DBCAMPO($iNumTelefono),
'silPass' => "''",
'aFlags' => "'asdA'", // moderator options
'roomPass' => "''",
'uFlags' => "'d'" , // user options
'startTime' => paloDB::DBCAMPO($sFechaInicio),
'endTime' => paloDB::DBCAMPO($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
 
When you execute:
date
do you get the correct date?
 
i guess the problem is here:



...........

$iTimestamp = time();
$sFechaInicio = date('Y-m-d H:i:s', $iTimestamp);
$sFechaFinal = date('Y-m-d H:i:s', $iTimestamp + $iHorasDuracion * 3600);

..........
 
I notice another iusse about scheduled conference (i guess is always the same problem).

as i sed i create a conference (enabling web conference) and i scheduled it for tomorrow.

in the elastix GUI a have to select "future" conference to see it in the conferences table. Then if i select the conference the detail of the conference say that the conference is scheduled for today and not for tomorrow.

if i do the same without enabling web conference, then the date, in the detail of the conference, is right !!
 
I try to explain better:



I create a conference (enabling web conference) and i scheduled it for tomorrow.

in the elastix GUI a have to select "future" conference to see it in the conferences table.

If i select the conference the detail, under the conference name, all seems to be all right, but if i select [list guests] under options the conference is scheduled for today and not for tomorrow.
(https://MY_ELASTIX_IP/index.php?menu=co ... nference=9)

if i do the same without enabling web conference, then the date, in the detail of the conference, is right !!
 
And if you go to time&date settings on the web interface, do you also get the same system date output?
 
yes !!!

i guess the problem is in the function that create the conference



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::DBCAMPO($sNombre),
'confOwner' => "''",
'roomNo' => paloDB::DBCAMPO($iNumTelefono),
'silPass' => "''",
'aFlags' => "'asdA'", // moderator options
'roomPass' => "''",
'uFlags' => "'d'" , // user options
'startTime' => paloDB::DBCAMPO($sFechaInicio),
'endTime' => paloDB::DBCAMPO($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;
}
 
?!?!?!?

no one have my same problem ?
 
yes I have same problem. Software needs to have a scheduling by day, week, month added in.



Amphibian
 
Status
Not open for further replies.

Forum statistics

Threads
111,858
Messages
589,427
Members
164,698
Latest member
RRusev