SIP-router core :: Configuration options.
More...
#include "types.h"
Go to the source code of this file.
Defines
-
#define BLOCK_STEP 512
- distance of kilo-buckets
-
#define BRANCH_RT_NO RT_NO
- branch_route routing tables number
-
#define BUF_SIZE 65535
- receive buffer size -- preferably set low to avoid terror of excessively huge messages; they are useless anyway
-
#define CHILD_NO 8
- default number of child processes started
-
#define CLEANUP_EOL " \n"
- used by FIFO statistics in module to terminate line; extra whitespaces are used to overwrite remainders of previous line if longer than current one
-
#define DEFAULT_MAX_WHILE_LOOPS 100
- Maximum allowed iterations for a while (to catch runaways).
-
#define DEFAULT_RADIUS_CONFIG "/usr/local/etc/radiusclient/radiusclient.conf"
- Default FreeRadius configuration file.
-
#define DEFAULT_RT 0
- default routing table
-
#define DEFAULT_SER_KILL_TIMEOUT 60
- Kill timeout : seconds.
-
#define EVENT_RT_NO RT_NO
- event_route routing tables number
-
#define FAILURE_RT_NO RT_NO
- on_failure routing tables number
-
#define MAX_BRANCH_PARAM_LEN
- Maximum length of values appended to Via-branch parameter.
-
#define MAX_BRANCHES 12
- maximum number of branches per transaction
-
#define MAX_BUCKET 15
- maximum number of possible buckets
-
#define MAX_FIXED_BLOCK 3072
- size of the size2bucket table; everything beyond that asks for a variable-size kilo-bucket
-
#define MAX_LISTEN 16
- maximum number of addresses on which we will listen
-
#define MAX_PATH_SIZE 256
- Maximum length of path header buffer.
-
#define MAX_PRINT_TEXT 256
- max length of the text of fifo 'print' command
-
#define MAX_REC_LEV 100
- maximum number of recursive calls
-
#define MAX_RECEIVED_SIZE 57
- forwarding -- Via buffer dimensioning - Received header
-
#define MAX_REDIRECTION_LEN 512
- maximum length of Contact header field in redirection replies
-
#define MAX_RPORT_SIZE 13
- forwarding -- Via buffer dimensioning - Rport
-
#define MAX_URI_SIZE 1024
- Max URI size used when rewriting URIs.
-
#define MAX_VIA_LINE_SIZE 240
- forwarding -- Via buffer dimensioning
-
#define MCOOKIE "z9hG4bK"
- magic cookie for transaction matching as defined in RFC3261
-
#define MIN_SCTP_PACKET MIN_UDP_PACKET
- minimum size of SCTP packet
-
#define MIN_UDP_PACKET 32
- minimum UDP packet size; smaller packets will be dropped silently
-
#define ONREPLY_RT_NO RT_NO
- on_reply routing tables number
-
#define ONSEND_RT_NO 1
- onsend_route routing tables number
-
#define PATH_MAX_GUESS 1024
- maximum path length
-
#define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024
- used only if PKG_MALLOC is defined
-
#define ROUTE_MAX_REC_LEV 100
- maximum number of recursive calls for route()
-
#define RT_NO 2
- routing tables number
-
#define SHM_MEM_SIZE 32
- used if SH_MEM is defined
-
#define SIP_PORT 5060
- default SIP port if none specified
-
#define SIPS_PORT 5061
- default SIP port for TLS if none specified
-
#define TABLENAME_COLUMN "table_name"
- Column holding module name in version table.
-
#define TLS_CA_FILE 0
- no CA list file by default
-
#define TLS_CERT_FILE "cert.pem"
- The certificate file.
-
#define TLS_CRL_FILE 0
- no CRL by default
-
#define TLS_PKEY_FILE "cert.pem"
- The certificate private key file.
-
#define VERSION_COLUMN "table_version"
- Column holding version number in version table.
-
#define VERSION_TABLE "version"
- table holding versions of other ser tables
Detailed Description
These settings are settable by the user before compilation
Module: SIP-router core
Definition in file config.h.