aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8311161ec..cdf866f6f 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;