mirror of https://github.com/sipwise/kamailio.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
57 lines
1.3 KiB
#
|
|
# $Id$
|
|
#
|
|
# iptel.org real world configuration
|
|
#
|
|
|
|
# ----------- global configuration parameters ------------------------
|
|
|
|
debug=0
|
|
fork=1
|
|
log_stderror=yes # (cmd line: -E)
|
|
check_via=no # (cmd. line: -v)
|
|
dns=no # (cmd. line: -r)
|
|
syn_branch=1
|
|
reply_to_via=0
|
|
fifo="/tmp/ser_fifo"
|
|
|
|
# advertise IP address in Via (as opposed to advertising DNS name
|
|
# which is annoying for downstream servers and some phones can
|
|
# not handle DNS at all)
|
|
listen=195.37.77.100
|
|
|
|
# ------------------ module loading ----------------------------------
|
|
|
|
loadmodule "../sip_router/modules/sl/sl.so"
|
|
loadmodule "../sip_router/modules/print/print.so"
|
|
#loadmodule "../sip_router/modules/tm/tm_mod.so"
|
|
loadmodule "../sip_router/modules/usrloc/usrloc.so"
|
|
|
|
# ----------------- setting module-specific parameters ---------------
|
|
|
|
# -- usrloc params --
|
|
|
|
modparam("usrloc", "use_database", 0)
|
|
modparam("usrloc", "flush_interval", 3600)
|
|
|
|
# -- tm params --
|
|
modparam("tm", "fr_timer", 5 )
|
|
modparam("tm", "fr_inv_timer", 5 )
|
|
modparam("tm", "wt_timer", 5 )
|
|
|
|
# ------------------------- request routing logic -------------------
|
|
|
|
# main routing logic
|
|
|
|
route{
|
|
append_branch("sip:bla@bat.iptel.org:5088");
|
|
append_branch("sip:blb@bat.iptel.org:5088");
|
|
t_on_negative("1");
|
|
t_relay_to("bat.iptel.org","5088");
|
|
}
|
|
|
|
reply_route[1] {
|
|
append_branch("sip:mrx@bat.iptel.org:5088");
|
|
}
|
|
|