- Joined
- Sep 8, 2009
- Messages
- 1,128
- Reaction score
- 1
Hey Team,
After setting up a conference within the "Webconf" tab and doing the save the system sends a email to all those assigned to attend the web conf. The problem is that within that email it displays the following:
"You have been invited to a conference in the Elastix Server at . To enter this conference, please follow the following link: Enter Conference and enter your preferred nick (or leave the default one) and your generated password."
The words "Enter Conference" is a link, this link is directing the people to the wrong url. Looking at the code I see where the following "$sDominioWeb = `hostname`;" is the problem. Using "hostname" you end up with your hostname/domain name like "pbx.yoursorminepbx.com". The next line under it shows "$sDominioWeb = trim($sDominioWeb);", if I remember correctly does that not trim the "pbx." off the domainname?
Looking at the code located at "/var/www/html/modules/conferenceroom_list/libs/paloSantoCreateConference.class.php" one can see the following around line 515:
$sDominioWeb = `hostname`; // TODO: mejorar recoger dominio web.
$sDominioWeb = trim($sDominioWeb);
$sDominioCorreo = $sDominioWeb;
$regs = NULL;
if (ereg('^www\.(.*)$', $sDominioCorreo, $regs)) $sDominioCorreo = $regs[1];
I tried to change the "hostname" to "yoursminepbx.com" and it causes error codes. Can smeone reccomend to me what the proper coding would be to get this so that it sends the proper url? Otherwise I don't see the purpose of using the web conference with email delivery if the recip can't get to the right url location...... This code should be changed so that one could just manually enter the url, if so wanted, where the words "hostname" are now.
Thank you,
amphibian
After setting up a conference within the "Webconf" tab and doing the save the system sends a email to all those assigned to attend the web conf. The problem is that within that email it displays the following:
"You have been invited to a conference in the Elastix Server at . To enter this conference, please follow the following link: Enter Conference and enter your preferred nick (or leave the default one) and your generated password."
The words "Enter Conference" is a link, this link is directing the people to the wrong url. Looking at the code I see where the following "$sDominioWeb = `hostname`;" is the problem. Using "hostname" you end up with your hostname/domain name like "pbx.yoursorminepbx.com". The next line under it shows "$sDominioWeb = trim($sDominioWeb);", if I remember correctly does that not trim the "pbx." off the domainname?
Looking at the code located at "/var/www/html/modules/conferenceroom_list/libs/paloSantoCreateConference.class.php" one can see the following around line 515:
$sDominioWeb = `hostname`; // TODO: mejorar recoger dominio web.
$sDominioWeb = trim($sDominioWeb);
$sDominioCorreo = $sDominioWeb;
$regs = NULL;
if (ereg('^www\.(.*)$', $sDominioCorreo, $regs)) $sDominioCorreo = $regs[1];
I tried to change the "hostname" to "yoursminepbx.com" and it causes error codes. Can smeone reccomend to me what the proper coding would be to get this so that it sends the proper url? Otherwise I don't see the purpose of using the web conference with email delivery if the recip can't get to the right url location...... This code should be changed so that one could just manually enter the url, if so wanted, where the words "hostname" are now.
Thank you,
amphibian