]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove deprecated "incominglimit" config option
authorOlle Johansson <oej@edvina.net>
Fri, 6 Oct 2006 09:01:09 +0000 (09:01 +0000)
committerOlle Johansson <oej@edvina.net>
Fri, 6 Oct 2006 09:01:09 +0000 (09:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 7f7f3324457a5c466ee430e7a4914672c3804f48..2aa8ee3634a991b539170ac63caf1ee678dfb5dc 100644 (file)
@@ -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;