Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
c1e438fd
Commit
c1e438fd
authored
8 years ago
by
Richard Mudgett
Browse files
Options
Downloads
Patches
Plain Diff
config_global.c: Comments and a default expression adjustment.
Change-Id: Ia6a58f8c73a30da6874b3f94364dce162d6f1ad3
parent
d3c4b901
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
res/res_pjsip/config_global.c
+9
-8
9 additions, 8 deletions
res/res_pjsip/config_global.c
with
9 additions
and
8 deletions
res/res_pjsip/config_global.c
+
9
−
8
View file @
c1e438fd
...
...
@@ -76,21 +76,21 @@ struct global_config {
/*! Realm to use in challenges before an endpoint is identified */
AST_STRING_FIELD
(
default_realm
);
);
/* Value to put in Max-Forwards header */
/*
!
Value to put in Max-Forwards header */
unsigned
int
max_forwards
;
/* The interval at which to send keep alive messages to active connection-oriented transports */
/*
!
The interval at which to send keep alive messages to active connection-oriented transports */
unsigned
int
keep_alive_interval
;
/* The maximum time for all contacts to be qualified at startup */
/*
!
The maximum time for all contacts to be qualified at startup */
unsigned
int
max_initial_qualify_time
;
/* The interval at which to check for expired contacts */
/*
!
The interval at which to check for expired contacts */
unsigned
int
contact_expiration_check_interval
;
/*! Nonzero to disable multi domain support */
unsigned
int
disable_multi_domain
;
/* The maximum number of unidentified requests per source IP address before a security event is logged */
/*
!
The maximum number of unidentified requests per source IP address before a security event is logged */
unsigned
int
unidentified_request_count
;
/* The period during which unidentified requests are accumulated */
/*
!
The period during which unidentified requests are accumulated */
unsigned
int
unidentified_request_period
;
/* Interval at which expired unidentifed requests will be pruned */
/*
!
Interval at which expired unidentifed requests will be pruned */
unsigned
int
unidentified_request_prune_interval
;
struct
{
/*! Taskprocessor high water alert trigger level */
...
...
@@ -510,7 +510,8 @@ int ast_sip_initialize_sorcery_global(void)
ast_sorcery_object_field_register
(
sorcery
,
"global"
,
"contact_expiration_check_interval"
,
__stringify
(
DEFAULT_CONTACT_EXPIRATION_CHECK_INTERVAL
),
OPT_UINT_T
,
0
,
FLDSET
(
struct
global_config
,
contact_expiration_check_interval
));
ast_sorcery_object_field_register
(
sorcery
,
"global"
,
"disable_multi_domain"
,
"no"
,
ast_sorcery_object_field_register
(
sorcery
,
"global"
,
"disable_multi_domain"
,
DEFAULT_DISABLE_MULTI_DOMAIN
?
"yes"
:
"no"
,
OPT_BOOL_T
,
1
,
FLDSET
(
struct
global_config
,
disable_multi_domain
));
ast_sorcery_object_field_register
(
sorcery
,
"global"
,
"unidentified_request_count"
,
__stringify
(
DEFAULT_UNIDENTIFIED_REQUEST_COUNT
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment