Ticket #3392 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

Can't delete Conference

Reported by: jervin Assigned to:
Priority: minor Milestone: 2.6
Component: Conferences Version: 2.5-branch
Keywords: delete 0 Cc:
Confirmation: Need testing SVN Revision (if applicable):
Backend Engine: Asterisk 1.4.x Backend Engine Version: Asterisk 1.4.21.2-2 RPM by vc-rpms@voipconsulting.nl built by root @ trixbuild-2.5 on a i686 running Linux

Description

A long time ago, I created a meetme conference number 0. Lately I created two more conferences 501 and 502. When I look at conferences in FreePBX on Trixbox, I see:

Add Conference 0:General Test COnference 501:501 502:502

If I click on 501/502 then all works as designed, but if I click on 0:General Test Conference, then the system things for a few seconds and then returns to the original "Add Conference" page. I can't go to the "Conference:0" page, ergo, I can't delete conference 0.

If I try to re-add conference 0, I get: "Extension 0 not available, it is currently used by Conference: General Test Conference."

So I can't re-add it so I can delete it.

Haven't tried just going to the config files to manually remove it.

FYI, the conf 0 has been in my system for a couple of months not being used. I've put on maintenance several times on the Trixbox system since it's been there.

trixbox CE current release is 2.6.1.11 FreePBX version 2.5.1

Change History

11/12/08 09:04:15 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need testing.

try this:

Index: page.conferences.php
===================================================================
--- page.conferences.php        (revision 7206)
+++ page.conferences.php        (working copy)
@@ -77,7 +77,7 @@
 if ($action == 'delete') {
    echo '<br><h3>'._("Conference").' '.$extdisplay.' '._("deleted").'!</h3><br><br><br><br><br><br><br><br>';
 } else {
-   if ($extdisplay){ 
+   if ($extdisplay != ""){ 
        //get details for this meetme
        $thisMeetme = conferences_get($extdisplay);
        $options     = $thisMeetme['options'];
@@ -94,7 +94,7 @@
    }
 
 ?>
-<?php      if ($extdisplay){ ?>
+<?php      if ($extdisplay != ""){ ?>
    <h2><?php echo _("Conference:")." ". $extdisplay; ?></h2>
 <?php
                $delURL = $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'].'&action=delete';
@@ -123,9 +123,9 @@
    <input type="hidden" name="display" value="<?php echo $dispnum?>">
    <input type="hidden" name="action" value="<?php echo ($extdisplay ? 'edit' : 'add') ?>">
    <table>
-   <tr><td colspan="2"><h5><?php echo ($extdisplay ? _("Edit Conference") : _("Add Conference")) ?><hr></h5></td></tr>
+   <tr><td colspan="2"><h5><?php echo ($extdisplay != "" ? _("Edit Conference") : _("Add Conference")) ?><hr></h5></td></tr>
    <tr>
-<?php      if ($extdisplay){ ?>
+<?php      if ($extdisplay != ""){ ?>
        <input type="hidden" name="account" value="<?php echo $extdisplay; ?>">
 <?php      } else { ?>
        <td><a href="#" class="info"><?php echo _("Conference Number:")?><span><?php echo _("Use this number to dial into the conference.")?></span></a></td>

11/12/08 09:05:30 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [7248]) fixes #3392 can't edit or delete conference if numbered 0

11/12/08 09:21:26 changed by p_lindheimer

(In [7250]) Merged revisions 7202-7210,7212-7224,7226-7249 via svnmerge from http://svn.freepbx.org/modules/branches/2.5

Updated localizations

........

r7238 | mickecarlsson | 2008-11-08 10:07:01 -0800 (Sat, 08 Nov 2008) | 1 line

Addresses #3380, some text strings did not translate

........

r7245 | ethans | 2008-11-09 18:40:54 -0800 (Sun, 09 Nov 2008) | 2 lines

Closes #3384

........

r7248 | p_lindheimer | 2008-11-12 07:05:29 -0800 (Wed, 12 Nov 2008) | 1 line

fixes #3392 can't edit or delete conference if numbered 0

........

11/12/08 09:25:56 changed by p_lindheimer

(In [7252]) Merged revisions 7248 via svnmerge from http://svn.freepbx.org/modules/branches/2.5

........

r7248 | p_lindheimer | 2008-11-12 07:05:29 -0800 (Wed, 12 Nov 2008) | 1 line

fixes #3392 can't edit or delete conference if numbered 0

........

11/13/08 23:29:06 changed by jervin

I confirm that I was able to delete the conference #0 after applying this fix. Thanks for the quick fix.