debug=3 fork=no log_stderror=yes log_facility=LOG_LOCAL0 log_name="SER" check_via=no dns=no rev_dns=no listen=192.168.1.16 port=5060 children=4 mpath="/usr/lib/openser/modules/" loadmodule "sl.so" loadmodule "tm.so" loadmodule "rr.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "xlog.so" loadmodule "statistics.so" loadmodule "mi_fifo.so" modparam("usrloc", "db_mode", 0) modparam("rr", "enable_full_lr", 1) modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo") route { xlog("L_NOTICE","$rm $rU@$rd from $si to $Ri ($ml-$cl bytes)\n"); t_on_reply("1"); if(!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exit; } if(msg:len>=2048) { sl_send_reply("513", "Message too big"); exit; } if(loose_route()) { xlog("L_NOTICE","Loose Route\n"); t_relay(); exit; } if(method=="CANCEL") { t_relay(); exit; } if(method=="ACK") { t_relay(); exit; } if(method=="INVITE") { record_route(); rewritehost("192.168.1.11"); } t_relay(); } onreply_route[1] { xlog("L_NOTICE","$rs ($rr) for $rm from $si to $Ri ($ml-$cl bytes)\n"); }