wc_provider)) { $provider = $CFG->wc_provider; } if(isset($CFG->wc_accountid)) { $accountid = $CFG->wc_accountid; } if(isset($form->meetingid)) { $currentroom = $form->meetingid; } if(isset($CFG->wc_meetingrooms)) { $meetingroom = $CFG->wc_meetingrooms; } // Determine if you the meeting is an "old" one that is being updated $old = True; if (!isset($currentroom) || $currentroom=='') { $old = False; } /// Create a list of meeting rooms if ($provider=="self") { // Self hosted option if ($meetingroom=='*' && (!isset($currentroom) || $currentroom=='')) { $meetingrooms[0]=rand(10000,99999); } else if ($meetingroom=='*' && (!isset($currentroom) || $currentroom=='')) { $meetingrooms[0]=($form->meetingid); } else { $meetingrooms = split(',',$meetingroom); if (sizeof($meetingrooms)==1 && $currentroom==$meetingroom) { $meetingrooms[0]=($form->meetingid); } elseif (sizeof($meetingrooms)==1 && $currentroom!=$meetingroom) { $meetingrooms[0]=$meetingroom; } else { $meetingrooms = split(',',$meetingroom); } } } else { // Hosted by Dual Code if ($currentroom!='') { $meetingrooms[0]=($form->meetingid); } else { $meetingrooms[0]=$accountid."-".rand(10000,99999); } } ?>


: />
: >
: /> Unmask
: /> Unmask
:
:
: