
Go to the source code of this file.
Defines | |
| #define | BLOCK_STEP 512 |
| #define | BRANCH_RT_NO 40 |
| #define | BUF_SIZE 65535 |
| receive buffer size | |
| #define | CFG_FILE CFG_DIR "kamailio.cfg" |
| #define | CHILD_NO 8 |
| #define | CONTENT_LENGTH "Content-Length: " |
| #define | CONTENT_LENGTH_LEN (sizeof(CONTENT_LENGTH)-1) |
| #define | CRLF "\r\n" |
| #define | CRLF_LEN (sizeof(CRLF) - 1) |
| #define | DEFAULT_DB_URL "mysql://openser:openserrw@localhost/openser" |
| #define | DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1) |
| #define | DEFAULT_RODB_URL "mysql://openserro:openserro@localhost/openser" |
| #define | DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1) |
| #define | DEFAULT_RT 0 |
| #define | FAILURE_RT_NO 40 |
| #define | ID_PARAM ";i=" |
| #define | ID_PARAM_LEN (sizeof(ID_PARAM) - 1) |
| #define | MAX_BRANCH_PARAM_LEN |
| Maximum length of values appended to Via-branch parameter. | |
| #define | MAX_BRANCHES 12 |
| #define | MAX_BUCKET 15 |
| #define | MAX_FIXED_BLOCK 3072 |
| #define | MAX_LISTEN 16 |
| #define | MAX_PATH_SIZE 255 |
| #define | MAX_PORT_LEN 7 |
| #define | MAX_REC_LEV 100 |
| #define | MAX_RECEIVED_SIZE 57 |
| #define | MAX_REDIRECTION_LEN 512 |
| #define | MAX_RPORT_SIZE 13 |
| #define | MAX_URI_SIZE 1024 |
| #define | MAX_VIA_LINE_SIZE 240 |
| #define | MAX_WARNING_LEN 256 |
| #define | MCOOKIE "z9hG4bK" |
| #define | MCOOKIE_LEN (sizeof(MCOOKIE)-1) |
| #define | MIN_UDP_PACKET 32 |
| #define | MY_BRANCH ";branch=" |
| #define | MY_BRANCH_LEN (sizeof(MY_BRANCH) - 1) |
| #define | MY_VIA "Via: SIP/2.0/UDP " |
| #define | MY_VIA_LEN (sizeof(MY_VIA) - 1) |
| #define | ONREPLY_RT_NO 40 |
| #define | OPENSER_OID 1,3,6,1,4,1,27483 |
| #define | PATH_MAX_GUESS 1024 |
| #define | PKG_MEM_POOL_SIZE 4*1024*1024 |
| #define | RECEIVED ";received=" |
| #define | RECEIVED_LEN (sizeof(RECEIVED) - 1) |
| #define | ROUTE_MAX_REC_LEV 100 |
| #define | RPORT ";rport=" |
| #define | RPORT_LEN (sizeof(RPORT) - 1) |
| #define | RT_NO 80 |
| #define | SERVER_HDR "Server: Kamailio (" VERSION " (" ARCH "/" OS"))" |
| #define | SERVER_HDR_LEN (sizeof(SERVER_HDR)-1) |
| #define | SHM_MEM_SIZE 32 |
| #define | SIP_PORT 5060 |
| #define | SIPS_PORT 5061 |
| #define | SRV_MAX_PREFIX_LEN SRV_TLS_PREFIX_LEN |
| #define | SRV_SCTP_PREFIX "_sip._sctp." |
| #define | SRV_SCTP_PREFIX_LEN (sizeof(SRV_SCTP_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_UDP_PREFIX "_sip._udp." |
| #define | SRV_UDP_PREFIX_LEN (sizeof(SRV_UDP_PREFIX) - 1) |
| #define | TABLENAME_COLUMN "table_name" |
| #define | TIMER_TICK 1 |
| #define | TLS_CA_FILE 0 |
| #define | TLS_CERT_FILE CFG_DIR "tls/cert.pem" |
| #define | TLS_PKEY_FILE CFG_DIR "tls/cert.pem" |
| #define | TOTAG_TOKEN ";tag=" |
| #define | TOTAG_TOKEN_LEN (sizeof(TOTAG_TOKEN)-1) |
| #define | TRANSPORT_PARAM ";transport=" |
| #define | TRANSPORT_PARAM_LEN (sizeof(TRANSPORT_PARAM) - 1) |
| #define | USER_AGENT "User-Agent: Kamailio (" VERSION " (" ARCH "/" OS"))" |
| #define | USER_AGENT_LEN (sizeof(USER_AGENT)-1) |
| #define | UTIMER_TICK 100*1000 |
| #define | VERSION_COLUMN "table_version" |
| #define | VERSION_TABLE "version" |
Definition in file config.h.
| #define BRANCH_RT_NO 40 |
T-branch routing tables number
Definition at line 58 of file config.h.
Referenced by check_rls(), fix_rls(), and print_rl().
| #define BUF_SIZE 65535 |
receive buffer size
Definition at line 140 of file config.h.
Referenced by print_ct_constants(), t_retransmit_reply(), and udp_rcv_loop().
| #define CFG_FILE CFG_DIR "kamailio.cfg" |
| #define CHILD_NO 8 |
| #define CONTENT_LENGTH "Content-Length: " |
Definition at line 71 of file config.h.
Referenced by build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_cancel(), build_uac_req(), clen_builder(), and set_body_f().
| #define CONTENT_LENGTH_LEN (sizeof(CONTENT_LENGTH)-1) |
Definition at line 72 of file config.h.
Referenced by build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_cancel(), build_uac_req(), clen_builder(), and set_body_f().
| #define CRLF "\r\n" |
Definition at line 86 of file config.h.
Referenced by ac_cancel(), ac_uac_req(), add_diversion(), add_maxfwd_header(), add_path(), add_retry_after(), add_sock_hdr(), add_unsupported(), alter_mediaip(), alter_mediaport(), append_rpid_hf(), append_rpid_hf_p(), bla_handle_notify(), build_auth_hf(), build_authorization_hdr(), build_contact(), build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_sipping(), build_str_hdr(), build_uac_cancel(), build_uac_req(), clen_builder(), dlg_refer_callee(), extract_allowed_headers(), fix_nated_sdp_f(), force_rtp_proxy(), get_body(), insert_path_as_route(), m_build_headers(), print_callid(), print_callid_mini(), print_dset(), print_from(), print_request_uri(), print_routeset(), print_rs(), print_to(), publ_build_hdr(), purple_send_sip_msg(), reply_200(), reply_489(), rls_notify_extra_hdr(), run_redirect(), send_2XX_reply(), send_error_reply(), send_reply(), send_sip_msg_request(), send_sip_options_request(), send_sms_as_sip(), sendBody(), sendDirectoryDocument(), set_body_f(), set_rpl_body_f(), subs_build_hdr(), via_builder(), xj_send_sip_msg(), and xmpp_send_sip_msg().
| #define CRLF_LEN (sizeof(CRLF) - 1) |
Definition at line 87 of file config.h.
Referenced by ac_cancel(), ac_uac_req(), add_diversion(), add_maxfwd_header(), add_path(), add_retry_after(), add_sock_hdr(), add_unsupported(), alter_mediaip(), alter_mediaport(), append_rpid_hf(), append_rpid_hf_p(), bla_handle_notify(), build_auth_hf(), build_authorization_hdr(), build_contact(), build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_str_hdr(), build_uac_cancel(), build_uac_req(), calc_buf_len(), calc_routeset_len(), calculate_routeset_length(), clen_builder(), dlg_refer_callee(), extract_allowed_headers(), fix_nated_sdp_f(), force_rtp_proxy(), get_body(), insert_path_as_route(), m_build_headers(), prepend_path(), print_callid(), print_callid_mini(), print_dset(), print_from(), print_request_uri(), print_routeset(), print_rs(), print_to(), publ_build_hdr(), reply_200(), reply_489(), rls_notify_extra_hdr(), run_redirect(), send_2XX_reply(), send_error_reply(), send_reply(), send_sip_msg_request(), send_sip_options_request(), send_sms_as_sip(), set_body_f(), set_rpl_body_f(), subs_build_hdr(), via_builder(), and xj_send_sip_msg().
| #define DEFAULT_DB_URL "mysql://openser:openserrw@localhost/openser" |
| #define DEFAULT_RODB_URL "mysql://openserro:openserro@localhost/openser" |
| #define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1) |
| #define DEFAULT_RT 0 |
| #define FAILURE_RT_NO 40 |
on_failure routing tables number
Definition at line 56 of file config.h.
Referenced by check_rls(), fix_rls(), and print_rl().
| #define ID_PARAM ";i=" |
| #define ID_PARAM_LEN (sizeof(ID_PARAM) - 1) |
| #define MAX_BRANCH_PARAM_LEN |
Value:
(MCOOKIE_LEN+8 /*!<int2hex*/ + 1 /*sep*/ + \ MD5_LEN + 1 /*!<sep*/ + 8 /*int2hex*/ + \ 1 /*extra space, needed by t_calc_branch*/)
Definition at line 155 of file config.h.
Referenced by assemble_via(), branch_builder(), build_dlg_ack(), build_local(), build_uac_cancel(), and get_sl_branch().
| #define MAX_BRANCHES 12 |
maximum number of branches per transaction
Definition at line 147 of file config.h.
Referenced by add_blind_uac(), add_uac(), append_branch(), init_branches(), mod_init(), and t_reply_matching().
| #define MAX_LISTEN 16 |
maximum number of addresses on which we will listen
Definition at line 49 of file config.h.
Referenced by print_ct_constants().
| #define MAX_PATH_SIZE 255 |
maximum length of Path header
Definition at line 66 of file config.h.
Referenced by append_branch(), and build_path_vector().
| #define MAX_PORT_LEN 7 |
| #define MAX_REC_LEV 100 |
maximum number of recursive calls
Definition at line 61 of file config.h.
Referenced by eval_expr().
| #define MAX_RECEIVED_SIZE 57 |
| #define MAX_REDIRECTION_LEN 512 |
maximum length of Contact header field in redirection replies
Definition at line 149 of file config.h.
Referenced by print_dset().
| #define MAX_URI_SIZE 1024 |
used when rewriting URIs
Definition at line 64 of file config.h.
Referenced by add_uri_param(), append_branch(), branch_uri2dset(), check_our_gws(), create_rcv_uri(), decode_from(), do_action(), do_query(), dp_apply_policy(), dp_can_connect_str(), encode_from(), enum_pv_query_3(), exec_avp(), exec_str(), get_user_group(), is_from_user_enum_2(), match_hash_table(), match_res(), mi_allow_uri(), preload_udomain(), print_ct_constants(), pv_set_uac_req(), and replace_from().
| #define MAX_WARNING_LEN 256 |
| #define MCOOKIE "z9hG4bK" |
magic cookie for transaction matching as defined in RFC3261
Definition at line 151 of file config.h.
Referenced by branch_builder(), get_sl_branch(), t_lookup_request(), t_lookupOriginalT(), and t_reply_matching().
| #define MCOOKIE_LEN (sizeof(MCOOKIE)-1) |
Definition at line 152 of file config.h.
Referenced by branch_builder(), get_sl_branch(), matching_3261(), t_lookup_request(), t_lookupOriginalT(), and t_reply_matching().
| #define MIN_UDP_PACKET 32 |
minimum packet size; smaller packets will be dropped silently
Definition at line 171 of file config.h.
Referenced by udp_rcv_loop().
| #define MY_BRANCH ";branch=" |
| #define MY_BRANCH_LEN (sizeof(MY_BRANCH) - 1) |
| #define MY_VIA "Via: SIP/2.0/UDP " |
| #define MY_VIA_LEN (sizeof(MY_VIA) - 1) |
| #define ONREPLY_RT_NO 40 |
on_reply routing tables number
Definition at line 57 of file config.h.
Referenced by check_rls(), fix_rls(), print_rl(), and pv_set_uac_req().
| #define OPENSER_OID 1,3,6,1,4,1,27483 |
Definition at line 173 of file config.h.
Referenced by init_openserObjects(), init_openserSIPCommonObjects(), init_openserSIPServerObjects(), send_openserDialogLimitMajorEvent_trap(), send_openserDialogLimitMinorEvent_trap(), send_openserMsgQueueDepthMajorEvent_trap(), and send_openserMsgQueueDepthMinorEvent_trap().
| #define PATH_MAX_GUESS 1024 |
| #define PKG_MEM_POOL_SIZE 4*1024*1024 |
Used only if PKG_MALLOC is defined
Definition at line 119 of file config.h.
Referenced by init_pkg_mallocs(), main(), and print_ct_constants().
| #define RECEIVED ";received=" |
| #define RECEIVED_LEN (sizeof(RECEIVED) - 1) |
| #define ROUTE_MAX_REC_LEV 100 |
maximum number of recursive calls for route()
Definition at line 62 of file config.h.
Referenced by run_actions().
| #define RPORT ";rport=" |
Definition at line 98 of file config.h.
Referenced by build_req_buf_from_sip_req(), and rport_builder().
| #define RPORT_LEN (sizeof(RPORT) - 1) |
Definition at line 99 of file config.h.
Referenced by build_req_buf_from_sip_req(), and rport_builder().
| #define RT_NO 80 |
routing tables number
Definition at line 54 of file config.h.
Referenced by check_actions(), dlg_ontimeout(), do_action(), fix_rls(), and print_rl().
| #define SERVER_HDR "Server: Kamailio (" VERSION " (" ARCH "/" OS"))" |
| #define SERVER_HDR_LEN (sizeof(SERVER_HDR)-1) |
| #define SIP_PORT 5060 |
default sip port if none specified
Definition at line 39 of file config.h.
Referenced by add_uac(), assemble_msg(), check_via_address(), do_action(), eval_elem(), forward_reply(), forward_request(), forward_sl_request(), get_natping_socket(), get_next_su(), get_uri_hash_keys(), is_myself(), main(), nat_uac_test_f(), nh_timer(), ospGetNextHop(), ospGetRouteParameters(), radius_authorize_sterman(), sip_resolvehost(), test_source_address(), trace_send_duplicate(), update_sock_struct_from_via(), uri2su(), utils_forward(), verify_destination(), verify_source(), and via_builder().
| #define SIPS_PORT 5061 |
Definition at line 40 of file config.h.
Referenced by get_uri_hash_keys(), main(), and sip_resolvehost().
| #define SRV_MAX_PREFIX_LEN SRV_TLS_PREFIX_LEN |
| #define SRV_SCTP_PREFIX "_sip._sctp." |
| #define SRV_SCTP_PREFIX_LEN (sizeof(SRV_SCTP_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_UDP_PREFIX "_sip._udp." |
| #define SRV_UDP_PREFIX_LEN (sizeof(SRV_UDP_PREFIX) - 1) |
| #define TABLENAME_COLUMN "table_name" |
Column name of the table name column in the version table
Definition at line 169 of file config.h.
Referenced by db_table_version().
| #define TIMER_TICK 1 |
one second
Definition at line 124 of file config.h.
Referenced by init_timer(), run_timer_process(), and timer_ticker().
| #define TOTAG_TOKEN ";tag=" |
| #define TOTAG_TOKEN_LEN (sizeof(TOTAG_TOKEN)-1) |
| #define TRANSPORT_PARAM ";transport=" |
| #define TRANSPORT_PARAM_LEN (sizeof(TRANSPORT_PARAM) - 1) |
| #define USER_AGENT "User-Agent: Kamailio (" VERSION " (" ARCH "/" OS"))" |
| #define USER_AGENT_LEN (sizeof(USER_AGENT)-1) |
| #define UTIMER_TICK 100*1000 |
100 miliseconds dimensioning buckets in q_malloc size of the size2bucket table; everything beyond that asks for a variable-size kilo-bucket
Definition at line 125 of file config.h.
Referenced by init_timer(), run_timer_process(), and utimer_ticker().
| #define VERSION_COLUMN "table_version" |
Column name for the version value in version table
Definition at line 168 of file config.h.
Referenced by db_table_version().
| #define VERSION_TABLE "version" |
Table holding versions of other openser tables
Definition at line 167 of file config.h.
Referenced by db_table_version().
1.5.6