test/tx.cfg
dda9dab1
 #
b426bf8b
 # configuration for stress testing
dda9dab1
 #
 # $ID: $
 #
 
d3b31abd
 debug=3          # debug level (cmd line: -dddddddddd)
 fork=yes          # (cmd. line: -D)
 #fork=no
b0570a15
 #log_stderror=yes # (cmd line: -E)
baa4fa73
 log_stderror=yes	# (cmd line: -E)
ea6721d7
 
 
d3b31abd
 children=8
baa4fa73
 check_via=no     # (cmd. line: -v)
 #dns=on           # (cmd. line: -r)
 #rev_dns=yes      # (cmd. line: -R)
d3b31abd
 port=5080
cbd9fc8b
 #listen=127.0.0.1
d3b31abd
 listen=195.37.77.101
b0570a15
 loop_checks=0
8caad01d
 # for more info: sip_router -h
 
 #modules
d3b31abd
 loadmodule "modules/print/print.so"
 loadmodule "modules/tm/tm.so"
8caad01d
 
e406dd13
 #route[0]{
 #	if (method=="BYE") { forward("bat.iptel.org", 5000); }
 #	else forward("bat.iptel.org", 5090);
d3b31abd
 #	else t_forward("bat.iptel.org", "9" );
e406dd13
 #	break;
 #}
ea6721d7
 
e406dd13
 route[0]{
ea6721d7
 	log("SER: new request reveived\n");
d3b31abd
 	if (method=="BYE") {
 		t_relay_to( "bat.iptel.org", "5000" );
 	}
 	else {
 		t_relay_to( "bat.iptel.org", "5090" );
8caad01d
 	};
d3b31abd
 #	break;
8caad01d
 }
d3b31abd