[asterisk-commits] tilghman: branch 1.6.1 r237967 - /branches/1.6.1/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 6 00:52:16 CST 2010
Author: tilghman
Date: Wed Jan 6 00:52:12 2010
New Revision: 237967
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237967
Log:
One duplicate setting here (dead code).
Modified:
branches/1.6.1/channels/chan_sip.c
Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=237967&r1=237966&r2=237967
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Wed Jan 6 00:52:12 2010
@@ -22974,11 +22974,6 @@
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")) {
More information about the asterisk-commits
mailing list