debug=9 # debug level (cmd line: -dddddddddd) check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) #port=5060 #children=4 fifo="/tmp/ser_fifo" mhomed=yes loadmodule "./modules/sl/sl.so" loadmodule "./modules/tm/tm.so" loadmodule "./modules/rr/rr.so" loadmodule "./modules/maxfwd/maxfwd.so" loadmodule "./modules/usrloc/usrloc.so" loadmodule "./modules/registrar/registrar.so" loadmodule "./modules/textops/textops.so" loadmodule "./modules/xlog/xlog.so" modparam("usrloc", "db_mode", 0) modparam("rr", "enable_full_lr", 1) route { # send it out now; use stateful forwarding as it works reliably # even for UDP2TCP xdbg("Appending branches\n"); append_branch("sip:a@iptel.org"); append_branch("sip:b@iptel.org"); t_on_branch("1"); if (!t_relay()) { sl_reply_error(); }; } branch_route[1] { if (uri == "sip:a@iptel.org") { append_hf("Test: foo\r\n"); }; xdbg("Executing branch %ru\n"); }