mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Make history configurable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8167,6 +8167,8 @@ static int reload_config(void)
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "register")) {
|
||||
sip_register(v->value, v->lineno);
|
||||
} else if (!strcasecmp(v->name, "recordhistory")) {
|
||||
recordhistory = ast_true(v->value);
|
||||
} else if (!strcasecmp(v->name, "tos")) {
|
||||
if (sscanf(v->value, "%i", &format) == 1)
|
||||
tos = format & 0xff;
|
||||
|
@@ -22,6 +22,7 @@
|
||||
|
||||
[general]
|
||||
context=default ; Default context for incoming calls
|
||||
;recordhistory=yes ; Record SIP history by default (see sip history / sip no history)
|
||||
;realm=mydomain.tld ; Realm for digest authentication
|
||||
; defaults to "asterisk"
|
||||
; Realms MUST be globally unique according to RFC 3261
|
||||
|
Reference in New Issue
Block a user