aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-06 06:52:12 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-06 06:52:12 +0000
commit6757fb6bb9f861586d90ece7aed5ef256585facf (patch)
tree75d226b86a8e0c6152c07fe779c7ba8b8296c07f
parentefc0c6b8f492a5b87178f1f274cd1ee88c1fa3f9 (diff)
One duplicate setting here (dead code).
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@237967 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 2d3dfbe82..3e3f44392 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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")) {