[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
Wed Jul 15 12:16:11 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-15 12:16 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'.
======================================================================
----------------------------------------------------------------------
(0107797) JimVanM (reporter) - 2009-07-15 12:16
https://issues.asterisk.org/view.php?id=15450#c107797
----------------------------------------------------------------------
Understood, but given that the reason people are using this function has to
do with conferences as entities in the dialplan, and not with whether the
relevant conference is in memory, I would think a simple solution would be
that if the conference does not exist, then the return would be '0' in all
cases except perhaps 'dynamic', where the return could be perhaps '-1' when
the conference does not exist. Returning an error doesn't make sense
because it is normal to not have a conference exist if there are no
participants. There's nothing wrong, but the function needs to provide a
useful response to the request.
More information about the asterisk-bugs
mailing list