]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Fri, 8 Apr 2022 16:31:01 +0000 (11:31 -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 99a824d1b062173956e9bb6c0953061c294ce1d7..e7ade64c542246d83614f6f0cc99fa922555a564 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);
                }