mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user