2
0
Эх сурвалжийг харах

Cleanup of example I-CSCF config.

Carsten Bock 12 жил өмнө
parent
commit
6729c79d7f

+ 2 - 6
examples/icscf/kamailio.cfg

@@ -195,9 +195,7 @@ modparam("enum", "domain_suffix", ENUM_SUFFIX)
 # main routing logic
 # main routing logic
 
 
 route{
 route{
-##!ifdef WITH_DEBUG
-	xlog("L_ERR", "$rm ($fu ($si:$sp) to $tu, $ci)\n");
-##!endif
+	xlog("L_DBG", "$rm ($fu ($si:$sp) to $tu, $ci)\n");
 
 
 	# per request initial checks
 	# per request initial checks
 	route(REQINIT);
 	route(REQINIT);
@@ -377,12 +375,10 @@ route[initial_request]
 	if ($avp(lia_return_code) == 1) {
 	if ($avp(lia_return_code) == 1) {
 		if (I_scscf_select("0")) {
 		if (I_scscf_select("0")) {
 			append_branch();
 			append_branch();
-			xlog("L_ERR", "$$ru = $ru, $$du = $du\n");
+			xlog("L_DBG", "ru = $ru, du = $du\n");
 			t_on_reply("initial_request_reply");
 			t_on_reply("initial_request_reply");
 			t_on_failure("initial_request_failure");
 			t_on_failure("initial_request_failure");
-			setdebug("9");
 			if (!t_relay()) {
 			if (!t_relay()) {
-				xlog("LOG ---> T_RELAY - $rc/$mF\n");
 				t_reply("500","Error forwarding towards S-CSCF");
 				t_reply("500","Error forwarding towards S-CSCF");
 				break;
 				break;
 			}
 			}