From 8d7e026f79428877d1836ae5f505da75312b8ecf Mon Sep 17 00:00:00 2001 From: tilghman Date: Wed, 6 Jan 2010 06:54:03 +0000 Subject: Merged revisions 237968 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r237968 | tilghman | 2010-01-06 00:53:23 -0600 (Wed, 06 Jan 2010) | 2 lines Whoa, duplicate setting (dead code). ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@237969 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'channels') diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e54d096e6..bc4893f56 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -23940,11 +23940,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")) { -- cgit v1.2.3