Browse code

test: switch from deprecated /var/run to /run

The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
distributions have done so for a long time (for example in Debian
since 6.0 “squeeze”), even though they provide a compatibility
symlink from /var/run to /run. But software like systemd have
started emitting warnings when using /var/run, for example for
its PIDFile directive, which pollutes the logs.

Guillem Jover authored on 25/10/2019 09:53:37 • Daniel-Constantin Mierla committed on 25/10/2019 10:00:46
Showing 1 changed files
... ...
@@ -181,7 +181,7 @@ modparam("nathelper", "sipping_method", "OPTIONS")
181 181
 modparam("nathelper", "received_avp", "$avp(i:801)")
182 182
 
183 183
 loadmodule "rtpproxy/rtpproxy.so"
184
-modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
184
+modparam("rtpproxy", "rtpproxy_sock", "unix:/run/rtpproxy.sock")
185 185
 modparam("rtpproxy", "rtpproxy_disable_tout", 60)
186 186
 modparam("rtpproxy", "rtpproxy_tout", 1)
187 187
 modparam("rtpproxy", "rtpproxy_retr", 5)
Browse code

test/unit: update unit test 7

- mi_fifo is gone
- sh instead of bash

Mikko Lehto authored on 09/01/2017 10:48:36
Showing 1 changed files
... ...
@@ -169,11 +169,6 @@ loadmodule "xlog/xlog.so"
169 169
 modparam("xlog", "buf_size", 4096)
170 170
 modparam("xlog", "force_color", 0)
171 171
 
172
-loadmodule "mi_fifo/mi_fifo.so"
173
-modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
174
-modparam("mi_fifo", "reply_dir", "/tmp/")
175
-modparam("mi_fifo", "reply_indent", "\t")
176
-
177 172
 loadmodule "domain/domain.so"
