|
@@ -1,7 +1,7 @@
|
|
#
|
|
#
|
|
# $Id$
|
|
# $Id$
|
|
#
|
|
#
|
|
-# Example configuration file (simpler then ser-oob.cfg, but more
|
|
|
|
|
|
+# Example configuration file (simpler than ser-oob.cfg, but more
|
|
# complex then ser-basic.cfg).
|
|
# complex then ser-basic.cfg).
|
|
#
|
|
#
|
|
# First start SER sample config script with:
|
|
# First start SER sample config script with:
|
|
@@ -73,7 +73,7 @@ rev_dns=no # (cmd. line: -R)
|
|
#group=ser
|
|
#group=ser
|
|
#disable_core=yes #disables core dumping
|
|
#disable_core=yes #disables core dumping
|
|
#open_fd_limit=1024 # sets the open file descriptors limit
|
|
#open_fd_limit=1024 # sets the open file descriptors limit
|
|
-#mhomed=yes # usefull for multihomed hosts, small performance penalty
|
|
|
|
|
|
+#mhomed=yes # useful for multihomed hosts, small performance penalty
|
|
#disable_tcp=yes
|
|
#disable_tcp=yes
|
|
#tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
|
|
#tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
|
|
sip_warning=yes
|
|
sip_warning=yes
|
|
@@ -172,7 +172,7 @@ modparam("ctl", "binrpc", "tcp:127.0.0.1:2046")
|
|
# failed transactions (=negative responses) should be logged to
|
|
# failed transactions (=negative responses) should be logged to
|
|
modparam("acc_db", "failed_transactions", 1)
|
|
modparam("acc_db", "failed_transactions", 1)
|
|
|
|
|
|
-# comment the next line if you dont want to have accounting to DB
|
|
|
|
|
|
+# comment the next line if you don't want to have accounting to DB
|
|
modparam("acc_db", "log_flag", "FLAG_ACC")
|
|
modparam("acc_db", "log_flag", "FLAG_ACC")
|
|
|
|
|
|
# -- tm params --
|
|
# -- tm params --
|
|
@@ -197,7 +197,7 @@ modparam("tls", "private_key", "ser-selfsigned.key")
|
|
|
|
|
|
|
|
|
|
# -- xmlrpc params --
|
|
# -- xmlrpc params --
|
|
-# using a sub-route from the module is a lot safer then relying on the
|
|
|
|
|
|
+# using a sub-route from the module is a lot safer than relying on the
|
|
# request method to distinguish HTTP from SIP
|
|
# request method to distinguish HTTP from SIP
|
|
modparam("xmlrpc", "route", "RPC");
|
|
modparam("xmlrpc", "route", "RPC");
|
|
|
|
|
|
@@ -358,8 +358,8 @@ route[RR]
|
|
# particularly good if upstream and downstream entities
|
|
# particularly good if upstream and downstream entities
|
|
# use different transport protocol
|
|
# use different transport protocol
|
|
|
|
|
|
- # if the inital INVITE got the ACC flag store this in
|
|
|
|
- # an RR AVP cookie. this is more for demonstration purpose
|
|
|
|
|
|
+ # if the initial INVITE got the ACC flag store this in
|
|
|
|
+ # an RR AVP cookie. This is more for demonstration purpose
|
|
if (isflagset(FLAG_ACC)) {
|
|
if (isflagset(FLAG_ACC)) {
|
|
$account = "yes";
|
|
$account = "yes";
|
|
setavpflag($account, "dialog_cookie");
|
|
setavpflag($account, "dialog_cookie");
|
|
@@ -377,7 +377,7 @@ route[DOMAIN]
|
|
# check if the callee is at a local domain
|
|
# check if the callee is at a local domain
|
|
lookup_domain("$td", "@ruri.host");
|
|
lookup_domain("$td", "@ruri.host");
|
|
|
|
|
|
- # we dont know the domain of the caller and also not
|
|
|
|
|
|
+ # we don't know the domain of the caller and also not
|
|
# the domain of the callee -> somone uses our proxy as
|
|
# the domain of the callee -> somone uses our proxy as
|
|
# a relay
|
|
# a relay
|
|
if (strempty($t.did) && strempty($f.did)) {
|
|
if (strempty($t.did) && strempty($f.did)) {
|
|
@@ -528,7 +528,7 @@ route[INBOUND]
|
|
if (lookup_contacts("location")) {
|
|
if (lookup_contacts("location")) {
|
|
append_hf("P-hint: usrloc applied\r\n");
|
|
append_hf("P-hint: usrloc applied\r\n");
|
|
|
|
|
|
- # we set the TM module timers according to the prefences
|
|
|
|
|
|
+ # we set the TM module timers according to the preferences
|
|
# of the callee (avoid too long ringing of his phones)
|
|
# of the callee (avoid too long ringing of his phones)
|
|
# Note1: timer values have to be in ms now!
|
|
# Note1: timer values have to be in ms now!
|
|
# Note2: this makes even more sense if you switch to a voicemail
|
|
# Note2: this makes even more sense if you switch to a voicemail
|