#include "types.h"Go to the source code of this file.
Defines | |
| #define | SIP_PORT 5060 |
| #define | SIPS_PORT 5061 |
| #define | CFG_FILE CFG_DIR "ser.cfg" |
| #define | TLS_PKEY_FILE "cert.pem" |
| #define | TLS_CERT_FILE "cert.pem" |
| #define | TLS_CA_FILE 0 |
| #define | MAX_LISTEN 16 |
| #define | CHILD_NO 8 |
| #define | RT_NO 2 |
| #define | FAILURE_RT_NO RT_NO |
| #define | ONREPLY_RT_NO RT_NO |
| #define | BRANCH_RT_NO RT_NO |
| #define | ONSEND_RT_NO 1 |
| #define | DEFAULT_RT 0 |
| #define | MAX_REC_LEV 100 |
| #define | ROUTE_MAX_REC_LEV 100 |
| #define | MAX_URI_SIZE 1024 |
| #define | MY_VIA "Via: SIP/2.0/UDP " |
| #define | MY_VIA_LEN (sizeof(MY_VIA) - 1) |
| #define | ROUTE_PREFIX "Route: " |
| #define | ROUTE_PREFIX_LEN (sizeof(ROUTE_PREFIX) - 1) |
| #define | ROUTE_SEPARATOR ", " |
| #define | ROUTE_SEPARATOR_LEN (sizeof(ROUTE_SEPARATOR) - 1) |
| #define | CONTENT_LENGTH "Content-Length: " |
| #define | CONTENT_LENGTH_LEN (sizeof(CONTENT_LENGTH)-1) |
| #define | USER_AGENT |
| #define | USER_AGENT_LEN (sizeof(USER_AGENT)-1) |
| #define | SERVER_HDR |
| #define | SERVER_HDR_LEN (sizeof(SERVER_HDR)-1) |
| #define | MAX_WARNING_LEN 256 |
| #define | MY_BRANCH ";branch=" |
| #define | MY_BRANCH_LEN (sizeof(MY_BRANCH) - 1) |
| #define | MAX_PORT_LEN 7 |
| #define | CRLF "\r\n" |
| #define | CRLF_LEN (sizeof(CRLF) - 1) |
| #define | RECEIVED ";received=" |
| #define | RECEIVED_LEN (sizeof(RECEIVED) - 1) |
| #define | TRANSPORT_PARAM ";transport=" |
| #define | TRANSPORT_PARAM_LEN (sizeof(TRANSPORT_PARAM) - 1) |
| #define | COMP_PARAM ";comp=" |
| #define | COMP_PARAM_LEN (sizeof(COMP_PARAM)-1) |
| #define | SIGCOMP_NAME "sigcomp" |
| #define | SIGCOMP_NAME_LEN (sizeof(SIGCOMP_NAME)-1) |
| #define | SERGZ_NAME "sergz" |
| #define | SERGZ_NAME_LEN (sizeof(SERGZ_NAME)-1) |
| #define | TOTAG_TOKEN ";tag=" |
| #define | TOTAG_TOKEN_LEN (sizeof(TOTAG_TOKEN)-1) |
| #define | RPORT ";rport=" |
| #define | RPORT_LEN (sizeof(RPORT) - 1) |
| #define | ID_PARAM ";i=" |
| #define | ID_PARAM_LEN (sizeof(ID_PARAM) - 1) |
| #define | SRV_UDP_PREFIX "_sip._udp." |
| #define | SRV_UDP_PREFIX_LEN (sizeof(SRV_UDP_PREFIX) - 1) |
| #define | SRV_TCP_PREFIX "_sip._tcp." |
| #define | SRV_TCP_PREFIX_LEN (sizeof(SRV_TCP_PREFIX) - 1) |
| #define | SRV_TLS_PREFIX "_sips._tcp." |
| #define | SRV_TLS_PREFIX_LEN (sizeof(SRV_TLS_PREFIX) - 1) |
| #define | SRV_SCTP_PREFIX "_sip._sctp." |
| #define | SRV_SCTP_PREFIX_LEN (sizeof(SRV_SCTP_PREFIX) - 1) |
| #define | SRV_MAX_PREFIX_LEN SRV_TLS_PREFIX_LEN |
| #define | PKG_MEM_POOL_SIZE 4*1024*1024 |
| #define | SHM_MEM_SIZE 32 |
| #define | MAX_FIXED_BLOCK 3072 |
| #define | BLOCK_STEP 512 |
| #define | MAX_BUCKET 15 |
| #define | BUF_SIZE 65535 |
| #define | MAX_VIA_LINE_SIZE 240 |
| #define | MAX_RECEIVED_SIZE 57 |
| #define | MAX_RPORT_SIZE 13 |
| #define | MAX_BRANCHES 12 |
| #define | MAX_PRINT_TEXT 256 |
| #define | MAX_REDIRECTION_LEN 512 |
| #define | CLEANUP_EOL " \n" |
| #define | MCOOKIE "z9hG4bK" |
| #define | MCOOKIE_LEN (sizeof(MCOOKIE)-1) |
| #define | MAX_BRANCH_PARAM_LEN |
| #define | DEFAULT_SER_KILL_TIMEOUT 60 |
| #define | PATH_MAX_GUESS 1024 |
| #define | DEFAULT_DB_URL "mysql://ser:heslo@localhost/ser" |
| #define | DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1) |
| #define | DEFAULT_RODB_URL "mysql://serro:47serro11@localhost/ser" |
| #define | DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1) |
| #define | VERSION_TABLE "version" |
| #define | VERSION_COLUMN "table_version" |
| #define | TABLENAME_COLUMN "table_name" |
| #define | MIN_UDP_PACKET 32 |
| #define | MIN_SCTP_PACKET MIN_UDP_PACKET |
| #define | DEFAULT_RADIUS_CONFIG "/usr/local/etc/radiusclient/radiusclient.conf" |
| #define | DEFAULT_DID "_default" |
|
|
|
|
|
Definition at line 63 of file config.h. Referenced by init_routes(). |
|
|
Definition at line 161 of file config.h. Referenced by main(), print_ct_constants(), udp_rcv_loop(), and yyparse(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 108 of file config.h. Referenced by via_builder(). |
|
|
Definition at line 109 of file config.h. Referenced by via_builder(). |
|
|
Definition at line 82 of file config.h. Referenced by build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_req(), and clen_builder(). |
|
|
Definition at line 83 of file config.h. Referenced by build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_req(), and clen_builder(). |
|
|
|
|
|
|
|
|
|
|
Definition at line 215 of file config.h. Referenced by load_uri_attrs(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 65 of file config.h. Referenced by receive_msg(), run_onsend(), and yyparse(). |
|
|
|
|
|
Definition at line 61 of file config.h. Referenced by init_routes(). |
|
|
Definition at line 123 of file config.h. Referenced by id_builder(). |
|
|
Definition at line 124 of file config.h. Referenced by id_builder(). |
|
|
Value: (MCOOKIE_LEN+8 /*int2hex*/ + 1 /*sep*/ + \ MD5_LEN /* max(int2hex, MD5_LEN) */ \ + 1 /*sep*/ + 8 /*int2hex*/ + \ 1 /*extra space, needed by t_calc_branch*/) Definition at line 187 of file config.h. Referenced by branch_builder(). |
|
|
Definition at line 169 of file config.h. Referenced by append_branch(), mod_init(), and t_reply_matching(). |
|
|
|
|
|
|
|
|
Definition at line 55 of file config.h. Referenced by print_ct_constants(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 165 of file config.h. Referenced by received_builder(). |
|
|
|
|
|
|
|
|
Definition at line 71 of file config.h. Referenced by append_branch(), do_action(), encode_from(), enum_query(), exec_str(), match_hash_table(), match_res(), and print_ct_constants(). |
|
|
|
|
|
|
|
|
Definition at line 184 of file config.h. Referenced by branch_builder(), t_lookup_request(), t_lookupOriginalT(), and t_reply_matching(). |
|
|
Definition at line 185 of file config.h. Referenced by branch_builder(), t_lookup_request(), t_lookupOriginalT(), and t_reply_matching(). |
|
|
|
|
|
|
|
|
Definition at line 95 of file config.h. Referenced by via_builder(). |
|
|
Definition at line 96 of file config.h. Referenced by via_builder(). |
|
|
Definition at line 73 of file config.h. Referenced by via_builder(). |
|
|
Definition at line 74 of file config.h. Referenced by via_builder(). |
|
|
Definition at line 62 of file config.h. Referenced by init_routes(). |
|
|
Definition at line 64 of file config.h. Referenced by init_routes(). |
|
|
Definition at line 195 of file config.h. Referenced by pathmax(). |
|
|
Definition at line 141 of file config.h. Referenced by init_pkg_mallocs(), and main(). |
|
|
Definition at line 102 of file config.h. Referenced by add_received(), fix_nated_register_f(), and received_builder(). |
|
|
Definition at line 103 of file config.h. Referenced by add_received(), fix_nated_register_f(), and received_builder(). |
|
|
|
|
|
Definition at line 76 of file config.h. Referenced by print_routeset(), and print_rs(). |
|
|
Definition at line 77 of file config.h. Referenced by calc_routeset_len(), print_routeset(), and print_rs(). |
|
|
Definition at line 79 of file config.h. Referenced by print_routeset(), and print_rs(). |
|
|
Definition at line 80 of file config.h. Referenced by print_routeset(), and print_rs(). |
|
|
Definition at line 120 of file config.h. Referenced by rport_builder(). |
|
|
Definition at line 121 of file config.h. Referenced by rport_builder(). |
|
|
Definition at line 60 of file config.h. Referenced by init_routes(). |
|
|
|
|
|
|
|
|
Value: "Server: Sip EXpress router "\ "(" VERSION " (" ARCH "/" OS_QUOTED "))" Definition at line 89 of file config.h. Referenced by build_res_buf_from_sip_req(), and core_version(). |
|
|
Definition at line 91 of file config.h. Referenced by build_res_buf_from_sip_req(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 44 of file config.h. Referenced by assemble_msg(), eval_elem(), forward_reply(), get_direction(), is_myself(), log_request(), ospGetNextHop(), ospGetRouteParameters(), and radius_authorize_sterman(). |
|
|
Definition at line 45 of file config.h. Referenced by get_uri_hash_keys(), and srv_sip_resolvehost(). |
|
|
Definition at line 138 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 135 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 136 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 129 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 130 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 132 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 133 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 126 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
Definition at line 127 of file config.h. Referenced by srv_sip_resolvehost(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 117 of file config.h. Referenced by build_res_buf_from_sip_req(). |
|
|
Definition at line 118 of file config.h. Referenced by build_res_buf_from_sip_req(). |
|
|
Definition at line 105 of file config.h. Referenced by add_contact(), create_rcv_uri(), and decode_uri(). |
|
|
Definition at line 106 of file config.h. Referenced by add_contact(), contact_length(), create_rcv_uri(), and decode_uri(). |
|
|
Value: "User-Agent: Sip EXpress router"\ "(" VERSION " (" ARCH "/" OS_QUOTED "))" Definition at line 85 of file config.h. Referenced by build_dlg_ack(), build_local(), and build_uac_req(). |
|
|
Definition at line 87 of file config.h. Referenced by build_dlg_ack(), build_local(), and build_uac_req(). |
|
|
|
|
|
|
1.3.9.1