178 173
 modparam("domain", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
179 174
 modparam("domain", "domain_table", "domain")
Browse code

test/unit: use directory variables in test runner scripts

Mikko Lehto authored on 04/01/2017 18:53:39
Showing 1 changed files
... ...
@@ -100,7 +100,6 @@
100 100
 ########################################################################
101 101
 
102 102
 listen = udp:127.0.0.1:5060
103
-mpath = "../../modules"
104 103
 children = 8
105 104
 debug = 2
106 105
 fork = yes
Browse code

test/unit: updates to auth parameter in unit 7 cfg

Daniel-Constantin Mierla authored on 02/10/2014 10:16:15
Showing 1 changed files
... ...
@@ -544,11 +544,11 @@ route[10]
544 544
 route[11]
545 545
 {
546 546
 	sl_send_reply("100", "Trying");
547
-	if(!www_authorize("", "subscriber")) 
547
+	if(!www_authorize("$td", "subscriber")) 
548 548
 	{
549 549
 		
550 550
 		xlog("L_INFO", "Register authentication failed - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
551
-		www_challenge("", "0");
551
+		www_challenge("$td", "0");
552 552
 		exit;
553 553
 	}
554 554
 	if(!check_to()) 
... ...
@@ -692,11 +692,11 @@ route[13]
692 692
 		}
693 693
 		else
694 694
 		{
695
-			if(!proxy_authorize("", "subscriber")) 
695
+			if(!proxy_authorize("$fd", "subscriber")) 
696 696
 			{
697 697
 				
698 698
 				xlog("L_INFO", "Proxy authentication failed - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
699
-				proxy_challenge("", "0");
699
+				proxy_challenge("$fd", "0");
700 700
 				exit;
701 701
 			}
702 702
 			if(!check_from()) 
Browse code

test/unit: updates to unit 7

Daniel-Constantin Mierla authored on 02/10/2014 09:55:59
Showing 1 changed files
... ...
@@ -31,10 +31,6 @@
31 31
 #    You have to insert all locally served domains (i.e. 
32 32
 #    "kamailioctl domain add your.domain.com").
33 33
 #    
34
-# nat-mediaproxy:
35
-#    You have to install mediaproxy 
36
-#    (http://mediaproxy.ag-projects.com/) for relaying RTP traffic.
37
-#    
38 34
 # usr-preferences:
39 35
 #    This feature relies on UUID-based provisioning. Thus, you have 
40 36
 #    to add the uuid-column to the subscriber table ("alter table 
... ...
@@ -104,9 +100,9 @@
104 100
 ########################################################################
105 101
 
106 102
 listen = udp:127.0.0.1:5060
107
-mpath = "../modules"
103
+mpath = "../../modules"
108 104
 children = 8
109
-debug = 3
105
+debug = 2
110 106
 fork = yes
111 107
 disable_tcp = no
112 108
 log_facility = LOG_DAEMON
... ...
@@ -124,6 +120,8 @@ dns_try_ipv6 = yes
124 120
 dns_use_search_list = yes
125 121
 
126 122
 loadmodule "pv/pv.so"
123
+loadmodule "corex/corex.so"
124
+loadmodule "kex/kex.so"
127 125
 
128 126
 loadmodule "usrloc/usrloc.so"
129 127
 modparam("usrloc", "user_column", "username")
... ...
@@ -179,24 +177,22 @@ modparam("mi_fifo", "reply_indent", "\t")
179 177
 
180 178
 loadmodule "domain/domain.so"
181 179
 modparam("domain", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
182
-modparam("domain", "db_mode", 1)
183 180
 modparam("domain", "domain_table", "domain")
184 181
 modparam("domain", "domain_col", "domain")
185 182
 
186 183
 loadmodule "nathelper/nathelper.so"
187 184
 modparam("nathelper", "natping_interval", 0)
188 185
 modparam("nathelper", "ping_nated_only", 1)
189
-modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
190
-modparam("nathelper", "rtpproxy_disable_tout", 60)
191
-modparam("nathelper", "rtpproxy_tout", 1)
192
-modparam("nathelper", "rtpproxy_retr", 5)
193 186
 modparam("nathelper", "sipping_method", "OPTIONS")
194 187
 modparam("nathelper", "received_avp", "$avp(i:801)")
195 188
 
196
-loadmodule "textops/textops.so"
189
+loadmodule "rtpproxy/rtpproxy.so"
190
+modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
191
+modparam("rtpproxy", "rtpproxy_disable_tout", 60)
192
+modparam("rtpproxy", "rtpproxy_tout", 1)
193
+modparam("rtpproxy", "rtpproxy_retr", 5)
197 194
 
198
-loadmodule "mediaproxy/mediaproxy.so"
199
-modparam("mediaproxy", "mediaproxy_socket", "/var/run/proxydispatcher.sock")
195
+loadmodule "textops/textops.so"
200 196
 
201 197
 loadmodule "siputils/siputils.so"
202 198
 
... ...
@@ -216,7 +212,7 @@ modparam("registrar", "path_use_received", 0)
216 212
 modparam("registrar", "received_avp", "$avp(i:801)")
217 213
 
218 214
 loadmodule "sl/sl.so"
219
-modparam("sl", "enable_stats", 1)
215
+modparam("sl", "bind_tm", 1)
220 216
 
221 217
 loadmodule "db_mysql/db_mysql.so"
222 218
 modparam("db_mysql", "ping_interval", 300)
... ...
@@ -224,8 +220,6 @@ modparam("db_mysql", "auto_reconnect", 1)
224 220
 
225 221
 loadmodule "auth/auth.so"
226 222
 modparam("auth", "nonce_expire", 300)
227
-modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")
228
-modparam("auth", "rpid_avp", "$avp(s:rpid)")
229 223
 
230 224
 loadmodule "auth_db/auth_db.so"
231 225
 modparam("auth_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
... ...
@@ -274,25 +268,9 @@ modparam("permissions", "peer_tag_avp", "$avp(s:peer_uuid)")
274 268
 
275 269
 loadmodule "lcr/lcr.so"
276 270
 modparam("lcr", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
277
-modparam("lcr", "gw_table", "gw")
278
-modparam("lcr", "gw_name_column", "gw_name")
279
-modparam("lcr", "ip_addr_column", "ip_addr")
280
-modparam("lcr", "port_column", "port")
281
-modparam("lcr", "uri_scheme_column", "uri_scheme")
282
-modparam("lcr", "transport_column", "transport")
283
-modparam("lcr", "grp_id_column", "grp_id")
284
-modparam("lcr", "lcr_table", "lcr")
285
-modparam("lcr", "strip_column", "strip")
286
-modparam("lcr", "prefix_column", "prefix")
287
-modparam("lcr", "from_uri_column", "from_uri")
288
-modparam("lcr", "priority_column", "priority")
289
-modparam("lcr", "gw_uri_avp", "$avp(i:1400)")
290
-modparam("lcr", "ruri_user_avp", "$avp(i:1402)")
291
-modparam("lcr", "fr_inv_timer_avp", "$avp(s:fr_inv_timer_avp)")
292
-modparam("lcr", "fr_inv_timer", 90)
293
-modparam("lcr", "fr_inv_timer_next", 30)
294
-modparam("lcr", "rpid_avp", "$avp(s:rpid)")
295
-modparam("lcr", "flags_avp", "$avp(i:712)")
271
+modparam("lcr", "gw_uri_avp", "$avp(709)")
272
+modparam("lcr", "ruri_user_avp", "$avp(500)")
273
+modparam("lcr", "tag_avp", "$avp(lcr_tag)")
296 274
 
297 275
 loadmodule "uac_redirect/uac_redirect.so"
298 276
 modparam("uac_redirect", "default_filter", "accept")
... ...
@@ -308,9 +286,10 @@ modparam("alias_db", "alias_domain_column", "alias_domain")
308 286
 modparam("alias_db", "use_domain", 0)
309 287
 
310 288
 loadmodule "uac/uac.so"
311
-modparam("uac", "rr_store_param", "vsf")
312
-modparam("uac", "from_restore_mode", "auto")
313
-modparam("uac", "from_passwd", "s1p:Wiz4rd!")
289
+modparam("uac", "rr_from_store_param", "vsf")
290
+modparam("uac", "rr_to_store_param", "vsf")
291
+modparam("uac", "restore_mode", "auto")
292
+modparam("uac", "restore_passwd", "s1p:Wiz4rd!")
314 293
 
315 294
 loadmodule "acc/acc.so"
316 295
 modparam("acc", "early_media", 0)
... ...
@@ -337,17 +316,9 @@ modparam("acc", "multi_leg_info", "src_leg=$avp(i:901);dst_leg=$avp(i:902)")
337 316
 ########################################################################
338 317
 # Request route 'main'
339 318
 ########################################################################
340
-route[0]
341
-{
319
+request_route {
342 320
 	xlog("L_INFO", "New request - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
343 321
 	force_rport();
344
-	if(msg:len > max_len)
345
-	{
346
-		
347
-		xlog("L_INFO", "Message too big - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
348
-		sl_send_reply("513", "Message Too Big");
349
-		exit;
350
-	}
351 322
 	if (!mf_process_maxfwd_header("10"))
352 323
 	{
353 324
 		
... ...
@@ -368,7 +339,7 @@ route[0]
368 339
 	}
369 340
 	if(is_method("CANCEL") || is_method("BYE"))
370 341
 	{
371
-		end_media_session();
342
+		rtpproxy_destroy();
372 343
 	}
373 344
 	if(loose_route())
374 345
 	{
... ...
@@ -562,7 +533,7 @@ route[10]
562 533
 {
563 534
 	if(isflagset(22))
564 535
 	{
565
-		end_media_session();
536
+		rtpproxy_destroy();
566 537
 	}
567 538
 	
568 539
 }
... ...
@@ -635,7 +606,7 @@ route[12]
635 606
 		if(!isflagset(22) && !search("^Content-Length:[ ]*0"))
636 607
 		{
637 608
 			setflag(22);
638
-			use_media_proxy();
609
+			rtpproxy_manage();
639 610
 		}
640 611
 		
641 612
 		t_on_reply("2");
... ...
@@ -669,12 +640,12 @@ route[12]
669 640
 	
670 641
 	xlog("L_INFO", "Request leaving server, D-URI='$du' - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
671 642
 	# no 100 (we already sent it) and no DNS blacklisting
672
-	if(!t_relay("0x05"))
643
+	if(!t_relay_to("0x05"))
673 644
 	{
674 645
 		sl_reply_error();
675 646
 		if(is_method("INVITE") && isbflagset(6))
676 647
 		{
677
-			end_media_session();
648
+			rtpproxy_destroy();
678 649
 		}
679 650
 	}
680 651
 	exit;
... ...
@@ -687,7 +658,7 @@ route[12]
687 658
 route[13]
688 659
 {
689 660
 	sl_send_reply("100", "Trying");
690
-	if(from_gw())
661
+	if(from_gw(1))
691 662
 	{
692 663
 		$avp(s:caller_uuid) = "0";
693 664
 		
... ...
@@ -835,7 +806,7 @@ route[16]
835 806
 		if(uri =~ "^sip:[0-9]+@")
836 807
 		{
837 808
 			# only route numeric users to PSTN
838
-			if(!load_gws())
809
+			if(!load_gws(1))
839 810
 			{
840 811
 				
841 812
 				xlog("L_ERR", "Error loading PSTN gateways - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
... ...
@@ -1027,7 +998,7 @@ onreply_route[2]
1027 998
 	{
1028 999
 		if(!search("^Content-Length:[ ]*0"))
1029 1000
 		{
1030
-			use_media_proxy();
1001
+			rtpproxy_manage();
1031 1002
 		}
1032 1003
 	}
1033 1004
 	exit;
... ...
@@ -1097,7 +1068,7 @@ failure_route[2]
1097 1068
 		route(14);
1098 1069
 		exit;
1099 1070
 	}
1100
-	if($avp(s:cfc) != NULL)
1071
+	if($avp(s:cfc) != $null)
1101 1072
 	{
1102 1073
 		avp_delete("$avp(s:acc_caller_user)/g");
1103 1074
 		avp_delete("$avp(s:acc_caller_domain)/g");
Browse code

fix test directory after openser to kamailio migration

osas authored on 27/10/2012 16:05:18
Showing 1 changed files
... ...
@@ -141,7 +141,7 @@ modparam("usrloc", "socket_column", "socket")
141 141
 modparam("usrloc", "use_domain", 0)
142 142
 modparam("usrloc", "desc_time_order", 0)
143 143
 modparam("usrloc", "timer_interval", 60)
144
-modparam("usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")
144
+modparam("usrloc", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
145 145
 modparam("usrloc", "db_mode", 1)
146 146
 modparam("usrloc", "matching_mode", 0)
147 147
 modparam("usrloc", "cseq_delay", 20)
... ...
@@ -178,7 +178,7 @@ modparam("mi_fifo", "reply_dir", "/tmp/")
178 178
 modparam("mi_fifo", "reply_indent", "\t")
179 179
 
180 180
 loadmodule "domain/domain.so"
181
-modparam("domain", "db_url", "mysql://openser:openserrw@localhost/openser")
181
+modparam("domain", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
182 182
 modparam("domain", "db_mode", 1)
183 183
 modparam("domain", "domain_table", "domain")
184 184
 modparam("domain", "domain_col", "domain")
... ...
@@ -228,7 +228,7 @@ modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")
228 228
 modparam("auth", "rpid_avp", "$avp(s:rpid)")
229 229
 
230 230
 loadmodule "auth_db/auth_db.so"
231
-modparam("auth_db", "db_url", "mysql://openser:openserrw@localhost/openser")
231
+modparam("auth_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
232 232
 modparam("auth_db", "user_column", "username")
233 233
 modparam("auth_db", "domain_column", "domain")
234 234
 modparam("auth_db", "password_column", "password")
... ...
@@ -238,13 +238,13 @@ modparam("auth_db", "use_domain", 0)
238 238
 modparam("auth_db", "load_credentials", "$avp(s:caller_uuid)=uuid")
239 239
 
240 240
 loadmodule "uri_db/uri_db.so"
241
-modparam("uri_db", "db_url", "mysql://openser:openserrw@localhost/openser")
241
+modparam("uri_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
242 242
 modparam("uri_db", "db_table", "subscriber")
243 243
 modparam("uri_db", "use_uri_table", 0)
244 244
 modparam("uri_db", "use_domain", 0)
245 245
 
246 246
 loadmodule "avpops/avpops.so"
247
-modparam("avpops", "db_url", "mysql://openser:openserrw@localhost/openser")
247
+modparam("avpops", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
248 248
 modparam("avpops", "avp_table", "usr_preferences")
249 249
 modparam("avpops", "use_domain", 0)
250 250
 modparam("avpops", "uuid_column", "uuid")
... ...
@@ -263,7 +263,7 @@ modparam("permissions", "default_deny_file", "permissions.deny")
263 263
 modparam("permissions", "check_all_branches", 1)
264 264
 modparam("permissions", "allow_suffix", ".allow")
265 265
 modparam("permissions", "deny_suffix", ".deny")
266
-modparam("permissions", "db_url", "mysql://openser:openserrw@localhost/openser")
266
+modparam("permissions", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
267 267
 modparam("permissions", "db_mode", 1)
268 268
 modparam("permissions", "trusted_table", "trusted")
269 269
 modparam("permissions", "source_col", "src_ip")
... ...
@@ -273,7 +273,7 @@ modparam("permissions", "tag_col", "tag")
273 273
 modparam("permissions", "peer_tag_avp", "$avp(s:peer_uuid)")
274 274
 
275 275
 loadmodule "lcr/lcr.so"
276
-modparam("lcr", "db_url", "mysql://openser:openserrw@localhost/openser")
276
+modparam("lcr", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
277 277
 modparam("lcr", "gw_table", "gw")
278 278
 modparam("lcr", "gw_name_column", "gw_name")
279 279
 modparam("lcr", "ip_addr_column", "ip_addr")
... ...
@@ -300,7 +300,7 @@ modparam("uac_redirect", "acc_function", "acc_log_request")
300 300
 modparam("uac_redirect", "acc_db_table", "acc")
301 301
 
302 302
 loadmodule "alias_db/alias_db.so"
303
-modparam("alias_db", "db_url", "mysql://openser:openserrw@localhost/openser")
303
+modparam("alias_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
304 304
 modparam("alias_db", "user_column", "username")
305 305
 modparam("alias_db", "domain_column", "domain")
306 306
 modparam("alias_db", "alias_user_column", "alias_username")
... ...
@@ -324,7 +324,7 @@ modparam("acc", "db_flag", 25)
324 324
 modparam("acc", "db_missed_flag", 0)
325 325
 modparam("acc", "db_table_acc", "acc")
326 326
 modparam("acc", "db_table_missed_calls", "missed_calls")
327
-modparam("acc", "db_url", "mysql://openser:openserrw@localhost/openser")
327
+modparam("acc", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
328 328
 modparam("acc", "acc_method_column", "method")
329 329
 modparam("acc", "acc_callid_column", "callid")
330 330
 modparam("acc", "acc_time_column", "time")
Browse code

- fix tests after removal of the uri module and the moving of the $shv vars

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5294 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 03/12/2008 18:02:13
Showing 1 changed files
... ...
@@ -198,7 +198,7 @@ loadmodule "textops/textops.so"
198 198
 loadmodule "mediaproxy/mediaproxy.so"
199 199
 modparam("mediaproxy", "mediaproxy_socket", "/var/run/proxydispatcher.sock")
200 200
 
201
-loadmodule "uri/uri.so"
201
+loadmodule "siputils/siputils.so"
202 202
 
203 203
 loadmodule "registrar/registrar.so"
204 204
 modparam("registrar", "default_expires", 3600)
Browse code

- fix tests, add pv loadmodule..

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5277 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 27/11/2008 15:31:59
Showing 1 changed files
... ...
@@ -123,6 +123,8 @@ disable_core_dump = no
123 123
 dns_try_ipv6 = yes
124 124
 dns_use_search_list = yes
125 125
 
126
+loadmodule "pv/pv.so"
127
+
126 128
 loadmodule "usrloc/usrloc.so"
127 129
 modparam("usrloc", "user_column", "username")
128 130
 modparam("usrloc", "domain_column", "domain")
Browse code

- fix 2.cfg, 7.cfg - contact_avp is not available anymore in lcr - add small function to test for sipsak availability - extend mysql registrar test (11.sh), use sipsak to test for more cases (cleanup timer in usrloc, unregistration of specific contacts, unregistration of all contacts, contact binding update..) - extend postgres registrar test (22.sh), use sipsak here too

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5137 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 27/10/2008 13:20:38
Showing 1 changed files
... ...
@@ -286,7 +286,6 @@ modparam("lcr", "from_uri_column", "from_uri")
286 286
 modparam("lcr", "priority_column", "priority")
287 287
 modparam("lcr", "gw_uri_avp", "$avp(i:1400)")
288 288
 modparam("lcr", "ruri_user_avp", "$avp(i:1402)")
289
-modparam("lcr", "contact_avp", "$avp(i:1401)")
290 289
 modparam("lcr", "fr_inv_timer_avp", "$avp(s:fr_inv_timer_avp)")
291 290
 modparam("lcr", "fr_inv_timer", 90)
292 291
 modparam("lcr", "fr_inv_timer_next", 30)
Browse code

- fix tests after renaming (mostly database related) - introduce parameter for rc file and control tools

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4633 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 07/08/2008 12:30:02
Showing 1 changed files
... ...
@@ -139,7 +139,7 @@ modparam("usrloc", "socket_column", "socket")
139 139
 modparam("usrloc", "use_domain", 0)
140 140
 modparam("usrloc", "desc_time_order", 0)
141 141
 modparam("usrloc", "timer_interval", 60)
142
-modparam("usrloc", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
142
+modparam("usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")
143 143
 modparam("usrloc", "db_mode", 1)
144 144
 modparam("usrloc", "matching_mode", 0)
145 145
 modparam("usrloc", "cseq_delay", 20)
... ...
@@ -176,7 +176,7 @@ modparam("mi_fifo", "reply_dir", "/tmp/")
176 176
 modparam("mi_fifo", "reply_indent", "\t")
177 177
 
178 178
 loadmodule "domain/domain.so"
179
-modparam("domain", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
179
+modparam("domain", "db_url", "mysql://openser:openserrw@localhost/openser")
180 180
 modparam("domain", "db_mode", 1)
181 181
 modparam("domain", "domain_table", "domain")
182 182
 modparam("domain", "domain_col", "domain")
... ...
@@ -226,7 +226,7 @@ modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")
226 226
 modparam("auth", "rpid_avp", "$avp(s:rpid)")
227 227
 
228 228
 loadmodule "auth_db/auth_db.so"
229
-modparam("auth_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
229
+modparam("auth_db", "db_url", "mysql://openser:openserrw@localhost/openser")
230 230
 modparam("auth_db", "user_column", "username")
231 231
 modparam("auth_db", "domain_column", "domain")
232 232
 modparam("auth_db", "password_column", "password")
... ...
@@ -236,13 +236,13 @@ modparam("auth_db", "use_domain", 0)
236 236
 modparam("auth_db", "load_credentials", "$avp(s:caller_uuid)=uuid")
237 237
 
238 238
 loadmodule "uri_db/uri_db.so"
239
-modparam("uri_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
239
+modparam("uri_db", "db_url", "mysql://openser:openserrw@localhost/openser")
240 240
 modparam("uri_db", "db_table", "subscriber")
241 241
 modparam("uri_db", "use_uri_table", 0)
242 242
 modparam("uri_db", "use_domain", 0)
243 243
 
244 244
 loadmodule "avpops/avpops.so"
245
-modparam("avpops", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
245
+modparam("avpops", "db_url", "mysql://openser:openserrw@localhost/openser")
246 246
 modparam("avpops", "avp_table", "usr_preferences")
247 247
 modparam("avpops", "use_domain", 0)
248 248
 modparam("avpops", "uuid_column", "uuid")
... ...
@@ -261,7 +261,7 @@ modparam("permissions", "default_deny_file", "permissions.deny")
261 261
 modparam("permissions", "check_all_branches", 1)
262 262
 modparam("permissions", "allow_suffix", ".allow")
263 263
 modparam("permissions", "deny_suffix", ".deny")
264
-modparam("permissions", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
264
+modparam("permissions", "db_url", "mysql://openser:openserrw@localhost/openser")
265 265
 modparam("permissions", "db_mode", 1)
266 266
 modparam("permissions", "trusted_table", "trusted")
267 267
 modparam("permissions", "source_col", "src_ip")
... ...
@@ -271,7 +271,7 @@ modparam("permissions", "tag_col", "tag")
271 271
 modparam("permissions", "peer_tag_avp", "$avp(s:peer_uuid)")
272 272
 
273 273
 loadmodule "lcr/lcr.so"
274
-modparam("lcr", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
274
+modparam("lcr", "db_url", "mysql://openser:openserrw@localhost/openser")
275 275
 modparam("lcr", "gw_table", "gw")
276 276
 modparam("lcr", "gw_name_column", "gw_name")
277 277
 modparam("lcr", "ip_addr_column", "ip_addr")
... ...
@@ -299,7 +299,7 @@ modparam("uac_redirect", "acc_function", "acc_log_request")
299 299
 modparam("uac_redirect", "acc_db_table", "acc")
300 300
 
301 301
 loadmodule "alias_db/alias_db.so"
302
-modparam("alias_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
302
+modparam("alias_db", "db_url", "mysql://openser:openserrw@localhost/openser")
303 303
 modparam("alias_db", "user_column", "username")
304 304
 modparam("alias_db", "domain_column", "domain")
305 305
 modparam("alias_db", "alias_user_column", "alias_username")
... ...
@@ -323,7 +323,7 @@ modparam("acc", "db_flag", 25)
323 323
 modparam("acc", "db_missed_flag", 0)
324 324
 modparam("acc", "db_table_acc", "acc")
325 325
 modparam("acc", "db_table_missed_calls", "missed_calls")
326
-modparam("acc", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
326
+modparam("acc", "db_url", "mysql://openser:openserrw@localhost/openser")
327 327
 modparam("acc", "acc_method_column", "method")
328 328
 modparam("acc", "acc_callid_column", "callid")
329 329
 modparam("acc", "acc_time_column", "time")
Browse code

- renaming: openser -> kamailio

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4562 689a6050-402a-0410-94f2-e92a70836424

Klaus Darilion authored on 05/08/2008 14:52:49
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 ########################################################################
2 2
 # This configuration is autogenerated by sip:wizard
3 3
 # (http://www.sipwise.com/wizard) on Fri Nov 09 17:06:52 +0100 2007
4
-# for OpenSER 1.2
4
+# for Kamailio 1.2
5 5
 #
6 6
 # Copyright (C) 2007 Sipwise (support@sipwise.com)
7 7
 ########################################################################
... ...
@@ -29,7 +29,7 @@
29 29
 #
30 30
 # base:
31 31
 #    You have to insert all locally served domains (i.e. 
32
-#    "openserctl domain add your.domain.com").
32
+#    "kamailioctl domain add your.domain.com").
33 33
 #    
34 34
 # nat-mediaproxy:
35 35
 #    You have to install mediaproxy 
... ...
@@ -50,9 +50,9 @@
50 50
 #    caller-uuid for such calls.
51 51
 #    
52 52
 # offnet-pstn:
53
-#    You have to add a routing entry for lcr (i.e. "openserctl  lcr 
53
+#    You have to add a routing entry for lcr (i.e. "kamailioctl  lcr 
54 54
 #    addroute '' '' 1 1"). Additionally, you have to add your gateways 
55
-#    (i.e. "openserctl lcr addgw my-test-gw 1.2.3.4 5060 sip udp 1").
55
+#    (i.e. "kamailioctl lcr addgw my-test-gw 1.2.3.4 5060 sip udp 1").
56 56
 #    
57 57
 # ring-timeout:
58 58
 #    You have to provision the ring-timeout (AVP ringtimeout as 
... ...
@@ -76,7 +76,7 @@
76 76
 #    same domain or to other domains are possible.
77 77
 #    
78 78
 # user-aliases:
79
-#    You have to add aliases for your users (i.e. "openserctl alias 
79
+#    You have to add aliases for your users (i.e. "kamailioctl alias 
80 80
 #    add 01234567 sip:bob@yourdomain.com" for usrloc-based aliases or 
81 81
 #    make entries into "dbaliases" table for db-based aliases)
82 82
 #    
... ...
@@ -139,7 +139,7 @@ modparam("usrloc", "socket_column", "socket")
139 139
 modparam("usrloc", "use_domain", 0)
140 140
 modparam("usrloc", "desc_time_order", 0)
141 141
 modparam("usrloc", "timer_interval", 60)
142
-modparam("usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")
142
+modparam("usrloc", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
143 143
 modparam("usrloc", "db_mode", 1)
144 144
 modparam("usrloc", "matching_mode", 0)
145 145
 modparam("usrloc", "cseq_delay", 20)
... ...
@@ -171,12 +171,12 @@ modparam("xlog", "buf_size", 4096)
171 171
 modparam("xlog", "force_color", 0)
172 172
 
173 173
 loadmodule "mi_fifo/mi_fifo.so"
174
-modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
174
+modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
175 175
 modparam("mi_fifo", "reply_dir", "/tmp/")
176 176
 modparam("mi_fifo", "reply_indent", "\t")
177 177
 
178 178
 loadmodule "domain/domain.so"
179
-modparam("domain", "db_url", "mysql://openser:openserrw@localhost/openser")
179
+modparam("domain", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
180 180
 modparam("domain", "db_mode", 1)
181 181
 modparam("domain", "domain_table", "domain")
182 182
 modparam("domain", "domain_col", "domain")
... ...
@@ -226,7 +226,7 @@ modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")
226 226
 modparam("auth", "rpid_avp", "$avp(s:rpid)")
227 227
 
228 228
 loadmodule "auth_db/auth_db.so"
229
-modparam("auth_db", "db_url", "mysql://openser:openserrw@localhost/openser")
229
+modparam("auth_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
230 230
 modparam("auth_db", "user_column", "username")
231 231
 modparam("auth_db", "domain_column", "domain")
232 232
 modparam("auth_db", "password_column", "password")
... ...
@@ -236,13 +236,13 @@ modparam("auth_db", "use_domain", 0)
236 236
 modparam("auth_db", "load_credentials", "$avp(s:caller_uuid)=uuid")
237 237
 
238 238
 loadmodule "uri_db/uri_db.so"
239
-modparam("uri_db", "db_url", "mysql://openser:openserrw@localhost/openser")
239
+modparam("uri_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
240 240
 modparam("uri_db", "db_table", "subscriber")
241 241
 modparam("uri_db", "use_uri_table", 0)
242 242
 modparam("uri_db", "use_domain", 0)
243 243
 
244 244
 loadmodule "avpops/avpops.so"
245
-modparam("avpops", "db_url", "mysql://openser:openserrw@localhost/openser")
245
+modparam("avpops", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
246 246
 modparam("avpops", "avp_table", "usr_preferences")
247 247
 modparam("avpops", "use_domain", 0)
248 248
 modparam("avpops", "uuid_column", "uuid")
... ...
@@ -261,7 +261,7 @@ modparam("permissions", "default_deny_file", "permissions.deny")
261 261
 modparam("permissions", "check_all_branches", 1)
262 262
 modparam("permissions", "allow_suffix", ".allow")
263 263
 modparam("permissions", "deny_suffix", ".deny")
264
-modparam("permissions", "db_url", "mysql://openser:openserrw@localhost/openser")
264
+modparam("permissions", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
265 265
 modparam("permissions", "db_mode", 1)
266 266
 modparam("permissions", "trusted_table", "trusted")
267 267
 modparam("permissions", "source_col", "src_ip")
... ...
@@ -271,7 +271,7 @@ modparam("permissions", "tag_col", "tag")
271 271
 modparam("permissions", "peer_tag_avp", "$avp(s:peer_uuid)")
272 272
 
273 273
 loadmodule "lcr/lcr.so"
274
-modparam("lcr", "db_url", "mysql://openser:openserrw@localhost/openser")
274
+modparam("lcr", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
275 275
 modparam("lcr", "gw_table", "gw")
276 276
 modparam("lcr", "gw_name_column", "gw_name")
277 277
 modparam("lcr", "ip_addr_column", "ip_addr")
... ...
@@ -299,7 +299,7 @@ modparam("uac_redirect", "acc_function", "acc_log_request")
299 299
 modparam("uac_redirect", "acc_db_table", "acc")
300 300
 
301 301
 loadmodule "alias_db/alias_db.so"
302
-modparam("alias_db", "db_url", "mysql://openser:openserrw@localhost/openser")
302
+modparam("alias_db", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
303 303
 modparam("alias_db", "user_column", "username")
304 304
 modparam("alias_db", "domain_column", "domain")
305 305
 modparam("alias_db", "alias_user_column", "alias_username")
... ...
@@ -323,7 +323,7 @@ modparam("acc", "db_flag", 25)
323 323
 modparam("acc", "db_missed_flag", 0)
324 324
 modparam("acc", "db_table_acc", "acc")
325 325
 modparam("acc", "db_table_missed_calls", "missed_calls")
326
-modparam("acc", "db_url", "mysql://openser:openserrw@localhost/openser")
326
+modparam("acc", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
327 327
 modparam("acc", "acc_method_column", "method")
328 328
 modparam("acc", "acc_callid_column", "callid")
329 329
 modparam("acc", "acc_time_column", "time")
Browse code

- remove some mediaproxy parameter, there are not available anymore - fix userblacklist test after recent schema changes

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4288 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 02/06/2008 10:22:02
Showing 1 changed files
... ...
@@ -195,9 +195,6 @@ loadmodule "textops/textops.so"
195 195
 
196 196
 loadmodule "mediaproxy/mediaproxy.so"
197 197
 modparam("mediaproxy", "mediaproxy_socket", "/var/run/proxydispatcher.sock")
198
-modparam("mediaproxy", "sip_asymmetrics", "/etc/openser/sip-asymmetric-clients")
199
-modparam("mediaproxy", "rtp_asymmetrics", "/etc/openser/rtp-asymmetric-clients")
200
-modparam("mediaproxy", "natping_interval", 60)
201 198
 
202 199
 loadmodule "uri/uri.so"
203 200
 
Browse code

- fix tests after noisy_ctimer removal

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3935 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 13/03/2008 15:36:20
Showing 1 changed files
... ...
@@ -159,7 +159,6 @@ modparam("tm", "fr_timer", 30)
159 159
 modparam("tm", "fr_inv_timer", 120)
160 160
 modparam("tm", "wt_timer", 5)
161 161
 modparam("tm", "delete_timer", 2)
162
-modparam("tm", "noisy_ctimer", 0)
163 162
 modparam("tm", "ruri_matching", 1)
164 163
 modparam("tm", "via1_matching", 1)
165 164
 modparam("tm", "unix_tx_timeout", 2)
Browse code

- extend test 21 to INVITEs, add more tests for uri_db - fix test 7.cfg after uri_db changes - several cleanups

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3885 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 07/03/2008 18:11:15
Showing 1 changed files
... ...
@@ -241,13 +241,7 @@ modparam("auth_db", "load_credentials", "$avp(s:caller_uuid)=uuid")
241 241
 
242 242
 loadmodule "uri_db/uri_db.so"
243 243
 modparam("uri_db", "db_url", "mysql://openser:openserrw@localhost/openser")
244
-modparam("uri_db", "uri_table", "uri")
245
-modparam("uri_db", "uri_user_column", "username")
246
-modparam("uri_db", "uri_domain_column", "domain")
247
-modparam("uri_db", "uri_uriuser_column", "uri_user")
248
-modparam("uri_db", "subscriber_table", "subscriber")
249
-modparam("uri_db", "subscriber_user_column", "username")
250
-modparam("uri_db", "subscriber_domain_column", "domain")
244
+modparam("uri_db", "db_table", "subscriber")
251 245
 modparam("uri_db", "use_uri_table", 0)
252 246
 modparam("uri_db", "use_domain", 0)
253 247
 
Browse code

further changes after the db name change - update INSTALL file - fix Makefile skip modules variable - fix module Makefile, lib name - change db_bind_mod to add the db prefix in the function - change db url defines in db_berkeley and db_text - change database modules names in module struct - fix debian packaging - fix tests

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3642 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 06/02/2008 15:46:09
Showing 1 changed files
... ...
@@ -220,9 +220,9 @@ modparam("registrar", "received_avp", "$avp(i:801)")
220 220
 loadmodule "sl/sl.so"
221 221
 modparam("sl", "enable_stats", 1)
222 222
 
223
-loadmodule "mysql/mysql.so"
224
-modparam("mysql", "ping_interval", 300)
225
-modparam("mysql", "auto_reconnect", 1)
223
+loadmodule "db_mysql/db_mysql.so"
224
+modparam("db_mysql", "ping_interval", 300)
225
+modparam("db_mysql", "auto_reconnect", 1)
226 226
 
227 227
 loadmodule "auth/auth.so"
228 228
 modparam("auth", "nonce_expire", 300)
Browse code

- fix test after lcr change

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3423 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 18/12/2007 12:12:38
Showing 1 changed files
... ...
@@ -301,7 +301,7 @@ modparam("lcr", "fr_inv_timer_avp", "$avp(s:fr_inv_timer_avp)")
301 301
 modparam("lcr", "fr_inv_timer", 90)
302 302
 modparam("lcr", "fr_inv_timer_next", 30)
303 303
 modparam("lcr", "rpid_avp", "$avp(s:rpid)")
304
-modparam("lcr", "dm_flag", 25)
304
+modparam("lcr", "flags_avp", "$avp(i:712)")
305 305
 
306 306
 loadmodule "uac_redirect/uac_redirect.so"
307 307
 modparam("uac_redirect", "default_filter", "accept")
Browse code

- add a test for the openser default config - add a test for a bigger config, generated from sipwise wizard

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3086 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 09/11/2007 16:27:57
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,1143 @@
1
+########################################################################
2
+# This configuration is autogenerated by sip:wizard
3
+# (http://www.sipwise.com/wizard) on Fri Nov 09 17:06:52 +0100 2007
4
+# for OpenSER 1.2
5
+#
6
+# Copyright (C) 2007 Sipwise (support@sipwise.com)
7
+########################################################################
8
+
9
+########################################################################
10
+# By obtaining, using, and/or copying this configuration and/or its
11
+# associated documentation, you agree that you have read, understood,
12
+# and will comply with the Terms of Usage provided at
13
+# http://www.sipwise.com/news/?page_id=6 as well as the following
14
+# additions:
15
+#
16
+# Permission to use, copy, modify, and distribute this configuration and
17
+# its associated documentation for any purpose and without fee is hereby
18
+# granted, provided that the above copyright notice appears in all
19
+# copies, and that both that copyright notice and this permission notice
20
+# appear in supporting documentation, and that the name of Sipwise or
21
+# the author will not be used in advertising or publicity pertaining to
22
+# distribution of the configuration without specific, written prior
23
+# permission.
24
+########################################################################
25
+
26
+########################################################################
27
+# Before using this configuration, read the following prerequisites in
28
+# order to gain the designated functionallity:
29
+#
30
+# base:
31
+#    You have to insert all locally served domains (i.e. 
32
+#    "openserctl domain add your.domain.com").
33
+#    
34
+# nat-mediaproxy:
35
+#    You have to install mediaproxy 
36
+#    (http://mediaproxy.ag-projects.com/) for relaying RTP traffic.
37
+#    
38
+# usr-preferences:
39
+#    This feature relies on UUID-based provisioning. Thus, you have 
40
+#    to add the uuid-column to the subscriber table ("alter table 
41
+#    subscriber add column uuid varchar(64);") and populate it with a 
42
+#    UUID (unique user identifier) per user, for example an 
43
+#    auto-incremented id.
44
+#    
45
+# offnet-incoming-sip:
46
+#    You have to populate the "trusted"-table with rules for 
47
+#    allowed peering hosts (i.e. src_ip="1.2.3.4", proto="udp", 
48
+#    from_pattern="^sip:.*@domain.of.peering.host$", tag="1234"). If the 
49
+#    feature "usr-preferences" is selected, the tag-value is used as 
50
+#    caller-uuid for such calls.
51
+#    
52
+# offnet-pstn:
53
+#    You have to add a routing entry for lcr (i.e. "openserctl  lcr 
54
+#    addroute '' '' 1 1"). Additionally, you have to add your gateways 
55
+#    (i.e. "openserctl lcr addgw my-test-gw 1.2.3.4 5060 sip udp 1").
56
+#    
57
+# ring-timeout:
58
+#    You have to provision the ring-timeout (AVP ringtimeout as 
59
+#    type 1) for each user in the usr_preferences table (i.e. 
60
+#    uuid='1234', username='', domain='', attribute='ringtimeout', 
61
+#    type=1, value='60'). If no timeout is provisioned, the default 
62
+#    timeout will be used.
63
+#    
64
+# cfu:
65
+#    You have to provision the call-forward-unconditional as full 
66
+#    SIP URI (AVP cfu as type 0) for each user in the usr_preferences 
67
+#    table (i.e. uuid='1234', username='', domain='', attribute='cfu', 
68
+#    type=0, value='sip:foo@otherdomain.com').  Forwards to another user 
69
+#    in the same domain or to other domains are possible.
70
+#    
71
+# cfc:
72
+#    You have to provision the call-forward-conditional as full SIP 
73
+#    URI (AVP cfc as type 0) for each user in the usr_preferences table 
74
+#    (i.e. uuid='1234', username='', domain='', attribute='cfc', type=0, 
75
+#    value='sip:foo@otherdomain.com').  Forwards to another user in the 
76
+#    same domain or to other domains are possible.
77
+#    
78
+# user-aliases:
79
+#    You have to add aliases for your users (i.e. "openserctl alias 
80
+#    add 01234567 sip:bob@yourdomain.com" for usrloc-based aliases or 
81
+#    make entries into "dbaliases" table for db-based aliases)
82
+#    
83
+# cli:
84
+#    You have to provision the CLI as full SIP URI (AVP cli as type 
85
+#    0) for each user in the usr_preferences table (i.e. uuid='1234', 
86
+#    username='', domain='', attribute='cli', type=0, 
87
+#    value='sip:01234567@yourdomain.com').
88
+#    
89
+# clir:
90
+#    You have to provision '1' to enable CLIR and '0' to disable it 
91
+#    (AVP clir as type 1) for each user in the usr_preferences table 
92
+#    (i.e. uuid='1234', username='', domain='', attribute='clir', 
93
+#    type=1, value='1').
94
+#    
95
+# acc-db:
96
+#    You have to add the columns "src_leg" and "dst_leg" to your 
97
+#    acc-table ("alter table acc add column src_leg varchar(128); alter 
98
+#    table acc add column dst_leg varchar(128);").
99
+#    
100
+########################################################################
101
+
102
+########################################################################
103
+# Configuration 'sip:wizard - Fri Nov 09 17:06:52 +0100 2007'
104
+########################################################################
105
+
106
+listen = udp:127.0.0.1:5060
107
+mpath = "../modules"
108
+children = 8
109
+debug = 3
110
+fork = yes
111
+disable_tcp = no
112
+log_facility = LOG_DAEMON
113
+log_stderror = no
114
+tcp_children = 4
115
+mhomed = no
116
+server_signature = yes
117
+reply_to_via = no
118
+sip_warning = no
119
+check_via = no
120
+dns = no
121
+rev_dns = no
122
+disable_core_dump = no
123
+dns_try_ipv6 = yes
124
+dns_use_search_list = yes
125
+
126
+loadmodule "usrloc/usrloc.so"
127
+modparam("usrloc", "user_column", "username")
128
+modparam("usrloc", "domain_column", "domain")
129
+modparam("usrloc", "contact_column", "contact")
130
+modparam("usrloc", "expires_column", "expires")
131
+modparam("usrloc", "q_column", "q")
132
+modparam("usrloc", "callid_column", "callid")
133
+modparam("usrloc", "cseq_column", "cseq")
134
+modparam("usrloc", "methods_column", "methods")
135
+modparam("usrloc", "flags_column", "flags")
136
+modparam("usrloc", "user_agent_column", "user_agent")
137
+modparam("usrloc", "received_column", "received")
138
+modparam("usrloc", "socket_column", "socket")
139
+modparam("usrloc", "use_domain", 0)
140
+modparam("usrloc", "desc_time_order", 0)
141
+modparam("usrloc", "timer_interval", 60)
142
+modparam("usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")
143
+modparam("usrloc", "db_mode", 1)
144
+modparam("usrloc", "matching_mode", 0)
145
+modparam("usrloc", "cseq_delay", 20)
146
+modparam("usrloc", "nat_bflag", 6)
147
+
148
+loadmodule "maxfwd/maxfwd.so"
149
+modparam("maxfwd", "max_limit", 256)
150
+
151
+loadmodule "rr/rr.so"
152
+modparam("rr", "enable_full_lr", 0)
153
+modparam("rr", "append_fromtag", 1)
154
+modparam("rr", "enable_double_rr", 1)
155
+modparam("rr", "add_username", 0)
156
+
157
+loadmodule "tm/tm.so"
158
+modparam("tm", "fr_timer", 30)
159
+modparam("tm", "fr_inv_timer", 120)
160
+modparam("tm", "wt_timer", 5)
161
+modparam("tm", "delete_timer", 2)
162
+modparam("tm", "noisy_ctimer", 0)
163
+modparam("tm", "ruri_matching", 1)
164
+modparam("tm", "via1_matching", 1)
165
+modparam("tm", "unix_tx_timeout", 2)
166
+modparam("tm", "restart_fr_on_each_reply", 1)
167
+modparam("tm", "pass_provisional_replies", 0)
168
+modparam("tm", "fr_inv_timer_avp", "$avp(s:callee_fr_inv_timer)")
169
+
170
+loadmodule "xlog/xlog.so"
171
+modparam("xlog", "buf_size", 4096)
172
+modparam("xlog", "force_color", 0)
173
+
174
+loadmodule "mi_fifo/mi_fifo.so"
175
+modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
176
+modparam("mi_fifo", "reply_dir", "/tmp/")
177
+modparam("mi_fifo", "reply_indent", "\t")
178
+
179
+loadmodule "domain/domain.so"
180
+modparam("domain", "db_url", "mysql://openser:openserrw@localhost/openser")
181
+modparam("domain", "db_mode", 1)
182
+modparam("domain", "domain_table", "domain")
183
+modparam("domain", "domain_col", "domain")
184
+
185
+loadmodule "nathelper/nathelper.so"
186
+modparam("nathelper", "natping_interval", 0)
187
+modparam("nathelper", "ping_nated_only", 1)
188
+modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
189
+modparam("nathelper", "rtpproxy_disable_tout", 60)
190
+modparam("nathelper", "rtpproxy_tout", 1)
191
+modparam("nathelper", "rtpproxy_retr", 5)
192
+modparam("nathelper", "sipping_method", "OPTIONS")
193
+modparam("nathelper", "received_avp", "$avp(i:801)")
194
+
195
+loadmodule "textops/textops.so"
196
+
197
+loadmodule "mediaproxy/mediaproxy.so"
198
+modparam("mediaproxy", "mediaproxy_socket", "/var/run/proxydispatcher.sock")
199
+modparam("mediaproxy", "sip_asymmetrics", "/etc/openser/sip-asymmetric-clients")
200
+modparam("mediaproxy", "rtp_asymmetrics", "/etc/openser/rtp-asymmetric-clients")
201
+modparam("mediaproxy", "natping_interval", 60)
202
+
203
+loadmodule "uri/uri.so"
204
+
205
+loadmodule "registrar/registrar.so"
206
+modparam("registrar", "default_expires", 3600)
207
+modparam("registrar", "min_expires", 60)
208
+modparam("registrar", "max_expires", 0)
209
+modparam("registrar", "default_q", 0)
210
+modparam("registrar", "append_branches", 1)
211
+modparam("registrar", "case_sensitive", 0)
212
+modparam("registrar", "received_param", "received")
213
+modparam("registrar", "max_contacts", 0)
214
+modparam("registrar", "retry_after", 0)
215
+modparam("registrar", "method_filtering", 0)
216
+modparam("registrar", "path_mode", 2)
217
+modparam("registrar", "path_use_received", 0)
218
+modparam("registrar", "received_avp", "$avp(i:801)")
219
+
220
+loadmodule "sl/sl.so"
221
+modparam("sl", "enable_stats", 1)
222
+
223
+loadmodule "mysql/mysql.so"
224
+modparam("mysql", "ping_interval", 300)
225
+modparam("mysql", "auto_reconnect", 1)
226
+
227
+loadmodule "auth/auth.so"
228
+modparam("auth", "nonce_expire", 300)
229
+modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")
230
+modparam("auth", "rpid_avp", "$avp(s:rpid)")
231
+
232
+loadmodule "auth_db/auth_db.so"
233
+modparam("auth_db", "db_url", "mysql://openser:openserrw@localhost/openser")
234
+modparam("auth_db", "user_column", "username")
235
+modparam("auth_db", "domain_column", "domain")
236
+modparam("auth_db", "password_column", "password")
237
+modparam("auth_db", "password_column_2", "ha1b")
238
+modparam("auth_db", "calculate_ha1", 1)
239
+modparam("auth_db", "use_domain", 0)
240
+modparam("auth_db", "load_credentials", "$avp(s:caller_uuid)=uuid")
241
+
242
+loadmodule "uri_db/uri_db.so"
243
+modparam("uri_db", "db_url", "mysql://openser:openserrw@localhost/openser")
244