[asterisk-bugs] [Asterisk 0010560]: Show if meetme is locked

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 11 09:31:38 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10560 
====================================================================== 
Reported By:                ruffle
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10560
Category:                   Applications/app_meetme
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-25-2007 08:37 CDT
Last Modified:              09-11-2007 09:31 CDT
====================================================================== 
Summary:                    Show if meetme is locked
Description: 
As far as I can see, there's no way from the CLI to see if a meetme is
locked.

This two line patch adds the word 'Locked' to the output of meetme for
locked
conferences.

Here's the trivial patch:

*** app_meetme.c   2007-08-09 17:12:57.000000000 +0100
--- asterisk-1.4.10.1/apps/app_meetme.c 2007-08-25 14:06:32.000000000
+0100
***************
*** 825,831 ****
        int i = 0, total = 0;
        time_t now;
        char *header_format = "%-14s %-14s %-10s %-8s  %-8s\n";
!       char *data_format = "%-12.12s   %4.4d         %4.4s      
%02d:%02d:%02d  %-8s\n";
        char cmdline[1024] = "";
  
        if (argc > 8)
--- 825,831 ----
        int i = 0, total = 0;
        time_t now;
        char *header_format = "%-14s %-14s %-10s %-8s  %-8s\n";
!       char *data_format = "%-12.12s   %4.4d         %4.4s      
%02d:%02d:%02d  %-8s%8s\n";
        char cmdline[1024] = "";
  
        if (argc > 8)
***************
*** 854,860 ****
                        min = ((now - cnf->start) % 3600) / 60;
                        sec = (now - cnf->start) % 60;
  
!                       ast_cli(fd, data_format, cnf->confno, cnf->users,
cmdline, hr, min, sec, cnf->isdynamic ? "Dynamic" : "Static");
  
                        total += cnf->users; 
                }
--- 854,860 ----
                        min = ((now - cnf->start) % 3600) / 60;
                        sec = (now - cnf->start) % 60;
  
!                       ast_cli(fd, data_format, cnf->confno, cnf->users,
cmdline, hr, min, sec, cnf->isdynamic ? "Dynamic" : "Static",cnf->locked ?
"Locked" : "");
  
                        total += cnf->users; 
                }



====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 09-11-07 09:31  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 82242

------------------------------------------------------------------------
r82242 | file | 2007-09-11 09:31:37 -0500 (Tue, 11 Sep 2007) | 6 lines

(closes issue http://bugs.digium.com/view.php?id=10560)
Reported by: ruffle
Patches:
      rb uploaded by ruffle (license 201)
Show whether the conference is locked or not on the CLI.

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-11-07 09:31  svnbot         Checkin                                      
09-11-07 09:31  svnbot         Note Added: 0070315                          
09-11-07 09:31  svnbot         Status                   feedback => assigned
09-11-07 09:31  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list