diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-01-06 06:53:23 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-01-06 06:53:23 +0000 |
commit | 82f998dcd47e9dff786ddd50b8a966a111362dbb (patch) | |
tree | c768b9e72da8034de98b8920945353abd005eb74 | |
parent | bfae8dca78aa3b2272de74a1260d42d876ca69e8 (diff) |
Whoa, duplicate setting (dead code).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 93c9b8cdc..3d96322ac 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -25098,11 +25098,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, "header")) { |