Changed the "busy-level" option in sip.conf to "busylevel" to be more parallel
authorMark Michelson <mmichelson@digium.com>
Mon, 19 Nov 2007 23:24:35 +0000 (23:24 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 19 Nov 2007 23:24:35 +0000 (23:24 +0000)
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

CHANGES
channels/chan_sip.c

diff --git a/CHANGES b/CHANGES
index 0f0aa88..e923918 100644 (file)
--- 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
index 6df7e1d..3c2d73b 100644 (file)
@@ -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;