[asterisk-bugs] [Asterisk 0018141]: AMI command 'MeetMeList' responds with error when no conferences exist

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 14 19:05:52 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18141 
====================================================================== 
Reported By:                coreyfarrell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18141
Category:                   Applications/app_meetme
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.11 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-14 08:21 CDT
Last Modified:              2010-10-14 19:05 CDT
====================================================================== 
Summary:                    AMI command 'MeetMeList' responds with error when no
conferences exist
Description: 
When running MeetMeList without specifying a conference (to get information
on all conferences), an error is returned if no conferences exist.  I feel
that this is not an error unless a 'Conference: <id>' is specified and does
not exist.

On an authenticated AMI connection send:
Action: MeetMeList
ActionID: 1234

If no conferences exist, you receive:
Response: Error
ActionID: 1234
Message: No active conferences.

I would expect to instead receive:
Response: Success
ActionID: 1234
Message: No active conferences.

Or even:
Response: Success
EventList: start
Message: Meetme user list will follow

Event: MeetmeListComplete
EventList: Complete
ListItems: 0

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

---------------------------------------------------------------------- 
 (0128076) coreyfarrell (reporter) - 2010-10-14 19:05
 https://issues.asterisk.org/view.php?id=18141#c128076 
---------------------------------------------------------------------- 
I looked at the code and found the changes required are trivial.  A patch
will be attached once this reopens.  The patch ensures error responses are
only used when a Conference is requested that isn't active, or if
app_meetme.so is not loaded.  Requesting a list of users without specifying
a conference will successfully return a list with 0 entries if no
conferences are active.  Also touched the XML docs for the manager command
to reflect that Conference is optional.

I tested the patch with trunk default ./configure on CentOS 5.5 64bit. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-14 19:05 coreyfarrell   Note Added: 0128076                          
2010-10-14 19:05 coreyfarrell   Status                   closed => new       
2010-10-14 19:05 coreyfarrell   Resolution               no change required =>
reopened
======================================================================




More information about the asterisk-bugs mailing list