Skip to content
Snippets Groups Projects
Commit 11df6a91 authored by Olle Johansson's avatar Olle Johansson
Browse files

Rename "limitonpeer" to "counteronpeer" since the call-limit is deprecated.

Both still works in this version.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 89c0a0a7
Branches
Tags
No related merge requests found
......@@ -18243,7 +18243,7 @@ static int reload_config(enum channelreloadreason reason)
compactheaders = ast_true(v->value);
} else if (!strcasecmp(v->name, "notifymimetype")) {
ast_copy_string(default_notifymime, v->value, sizeof(default_notifymime));
} else if (!strncasecmp(v->name, "limitonpeer", 11)) {
} else if (!strncasecmp(v->name, "limitonpeer", 11) || !strcasecmp(v->name, "counteronpeer")) {
global_limitonpeers = ast_true(v->value);
} else if (!strcasecmp(v->name, "directrtpsetup")) {
global_directrtpsetup = ast_true(v->value);
......
......@@ -236,7 +236,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;notifyhold = yes ; Notify subscriptions on HOLD state (default: no)
; Turning on notifyringing and notifyhold will add a lot
; more database transactions if you are using realtime.
;limitonpeer = yes ; Apply call counting on peers only. This will improve
;counteronpeer = yes ; Apply call counting on peers only. This will improve
; status notification when you are using type=friend
; Inbound calls, that really apply to the user part
; of a friend will now be added to and compared with
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment