projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fef1b3
)
Accept "defaultexpirey" too
author
Mark Spencer
<markster@digium.com>
Mon, 14 Apr 2003 19:18:49 +0000
(19:18 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 14 Apr 2003 19:18:49 +0000
(19:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@849
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
9be6056
..
89b5cf7
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-5101,7
+5101,7
@@
static int reload_config(void)
max_expiry = atoi(v->value);
if (max_expiry < 1)
max_expiry = DEFAULT_MAX_EXPIRY;
- } else if (!strcasecmp(v->name, "defaultexpiry")) {
+ } else if (!strcasecmp(v->name, "defaultexpiry") || !strcasecmp(v->name, "defaultexpirey")) {
default_expiry = atoi(v->value);
if (default_expiry < 1)
default_expiry = DEFAULT_DEFAULT_EXPIRY;