From: Automerge script Date: Fri, 9 Jun 2006 16:04:26 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.10-netsec~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7e0030d6bb23a0676ea021de56d46456be7bd54;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@33262 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6a02df6cb1..fe35697784 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12812,10 +12812,10 @@ static int reload_config(void) if (context) *context++ = '\0'; + if (option_debug && ast_strlen_zero(context)) + ast_log(LOG_DEBUG, "No context specified at line %d for domain '%s'\n", v->lineno, domain); if (ast_strlen_zero(domain)) ast_log(LOG_WARNING, "Empty domain specified at line %d\n", v->lineno); - else if (ast_strlen_zero(context)) - ast_log(LOG_WARNING, "Empty context specified at line %d for domain '%s'\n", v->lineno, domain); else add_sip_domain(ast_strip(domain), SIP_DOMAIN_CONFIG, context ? ast_strip(context) : ""); } else if (!strcasecmp(v->name, "register")) {