No subject
Thu Jan 15 22:29:28 CST 2009
If the conference doesn't exist, then any request relating to that
conference that returns either a boolean or a count, would simply return
'0' with no error. "that conference does not exist, therefore it is not
locked (0), there are zero participants (0), there isn't any audio detected
(0), and there is no way to determine whether it's dynamic or not (since it
doesn't exist) (0 or -1)".
Perhaps for correctness or backward compatibility you would want to return
-1 if the conference does not exist, but in the case of 'parties', the most
useful return should always be a positive integer (0 or greater). As you
said yourself, "I'm not aware of a way to have a conference exist without
any participants.", so if the conference doesn't exist, it is 100% correct
to return '0' as a response to the 'parties' option.
I'm pretty sure that'll all be a lot easier to code, and the usefulness of
the function is improved immensely.
What do you think?
Issue History
Date Modified Username Field Change
======================================================================
2009-07-15 12:16 JimVanM Note Added: 0107797
======================================================================
More information about the asterisk-bugs
mailing list