[asterisk-bugs] [Asterisk 0015450]: [patch] If function MEETME_INFO() is run on a conference with no participants, return is not numeric

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 14 18:28:08 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15450 
====================================================================== 
Reported By:                JimVanM
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   15450
Category:                   Functions/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-05 19:39 CDT
Last Modified:              2009-07-14 18:28 CDT
====================================================================== 
Summary:                    [patch] If function MEETME_INFO() is run on a
conference with no participants, return is not numeric
Description: 
-- Executing [s at your_conference:3] Set("IAX2/6477236631-6754",
"ANYBODYTHERE=(Error: conference (550001) not found") in new stack

I only tested with keyword 'parties'.



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

---------------------------------------------------------------------- 
 (0107757) JimVanM (reporter) - 2009-07-14 18:28
 https://issues.asterisk.org/view.php?id=15450#c107757 
---------------------------------------------------------------------- 
I'm sure you're right, but just because this function is run on a
conference that is not in memory does not mean it's not a valid conference
from a configuration standpoint.

Asking for the status of a conference that is valid in the dialplan (i.e.
people can phone into it during the normal course of events), and then
getting an error because nobody is in that conference at that time, limits
the usefulness of this function. When I ask "how many people are in this
conference", the current function will either return a value greater than
0, or an error. But '0', as in "there is nobody in this conference" is not
actually an error; it is a potentially very useful bit of information. I
appreciate on a technical level why the error happens, I just don't think
that such an error is of any use to this function. The result is only
logical if you fail to consider how the function might be used. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-14 18:28 JimVanM        Note Added: 0107757                          
======================================================================




More information about the asterisk-bugs mailing list