diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-09 16:04:26 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-09 16:04:26 +0000 |
commit | 9a17dd06396786fc70558bab46e307871d768319 (patch) | |
tree | 67e3041c01f9eb37921628aac269cbba296fbbb1 /channels | |
parent | 69f90dd5846d9ab254bd6bcd290b0a7dce5ad962 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@33262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6a02df6cb..fe3569778 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")) { |