]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
One duplicate setting here (dead code).
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 6 Jan 2010 06:52:12 +0000 (06:52 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 6 Jan 2010 06:52:12 +0000 (06:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@237967 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 2d3dfbe826fec0e180216a801b51c012c1477c82..3e3f44392984d935efc288c719e5460976dea6fe 100644 (file)
@@ -22974,11 +22974,6 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str
                                                ast_log(LOG_WARNING, "Timer B has been set lower than recommended. (RFC 3261, 17.1.1.2)\n");
                                        }
                                }
-                       } else if (!strcasecmp(v->name, "rtpkeepalive")) {
-                               if ((sscanf(v->value, "%30d", &peer->rtpkeepalive) != 1) || (peer->rtpkeepalive < 0)) {
-                                       ast_log(LOG_WARNING, "'%s' is not a valid RTP keepalive time at line %d.  Using default.\n", v->value, v->lineno);
-                                       peer->rtpkeepalive = global_rtpkeepalive;
-                               }
                        } else if (!strcasecmp(v->name, "setvar")) {
                                peer->chanvars = add_var(v->value, peer->chanvars);
                        } else if (!strcasecmp(v->name, "qualifyfreq")) {