]> 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)
committerN A <mail@interlinked.x10host.com>
Fri, 1 Apr 2022 11:04:24 +0000 (06:04 -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 24f54081fdc42d818db834799605c183c0a7f2a8..17ff202a2a9b3d504465db11cf54b637cad6d4ce 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);
                }