]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_meetme: Emit warning if conference not found.
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 5 Mar 2022 15:40:16 +0000 (15:40 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 8 Apr 2022 16:24:12 +0000 (11:24 -0500)
Currently, if a user tries to access a non-dynamic
MeetMe conference and the conference is not found,
the call simply silent hangs up. There is no indication
to the user that anything went wrong at all.

This changes the relevant debug message to a warning
so that the user is notified of this invalidity.

ASTERISK-29954 #close

Change-Id: Iebcfae3755d00f2150d676ee211c57bc59530048

apps/app_meetme.c

index 5f498eb8104b2503e5160e666a09275ad62d9f38..519d1c6a5c41eed0c1b439ce0cbb37676b39051a 100644 (file)
@@ -4761,7 +4761,7 @@ static struct ast_conference *find_conf(struct ast_channel *chan, char *confno,
                                }
                        }
                        if (!var) {
-                               ast_debug(1, "%s isn't a valid conference\n", confno);
+                               ast_log(LOG_WARNING, "%s isn't a valid conference\n", confno);
                        }
                        ast_config_destroy(cfg);
                }