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:
5adfdcb
)
Changes from Dimitri for OSP codes, minor buglets
author
Matthew Fredrickson
<creslin@digium.com>
Tue, 7 Sep 2004 15:16:18 +0000
(15:16 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Tue, 7 Sep 2004 15:16:18 +0000
(15:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3744
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_osp.c
patch
|
blob
|
history
diff --git
a/res/res_osp.c
b/res/res_osp.c
index
7945c08
..
74a41af
100755
(executable)
--- a/
res/res_osp.c
+++ b/
res/res_osp.c
@@
-170,6
+170,8
@@
static int osp_build(struct ast_config *cfg, char *cat)
osp->timeout = x;
} else
ast_log(LOG_WARNING, "timeout should be an integer from 200 to 10000, not '%s' at line %d\n", v->value, v->lineno);
+ } else if (!strcasecmp(v->name, "source")) {
+ strncpy(osp->source, v->value, sizeof(osp->source) - 1);
}
v = v->next;
}
@@
-248,7
+250,7
@@
static int osp_build(struct ast_config *cfg, char *cat)
1,
300,
osp->maxconnections,
- 60000,
+ 1,
osp->retrydelay,
osp->retrylimit,
osp->timeout,