"Fossies" - the Fresh Open Source Software Archive

Member "opensips-3.0.1/test/30.cfg" (16 Apr 2019, 448 Bytes) of package /linux/misc/opensips-3.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 log_level=3
    2 mpath="../modules"
    3 loadmodule "sl/sl.so"
    4 loadmodule "tm/tm.so"
    5 loadmodule "maxfwd/maxfwd.so"
    6 loadmodule "carrierroute/carrierroute.so"
    7 
    8 route{
    9 	# initial sanity checks
   10 	if (!mf_process_maxfwd_header("10")) {
   11 		sl_send_reply("483","Too Many Hops");
   12 		return;
   13 	}
   14 
   15 	# default route
   16  	if (!cr_route("default", "proxy", "$rU", "$rU", "call_id")) {
   17 		xlog("L_ERR", "cr_route failed\n");
   18 		exit;
   19 	}
   20 	if (!t_relay()) {
   21 		sl_reply_error();
   22 	}
   23 }