test/test2.cfg
227ef4fa
 debug=9          # debug level (cmd line: -dddddddddd)
 check_via=yes     # (cmd. line: -v)
 dns=on           # (cmd. line: -r)
 rev_dns=yes      # (cmd. line: -R)
e61f4ba3
 #fork=no          # (cmd. line: -D)
 #log_stderror=yes # (cmd line: -E)
227ef4fa
 # for more info: sip_router -h
 
 #modules
 loadmodule "modules/print/print.so"
34fd2612
 loadmodule "modules/textops/textops.so"
227ef4fa
 
 route{
34fd2612
 	print("before insert");
 	replace('^User-Agent:.*$', "User-Agent: ser 0.8.x");
 	print("after insert");
 	search_append('To:.*$', "Foo Bar");
227ef4fa
 	forward(127.0.0.1,5061);
 	print("after forward");
 }