-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproto_params.py
294 lines (261 loc) · 23.1 KB
/
proto_params.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
# This module provides the configuration objects for the protocol based
# parameters.
from typing import no_type_check_decorator
from params import ConfigParameter
from proto_param_desc import get_description
# Object definitions for all the configuration objects
proto_param_remote_party_id = ConfigParameter("remotepartyid", "", "no", get_description("remotepartyid"))
proto_param_remote_party_caller = ConfigParameter("remoteparty_caller", "", "", get_description("remoteparty_caller"))
proto_param_remote_party_called = ConfigParameter("remoteparty_called", "", "", get_description("remoteparty_called"))
proto_param_p_asserted_identity = ConfigParameter("passertedidentity", "", "no", get_description("passertedidentity"))
proto_param_caller_num_number_only = ConfigParameter("callernum_numberonly", "", "yes", get_description("callernum_numberonly"))
proto_param_p_preferred_identity = ConfigParameter("ppreferredidentity", "", "no", get_description("ppreferredidentity"))
proto_param_remote_party_priority = ConfigParameter("remotepartypriority", "", "no", get_description("remotepartypriority"))
proto_param_destination_number_mode = ConfigParameter("destination_number_mode", 0, 1, get_description("destination_number_mode"))
proto_param_absolute_timeout = ConfigParameter("absolute_timeout", 0, 14400, get_description("absolute_timeout"))
proto_param_destroy_call_at_bye = ConfigParameter("destroy_call_at_bye", 0, 1200, get_description("destroy_call_at_bye"))
proto_param_bye_timeout = ConfigParameter("bye_timeout", 0, 1200, get_description("bye_timeout"))
proto_param_bye_confirmed_timeout = ConfigParameter("bye_confirmed_timeout", 0, 600, get_description("bye_confirmed_timeout"))
proto_param_ignore_rtp_after_bye_confirmed = ConfigParameter("ignore_rtp_after_bye_confirmed", "", "no", get_description("ignore_rtp_after_bye_confirmed"))
proto_param_ignore_rtp_after_cancel_confirmed = ConfigParameter("ignore_rtp_after_cancel_confirmed", "", "no", get_description("ignore_rtp_after_cancel_confirmed"))
proto_param_get_reason_from_bye_cancel = ConfigParameter("get_reason_from_bye_cancel", "", "yes", get_description("get_reason_from_bye_cancel"))
proto_param_detect_alone_bye = ConfigParameter("detect_alone_bye", "", "no", get_description("detect_alone_bye"))
proto_param_one_way_timeout = ConfigParameter("onewaytimeout", 0, 15, get_description("onewaytimeout"))
proto_param_sip_without_rtp_timeout = ConfigParameter("sipwithoutrtptimeout", 0, 3600, get_description("sipwithoutrtptimeout"))
proto_param_rtp_timeout = ConfigParameter("rtptimeout", 0, 300, get_description("rtptimeout"))
proto_param_ring_buffer = ConfigParameter("ringbuffer", 0, 50, get_description("ringbuffer"))
proto_param_packet_buffer_enable = ConfigParameter("packetbuffer_enable", "", "yes", get_description("packetbuffer_enable"))
proto_param_packet_buffer_compress = ConfigParameter("packetbuffer_compress", "", "no", get_description("packetbuffer_compress"))
proto_param_packet_buffer_compress_ratio = ConfigParameter("packetbuffer_compress_ratio", 0, 100, get_description("packetbuffer_compress_ratio"))
proto_param_max_buffer_mem = ConfigParameter("max_buffer_mem", 0, 2000, get_description("max_buffer_mem"))
proto_param_memory_purge_interval = ConfigParameter("memory_purge_interval", 0, 30, get_description("memory_purge_interval"))
proto_param_memory_purge_if_release_gt = ConfigParameter("memory_purge_if_release_gt", 0, 500, get_description("memory_purge_if_release_gt"))
proto_param_rtp_threads = ConfigParameter("rtpthreads", None, None, get_description("rtpthreads"))
proto_param_rtp_threads_start = ConfigParameter("rtpthreads_start", None, 1, get_description("rtpthreads_start"))
proto_param_jitter_buffer_f1 = ConfigParameter("jitterbuffer_f1", None, "no", get_description("jitterbuffer_f1"))
proto_param_jitter_buffer_f2 = ConfigParameter("jitterbuffer_f2", None, "yes", get_description("jitterbuffer_f2"))
proto_param_jitter_buffer_adapt = ConfigParameter("jitterbuffer_adapt", None, "no", get_description("jitterbuffer_adapt"))
proto_param_ignore_rtcp_jitter = ConfigParameter("ignorertcpjitter", None, 0, get_description("ignorertcpjitter"))
proto_param_plc_disable = ConfigParameter("plcdisable", None, "no", get_description("plcdisable"))
proto_param_calls_limit = ConfigParameter("callslimit", None, 0, get_description("callslimit"))
proto_param_cdr_proxy = ConfigParameter("cdrproxy", None, "yes", get_description("cdrproxy"))
proto_param_cdr_ua_enable = ConfigParameter("cdr_ua_enable", None, "yes", get_description("cdr_ua_enable"))
proto_param_cdr_ua_reg_remove = ConfigParameter("cdr_ua_reg_remove", None, None, get_description("cdr_ua_reg_remove"))
proto_param_cdr_ua_reg_whitelist = ConfigParameter("cdr_ua_reg_whitelist", None, None, get_description("cdr_ua_reg_whitelist"))
proto_param_allow_zero_ssrc = ConfigParameter("allow-zerossrc", None, "no", get_description("allow-zerossrc"))
proto_param_deduplicate = ConfigParameter("deduplicate", None, "no", get_description("deduplicate"))
proto_param_deduplicate_ipheader_ignore_ttl = ConfigParameter("deduplicate_ipheader_ignore_ttl", None, "yes", get_description("deduplicate_ipheader_ignore_ttl"))
proto_param_auto_enable_use_blocks = ConfigParameter("auto_enable_use_blocks", None, "yes", get_description("auto_enable_use_blocks"))
proto_param_deduplicate_ipheader = ConfigParameter("deduplicate_ipheader", None, "yes", get_description("deduplicate_ipheader"))
# start of SIP parameters
proto_param_sip_overlap = ConfigParameter("sipoverlap", None, "yes", get_description("sipoverlap"))
proto_param_last_dest_number = ConfigParameter("last_dest_number", None, "no", get_description("last_dest_number"))
proto_param_virtual_udp_packet = ConfigParameter("virtualudppacket", None, "no", get_description("virtualudppacket"))
proto_param_sip_register = ConfigParameter("sip-register", None, "no", get_description("sip-register"))
proto_param_sip_options = ConfigParameter("sip-options", None, "no", get_description("sip-options"))
proto_param_save_sip_options = ConfigParameter("save-sip-options", None, "no", get_description("save-sip-options"))
proto_param_sip_subscribe = ConfigParameter("sip-subscribe", None, "no", get_description("sip-subscribe"))
proto_param_save_sip_subscribe = ConfigParameter("save-sip-subscribe", None, "no", get_description("save-sip-subscribe"))
proto_param_sip_notify = ConfigParameter("sip-notify", None, "no", get_description("sip-notify"))
proto_param_save_sip_notify = ConfigParameter("save-sip-notify", None, "no", get_description("save-sip-notify"))
proto_param_sip_msg_compare_vlan = ConfigParameter("sip-msg-compare-vlan", None, "no", get_description("sip-msg-compare-vlan"))
proto_param_sip_msg_compare_ip_src = ConfigParameter("sip-msg-compare-ip-src", None, "yes", get_description("sip-msg-compare-ip-src"))
proto_param_sip_msg_compare_ip_dst = ConfigParameter("sip-msg-compare-ip-dst", None, "yes", get_description("sip-msg-compare-ip-dst"))
proto_param_sip_msg_compare_port_src = ConfigParameter("sip-msg-compare-port-src", None, "yes", get_description("sip-msg-compare-port-src"))
proto_param_sip_msg_compare_port_dst = ConfigParameter("sip-msg-compare-port-dst", None, "yes", get_description("sip-msg-compare-port-dst"))
proto_param_sip_msg_compare_number_src = ConfigParameter("sip-msg-compare-number-src", None, "yes", get_description("sip-msg-compare-number-src"))
proto_param_sip_msg_compare_number_dst = ConfigParameter("sip-msg-compare-number-dst", None, "yes", get_description("sip-msg-compare-number-dst"))
proto_param_sip_msg_compare_domain_src = ConfigParameter("sip-msg-compare-domain-src", None, "yes", get_description("sip-msg-compare-domain-src"))
proto_param_sip_msg_compare_domain_dst = ConfigParameter("sip-msg-compare-domain-dst", None, "yes", get_description("sip-msg-compare-domain-dst"))
proto_param_sip_register_timeout = ConfigParameter("sip-register-timeout", None, 5, get_description("sip-register-timeout"))
proto_param_sip_register_timeout_disable_save_failed = ConfigParameter("sip-register-timeout-disable_save_failed", None, "no", get_description("sip-register-timeout-disable_save_failed"))
proto_param_sip_register_active_no_log_bin = ConfigParameter("sip-register-active-nologbin", None, "yes", get_description("sip-register-active-nologbin"))
proto_param_sip_register_ignore_res_401 = ConfigParameter("sip-register-ignore-res401", None, "no", get_description("sip-register-ignore-res401"))
proto_param_sip_register_ignore_res_401_nonce_has_changed = ConfigParameter("sip-register-ignore-res401-nonce-has-changed", None, "no", get_description("sip-register-ignore-res401-nonce-has-changed"))
proto_param_sip_register_compare_sip_caller_ip = ConfigParameter("sip-register-compare-sipcallerip", None, "no", get_description("sip-register-compare-sipcallerip"))
proto_param_sip_register_compare_sip_caller_port = ConfigParameter("sip-register-compare-sipcallerport", None, "no", get_description("sip-register-compare-sipcallerport"))
proto_param_sip_register_compare_sip_called_ip = ConfigParameter("sip-register-compare-sipcalledip", None, "no", get_description("sip-register-compare-sipcalledip"))
proto_param_sip_register_compare_sip_called_port = ConfigParameter("sip-register-compare-sipcalledport", None, "no", get_description("sip-register-compare-sipcalledport"))
proto_param_sip_register_compare_to_domain = ConfigParameter("sip-register-compare-to_domain", None, "no", get_description("sip-register-compare-to_domain"))
proto_param_sip_register_state_compare_from_domain = ConfigParameter("sip-register-state-compare-from_domain", None, "no", get_description("sip-register-state-compare-from_domain"))
proto_param_sip_register_state_compare_digest_realm = ConfigParameter("sip-register-state-compare-digest_realm", None, "no", get_description("sip-register-state-compare-digest_realm"))
proto_param_sip_register_state_compare_contact_num = ConfigParameter("sip-register-state-compare-contact_num", None, "yes", get_description("sip-register-state-compare-contact_num"))
proto_param_sip_register_state_compare_contact_domain = ConfigParameter("sip-register-state-compare-contact_domain", None, "yes", get_description("sip-register-state-compare-contact_domain"))
proto_param_sip_register_max_registers = ConfigParameter("sip-register-max-registers", None, 4, get_description("sip-register-max-registers"))
proto_param_sip_register_max_messages = ConfigParameter("sip-register-max-messages", None, 20, get_description("sip-register-max-messages"))
proto_param_cdr_ignore_response = ConfigParameter("cdr_ignore_response", None, None, get_description("cdr_ignore_response"))
proto_param_cdr_sip_response_number_max_length = ConfigParameter("cdr_sip_response_number_max_length", None, None, get_description("cdr_sip_response_number_max_length"))
proto_param_cdr_sip_response_reg_remove = ConfigParameter("cdr_sip_response_reg_remove", None, None, get_description("cdr_sip_response_reg_remove"))
# End of SIP parameters
proto_param_no_cdr = ConfigParameter("nocdr", None, "no", get_description("nocdr"))
proto_param_skip_default = ConfigParameter("skipdefault", None, "no", get_description("skipdefault"))
proto_param_enable_content_type_application_csta_xml = ConfigParameter("enable_content_type_application_csta_xml", None, "no", get_description("enable_content_type_application_csta_xml"))
proto_param_cdr_only_answered = ConfigParameter("cdronlyanswered", None, "no", get_description("cdronlyanswered"))
proto_param_cdr_check_exists_call_id = ConfigParameter("cdr_check_exists_callid", None, None, get_description("cdr_check_exists_callid"))
proto_param_cdr_check_unique_call_id_in_sensors = ConfigParameter("cdr_check_unique_callid_in_sensors", None, None, get_description("cdr_check_unique_callid_in_sensors"))
proto_param_cdr_only_rtp = ConfigParameter("cdronlyrtp", None, "no", get_description("cdronlyrtp"))
proto_param_vlan_sip_rtp_same = ConfigParameter("vlan_siprtpsame", None, "no", get_description("vlan_siprtpsame"))
# Start of Skinny Parameters
proto_param_skinny = ConfigParameter("skinny", None, "no", get_description("skinny"))
proto_param_skinny_port = ConfigParameter("skinny_port", None, 2000, get_description("skinny_port"))
proto_param_skinny_ignore_rtp_ip = ConfigParameter("skinny_ignore_rtpip", None, None, get_description("skinny_ignore_rtpip"))
# Start of MGCP Parameters
proto_pram_mgcp = ConfigParameter("mgcp", None, None, get_description("mgcp"))
proto_param_tcp_port_mgcp_gateway = ConfigParameter("tcp_port_mgcp_gateway", None, 2427, get_description("tcp_port_mgcp_gateway"))
proto_param_udp_port_mgcp_gateway = ConfigParameter("udp_port_mgcp_gateway", None, 2427, get_description("udp_port_mgcp_gateway"))
proto_param_tcp_port_mgcp_call_agent = ConfigParameter("tcp_port_mgcp_callagent", None, 2727, get_description("tcp_port_mgcp_callagent"))
proto_param_udp_port_mgcp_call_agent = ConfigParameter("udp_port_mgcp_callagent", None, 2727, get_description("udp_port_mgcp_callagent"))
proto_param_ss7 = ConfigParameter("ss7", None, "no", get_description("ss7"))
proto_param_ss7_rudp_port = ConfigParameter("ss7_rdup_port", None, 7000, get_description("ss7_rudp_port"))
proto_param_mos_g729 = ConfigParameter("mos_g729", None, "no", get_description("mos_g729"))
proto_param_mos_lqo = ConfigParameter("mos_lqo", None, "no", get_description("mos_lqo"))
proto_param_mos_lqo_bin = ConfigParameter("mos_lqo_bin", None, None, get_description("mos_lqo_bin"))
proto_param_mos_lqo_ref = ConfigParameter("mos_lqo_ref", None, None, get_description("mos_lqo_ref"))
proto_param_mos_lqo_ref_16 = ConfigParameter("mos_lqo_ref16", None, None, get_description("mos_lqo_ref16"))
proto_param_dscp = ConfigParameter("dscp", None, "no", get_description("dscp"))
proto_param_update_dst_num_on_answer = ConfigParameter("update_dstnum_onanswer", None, "no", get_description("update_dstnum_onanswer"))
proto_param_custom_headers_last_value = ConfigParameter("custom_headers_last_value", None, "custom_headers_last_value", get_description("custom_headers_last_value"))
proto_param_match_header = ConfigParameter("matchheader", None, None, get_description("matchheader"))
proto_param_call_id_merge_header = ConfigParameter("callidmerge_header", None, None, get_description("callidmerge_header"))
proto_param_call_id_merge_secret = ConfigParameter("callidmerge_secret", None, None, get_description("callidmerge_secret"))
proto_param_call_id_alternative = ConfigParameter("call_id_alternative", None, None, get_description("call_id_alternative"))
proto_param_domain_port = ConfigParameter("domainport", None, "no", get_description("domainport"))
proto_param_srtp_rtp = ConfigParameter("srtp_rtp", None, "no", get_description("srtp_rtp"))
proto_param_srtp_rtcp = ConfigParameter("srtp_rtcp", None, "yes", get_description("srtp_rtcp"))
# SIP SSL/TLS Support parameters
proto_param_ssl = ConfigParameter("ssl", None, "no", get_description("ssl"))
proto_param_ssl_ip_port = ConfigParameter("ssl_ipport", None, None, get_description("ssl_ipport"))
proto_param_ssl_store_sessions_expiration_hours = ConfigParameter("ssl_store_sessions_expiration_hours", None, 12, get_description("ssl_store_sessions_expiration_hours"))
proto_param_ssl_session_key_udp = ConfigParameter("ssl_sessionkey_udp", None, "no", get_description("ssl_sessionkey_udp"))
proto_param_ssl_session_key_udp_port = ConfigParameter("ssl_sessionkey_udp_port", None, None, get_description("ssl_sessionkey_udp_port"))
proto_param_ssl_session_key_udp_ip = ConfigParameter("ssl_sessionkey_udp_ip", None, None, get_description("ssl_sessionkey_udp_ip"))
proto_param_ssl_store_sessions = ConfigParameter("ssl_store_sessions", None, "no", get_description("ssl_store_sessions"))
proto_param_ssl_ignore_error_bad_finished_digest = ConfigParameter("ssl_ignore_error_bad_finished_digest", None, "yes", get_description("ssl_ignore_error_bad_finished_digest"))
# A convenient data structure to bundle all the cofiguration parameter objects
proto_params = {
"remotepartyid": proto_param_remote_party_id,
"remoteparty_caller": proto_param_remote_party_caller,
"remoteparty_called": proto_param_remote_party_called,
"passertedidentity": proto_param_p_asserted_identity,
"callernum_numberonly": proto_param_caller_num_number_only,
"ppreferredidentity": proto_param_p_preferred_identity,
"remotepartypriority": proto_param_remote_party_priority,
"destination_number_mode": proto_param_destination_number_mode,
"absolute_timeout": proto_param_absolute_timeout,
"destroy_call_at_bye": proto_param_destroy_call_at_bye,
"bye_timeout": proto_param_bye_timeout,
"bye_confirmed_timeout": proto_param_bye_confirmed_timeout,
"ignore_rtp_after_bye_confirmed": proto_param_ignore_rtp_after_bye_confirmed,
"ignore_rtp_after_cancel_confirmed": proto_param_ignore_rtp_after_cancel_confirmed,
"get_reason_from_bye_cancel": proto_param_get_reason_from_bye_cancel,
"detect_alone_bye": proto_param_detect_alone_bye,
"onewaytimeout": proto_param_one_way_timeout,
"sipwithoutrtptimeout": proto_param_sip_without_rtp_timeout,
"rtptimeout": proto_param_rtp_timeout,
"ringbuffer": proto_param_ring_buffer,
"packetbuffer_enable": proto_param_packet_buffer_enable,
"packetbuffer_compress": proto_param_packet_buffer_compress,
"packetbuffer_compress_ratio": proto_param_packet_buffer_compress_ratio,
"maxbuffer_mem": proto_param_max_buffer_mem,
"memory_purge_interval": proto_param_memory_purge_interval,
"memory_purge_if_release_gt": proto_param_memory_purge_if_release_gt,
"rtpthreads": proto_param_rtp_threads,
"rtpthreads_start": proto_param_rtp_threads_start,
"jitterbuffer_f1": proto_param_jitter_buffer_f1,
"jitterbuffer_f2": proto_param_jitter_buffer_f2,
"jitterbuffer_adapt": proto_param_jitter_buffer_adapt,
"ignorertcpjitter": proto_param_ignore_rtcp_jitter,
"plcdisable": proto_param_plc_disable,
"callslimit": proto_param_calls_limit,
"cdrproxy": proto_param_cdr_proxy,
"cdr_ua_enable": proto_param_cdr_ua_enable,
"cdr_ua_reg_remote": proto_param_cdr_ua_reg_remove,
"cdr_ua_reg_whitelist": proto_param_cdr_ua_reg_whitelist,
"allow-zerossrc": proto_param_allow_zero_ssrc,
"deduplicate": proto_param_deduplicate,
"deduplicate_ipheader_ignore_ttl": proto_param_deduplicate_ipheader_ignore_ttl,
"auto_enable_use_blocks": proto_param_auto_enable_use_blocks,
"deduplicate_ipheader": proto_param_deduplicate_ipheader,
# Start of SIP parameters
"sipoverlap": proto_param_sip_overlap,
"last_dest_number": proto_param_last_dest_number,
"virtualudppacket": proto_param_virtual_udp_packet,
"sip-register": proto_param_sip_register,
"sip-options": proto_param_sip_options,
"save-sip-options": proto_param_save_sip_options,
"sip-subscribe": proto_param_sip_subscribe,
"save-sip-subscribe": proto_param_save_sip_subscribe,
"sip-notify": proto_param_sip_notify,
"save-sip-notify": proto_param_save_sip_notify,
"sip-msg-compare-vlan": proto_param_sip_msg_compare_vlan,
"sip-msg-compare-ip-src": proto_param_sip_msg_compare_ip_src,
"sip-msg-compare-ip-dst": proto_param_sip_msg_compare_ip_dst,
"sip-msg-compare-port-src": proto_param_sip_msg_compare_port_src,
"sip-msg-compare-port-dst": proto_param_sip_msg_compare_port_dst,
"sip-msg-compare-number-src": proto_param_sip_msg_compare_number_src,
"sip-msg-compare-number-dst": proto_param_sip_msg_compare_number_dst,
"sip-msg-compare-domain-src": proto_param_sip_msg_compare_domain_src,
"sip-msg-compare-domain-dst": proto_param_sip_msg_compare_domain_dst,
"sip-register-timeout": proto_param_sip_register_timeout,
"sip-register-timeout-disable_save_failed": proto_param_sip_register_timeout_disable_save_failed,
"sip-register-active-nologbin": proto_param_sip_register_active_no_log_bin,
"sip-register-ignore-res401": proto_param_sip_register_ignore_res_401,
"sip-register-ignore-res401-nonce-has-changed": proto_param_sip_register_ignore_res_401_nonce_has_changed,
"sip-register-compare-sipcallerip": proto_param_sip_register_compare_sip_caller_ip,
"sip-register-compare-sipcallerport": proto_param_sip_register_compare_sip_caller_port,
"sip-register-compare-sipcalledip": proto_param_sip_register_compare_sip_called_ip,
"sip-register-compare-sipcalledport": proto_param_sip_register_compare_sip_called_port,
"sip-register-compare-to_domain": proto_param_sip_register_compare_to_domain,
"sip-register-state-compare-from_domain": proto_param_sip_register_state_compare_from_domain,
"sip-register-state-compare-digest_realm": proto_param_sip_register_state_compare_digest_realm,
"sip-register-state-compare-contanct_num": proto_param_sip_register_state_compare_contact_num,
"sip-register-state-compare-contact_domain": proto_param_sip_register_state_compare_contact_domain,
"sip-register-max-registers": proto_param_sip_register_max_registers,
"sip-register-max-messages": proto_param_sip_register_max_messages,
"cdr_ignore_response": proto_param_cdr_ignore_response,
"cdr_sip_response_number_max_length": proto_param_cdr_sip_response_number_max_length,
"cdr_sip_response_reg_remove": proto_param_cdr_sip_response_reg_remove,
# end of SIP parameters
"nocdr": proto_param_no_cdr,
"skipdefault": proto_param_skip_default,
"enable_content_type_application_csta_xml": proto_param_enable_content_type_application_csta_xml,
"cdronlyanswered": proto_param_cdr_only_answered,
"cdr_check_exists_callid": proto_param_cdr_check_exists_call_id,
"cdr_check_unique_callid_in_sensors": proto_param_cdr_check_unique_call_id_in_sensors,
"cdronlyrtp": proto_param_cdr_only_rtp,
"vlan_siprtpsame": proto_param_vlan_sip_rtp_same,
"skinny": proto_param_skinny,
"skinny_port": proto_param_skinny_port,
"skinny_ignore_rtpip": proto_param_skinny_ignore_rtp_ip,
"mgcp": proto_pram_mgcp,
"tcp_port_mgcp_gateway": proto_param_tcp_port_mgcp_gateway,
"udp_port_mgcp_gateway": proto_param_udp_port_mgcp_gateway,
"tcp_port_mgcp_callagent": proto_param_tcp_port_mgcp_call_agent,
"udp_port_mgcp_callagent": proto_param_udp_port_mgcp_call_agent,
"ss7": proto_param_ss7,
"ss7_rudp_port": proto_param_ss7_rudp_port,
"mos_g729": proto_param_mos_g729,
"mos_lqo": proto_param_mos_lqo,
"mos_lqo_bin": proto_param_mos_lqo_bin,
"mos_lqo_ref": proto_param_mos_lqo_ref,
"mos_lqo_ref16": proto_param_mos_lqo_ref_16,
"dscp": proto_param_dscp,
"update_dstnum_onanswer": proto_param_update_dst_num_on_answer,
"custom_headers_last_value": proto_param_custom_headers_last_value,
"matchheader": proto_param_match_header,
"callidmerge_header": proto_param_call_id_merge_header,
"callidmerge_secret": proto_param_call_id_merge_secret,
"call_id_alternative": proto_param_call_id_alternative,
"domainport": proto_param_domain_port,
"srtp_rtp": proto_param_srtp_rtp,
"srtp_rtcp": proto_param_srtp_rtcp,
# SIP SSL/TLS Support parameters
"ssl": proto_param_ssl,
"ssl_ipport": proto_param_ssl_ip_port,
"ssl_store_sessions_expiration_hours": proto_param_ssl_store_sessions_expiration_hours,
"ssl_sessionkey_udp": proto_param_ssl_session_key_udp,
"ssl_sessionkey_udp_port": proto_param_ssl_session_key_udp_port,
"ssl_sessionkey_udp_ip": proto_param_ssl_session_key_udp_ip,
"ssl_store_sessions": proto_param_ssl_store_sessions,
"ssl_ignore_error_bad_finished_digest": proto_param_ssl_ignore_error_bad_finished_digest,
}