From: Mark Michelson Date: Mon, 19 Nov 2007 23:24:35 +0000 (+0000) Subject: Changed the "busy-level" option in sip.conf to "busylevel" to be more parallel X-Git-Tag: 1.6.0-beta1~3^2~760 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb3b4f493796c4d1412d3acabd93703e9c092033;p=thirdparty%2Fasterisk.git Changed the "busy-level" option in sip.conf to "busylevel" to be more parallel with the SIPPEER() argument of the same name. The deprecation procedure is not being used here since this is a trunk-only option. (closes issue #11307, reported by pj, patched by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89441 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/CHANGES b/CHANGES index 0f0aa88e6d..e92391804a 100644 --- a/CHANGES +++ b/CHANGES @@ -68,7 +68,7 @@ SIP changes since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4 * The "localmask" setting was removed in version 1.2 and the reminder about it being removed is now also removed. - * A new option "busy-level" for setting a level of calls where asterisk reports + * A new option "busylevel" for setting a level of calls where asterisk reports a device as busy, to separate it from call-limit. This value is also added to the SIP_PEER dialplan function. * A new realtime family called "sipregs" is now supported to store SIP registration diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6df7e1d0ba..3c2d73b364 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -17811,7 +17811,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str peer->call_limit = atoi(v->value); if (peer->call_limit < 0) peer->call_limit = 0; - } else if (!strcasecmp(v->name, "busy-level")) { + } else if (!strcasecmp(v->name, "busylevel")) { peer->busy_level = atoi(v->value); if (peer->busy_level < 0) peer->busy_level = 0;