# # $Id: opensips.cfg 7027 2010-07-15 13:48:29Z razvancrainea $ # # OpenSIPS basic configuration script # by Anca Vamanu # # Please refer to the Core CookBook at: # http://www.opensips.org/index.php?n=Resources.DocsCookbooks # for a explanation of possible statements, functions and parameters. # ####### Global Parameters ######### debug=3 log_stderror=no fork=yes children=12 /* uncomment the next line to disable TCP (default on) */ disable_tcp=yes listen=udp:192.168.2.103:5080 listen=udp:192.168.2.103:5081 listen=udp:192.168.2.103:5082 listen=udp:192.168.10.4:5080 listen=udp:192.168.10.4:5081 ####### Modules Section ######## #set module path mpath="modules/" loadmodule "sl.so" loadmodule "tm.so" modparam("tm", "wt_timer", 2) modparam("tm", "restart_fr_on_each_reply", 0) # ----------------- setting module-specific parameters --------------- ####### Routing Logic ######## # main request routing logic route{ if (!t_relay()) { xlog("L_ERR","sl_reply_error\n"); sl_reply_error(); } }