From: Joshua Colp Date: Fri, 11 Aug 2006 13:54:58 +0000 (+0000) Subject: Don't completely error out if a config file for chan_phone was not found. (issue... X-Git-Tag: 1.4.0-beta1~429 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eecf43413fbe67e422114d41e5780715e08aaa2e;p=thirdparty%2Fasterisk.git Don't completely error out if a config file for chan_phone was not found. (issue #7710 reported by Mithraen) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39513 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 0e1548cc31..c6455111fb 100644 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -1345,7 +1345,7 @@ static int load_module(void *mod) /* We *must* have a config file otherwise stop immediately */ if (!cfg) { ast_log(LOG_ERROR, "Unable to load config %s\n", config); - return -1; + return 0; } if (ast_mutex_lock(&iflock)) { /* It's a little silly to lock it, but we mind as well just to be sure */