|
@@ -1,6 +1,5 @@
|
|
/*
|
|
/*
|
|
- * $Id$
|
|
|
|
- * This file is part of SIP-router, a free SIP server.
|
|
|
|
|
|
+ * This file is part of Kamailio, a free SIP server.
|
|
*
|
|
*
|
|
* SIP-router is free software; you can redistribute it and/or modify
|
|
* SIP-router is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* it under the terms of the GNU General Public License as published by
|
|
@@ -39,11 +38,14 @@ struct cfg_group_dispatcher default_dispatcher_cfg = {
|
|
void *dispatcher_cfg = &default_dispatcher_cfg;
|
|
void *dispatcher_cfg = &default_dispatcher_cfg;
|
|
|
|
|
|
cfg_def_t dispatcher_cfg_def[] = {
|
|
cfg_def_t dispatcher_cfg_def[] = {
|
|
- {"probing_threshold", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0,
|
|
|
|
|
|
+ {"probing_threshold", CFG_VAR_INT | CFG_ATOMIC,
|
|
|
|
+ 0, 0, 0, 0,
|
|
"Number of failed requests, before a destination is set to probing."},
|
|
"Number of failed requests, before a destination is set to probing."},
|
|
- {"inactive_threshold", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0,
|
|
|
|
- "Number of successful requests, before a destination is set to active."},
|
|
|
|
- {"ping_reply_codes", CFG_VAR_STR | CFG_CB_ONLY_ONCE , 0, 0, 0, ds_ping_reply_codes_update,
|
|
|
|
|
|
+ {"inactive_threshold", CFG_VAR_INT | CFG_ATOMIC,
|
|
|
|
+ 0, 0, 0, 0,
|
|
|
|
+ "Number of successful requests, before a destination is set to active."},
|
|
|
|
+ {"ping_reply_codes", CFG_VAR_STR | CFG_CB_ONLY_ONCE
|
|
|
|
+ , 0, 0, 0, ds_ping_reply_codes_update,
|
|
"Additional, valid reply codes for the OPTIONS Pinger. Default is \"\""},
|
|
"Additional, valid reply codes for the OPTIONS Pinger. Default is \"\""},
|
|
{0, 0, 0, 0, 0, 0}
|
|
{0, 0, 0, 0, 0, 0}
|
|
};
|
|
};
|