-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstress.cfg
56 lines (42 loc) · 1.31 KB
/
stress.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# $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");
}