# test config file /* C style comment */ /* * same thing but on multiple lines */ /* /* Nested comment */ */ debug=1 dns=true #comment on the same line route{ (method==invite and src_ip==1.2.3.4 or (src_ip==4.3.2.1 and src_ip==11.12.13.14/24) ) log("test log\n"); forward("ape"); ( uri~="test\n" & ! src_ip~="dorian") forward(dorian.fokus.gmd.de); (src_ip==192.168.0.0/255.255.0.0 or dst_ip==127.0.0.1 and uri~="s$") \ error("440","not forwarding"); log(2,"droping..."); drop; src_ip==127.0.0.1 route(3); drop; } fork=no route[3]{ (src_ip==0.0.0.0/0) exec('/bin/ls >/tmp/x'); send(4.3.2.1,8000); /* catch all */ } /* eof */