summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--channels/chan_sip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 0f0aa88e6..e92391804 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 6df7e1d0b..3c2d73b36 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;