From: Olle Johansson Date: Fri, 6 Oct 2006 09:01:09 +0000 (+0000) Subject: Remove deprecated "incominglimit" config option X-Git-Tag: 1.6.0-beta1~3^2~4500 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb127f4baa0e546240e973615ace5306ced6ccbc;p=thirdparty%2Fasterisk.git Remove deprecated "incominglimit" config option git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44545 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7f7f332445..2aa8ee3634 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -15503,7 +15503,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str ast_copy_string(peer->language, v->value, sizeof(peer->language)); } else if (!strcasecmp(v->name, "regexten")) { ast_copy_string(peer->regexten, v->value, sizeof(peer->regexten)); - } else if (!strcasecmp(v->name, "call-limit") || !strcasecmp(v->name, "incominglimit")) { + } else if (!strcasecmp(v->name, "call-limit")) { peer->call_limit = atoi(v->value); if (peer->call_limit < 0) peer->call_limit = 0;