|
@@ -91,7 +91,7 @@
|
|
|
# from untrusted sources, such as the user agents or foreign proxy
|
|
|
# servers
|
|
|
# * refined DB use (e.g., flatstore for acc)
|
|
|
-# * miscellanous:
|
|
|
+# * miscellaneous:
|
|
|
# - dialog module for monitoring purposes
|
|
|
# - more extensive logging using xlog (controlled by gflags/gAVPs)
|
|
|
# * leveraging 2.1 features:
|
|
@@ -181,7 +181,7 @@ rev_dns=no # (cmd. line: -R)
|
|
|
#group=sip-router
|
|
|
#disable_core=yes # disables core dumping
|
|
|
#open_files_limit=20480 # sets the open file descriptors limit
|
|
|
-#mhomed=yes # usefull for multihomed hosts, small performance
|
|
|
+#mhomed=yes # useful for multihomed hosts, small performance
|
|
|
# penalty
|
|
|
disable_tcp=no # be conservative about enabling TCP -- it can
|
|
|
# degrade performance a lot
|
|
@@ -268,7 +268,7 @@ tls_enable=yes
|
|
|
#!endif
|
|
|
|
|
|
# -------------------- Custom Parameters ------------------------------------
|
|
|
-# These parameters can be modified runtime via RPC interface,
|
|
|
+# These parameters can be modified at runtime via RPC interface,
|
|
|
# read the documentation of cfg_rpc module.
|
|
|
|
|
|
# Session Timer parameters, RFC 4028
|
|
@@ -521,7 +521,7 @@ modparam("tm", "restart_fr_on_each_reply", 0)
|
|
|
# -- xmlrpc --
|
|
|
|
|
|
#!ifdef WITH_XMLRPC
|
|
|
-# Use a sub-route. This is a lot safer then relying on the request method
|
|
|
+# Use a sub-route. This is a lot safer than relying on the request method
|
|
|
# to distinguish HTTP from SIP
|
|
|
modparam("xmlrpc", "route", "XMLRPC");
|
|
|
#!endif
|
|
@@ -596,7 +596,7 @@ route
|
|
|
# to PSTN. If email-like URIs are used, having a URI alias for
|
|
|
# processing incoming PSTN-to-ip requests may be useful, too.
|
|
|
# Important: the script is assuming one global pstn-gw for all
|
|
|
- # domains! Failure to allow gw_ip to be a domain-specic attribute
|
|
|
+ # domains! Failure to allow gw_ip to be a domain-specific attribute
|
|
|
# would result in security gaps (onsend_route checks only for one
|
|
|
# gateway).
|
|
|
|
|
@@ -642,12 +642,12 @@ route
|
|
|
route(INBOUND);
|
|
|
|
|
|
# There is SIP user for the called address. Before trying PSTN,
|
|
|
- # you may have to convert the adress, for instance by using
|
|
|
+ # you may have to convert the address, for instance by using
|
|
|
# ENUM.
|
|
|
#route(ENUM);
|
|
|
|
|
|
# Last resort: if none of the previous route has found
|
|
|
- # the recepient, try PSTN.
|
|
|
+ # the recipient, try PSTN.
|
|
|
route(PSTN);
|
|
|
|
|
|
# nothing matched
|
|
@@ -807,14 +807,14 @@ route[UAC_NAT_DETECTION]
|
|
|
# - mismatch of transport IP and IP in Via
|
|
|
# - mismatch of transport port and port in Via
|
|
|
# in all other cases we skip the port test, because lots of clients
|
|
|
- # do not correctly advertise their emphemeral port number in their Via
|
|
|
+ # do not correctly advertise their ephemeral port number in their Via
|
|
|
# header in case of reliable transports (although they are not behind
|
|
|
# a NAT).
|
|
|
|
|
|
# Warning: if you are dealing with SIP implementations which are
|
|
|
- # running on public IP and do as-symmertic signaling for whatever
|
|
|
+ # running on public IP and do as-symmetric signaling for whatever
|
|
|
# reason the following check will make their signaling symmetric.
|
|
|
- # If you need to support as-symmertic signaling reduce the following
|
|
|
+ # If you need to support as-symmetric signaling reduce the following
|
|
|
# nat_uac_test for UDP to "3" or even "1".
|
|
|
if ((proto == UDP && nat_uac_test("19")) ||
|
|
|
(nat_uac_test("3")) ||
|
|
@@ -881,9 +881,9 @@ route[UAS_NAT_DETECTION]
|
|
|
# IP address into the Contact header, but "forget" about the port.
|
|
|
|
|
|
# Warning: if you are dealing with SIP implementations which are
|
|
|
- # running on public IP and do as-symmertic signaling for whatever
|
|
|
+ # running on public IP and do as-symmetric signaling for whatever
|
|
|
# reason the following check will make their signaling symmetric.
|
|
|
- # If you need to support as-symmertic signaling reduce the following
|
|
|
+ # If you need to support as-symmetric signaling reduce the following
|
|
|
# nat_uac_test for UDP to just "1".
|
|
|
if ( (proto == UDP && nat_uac_test("33")) ||
|
|
|
(nat_uac_test("1") ||
|
|
@@ -982,7 +982,7 @@ route[PROCESS_ROUTES]
|
|
|
route(SESSION_TIMER);
|
|
|
}
|
|
|
|
|
|
- # Some broken devices overide the dialog route set with the
|
|
|
+ # Some broken devices override the dialog route set with the
|
|
|
# Record-Route headers from each in-dialog request. So, we
|
|
|
# better add Record-Route headers again. If we call
|
|
|
# record_route() after loose_route(), the AVP cookies are
|
|
@@ -1348,7 +1348,7 @@ route[INBOUND]
|
|
|
if (isflagset(FLAG_NAT_REG)) {
|
|
|
setflag(FLAG_NAT); /* client was behind NAT when made registration */
|
|
|
}
|
|
|
- # 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).
|
|
|
# Note1: Timer values have to be in ms now!
|
|
|
# Note2: This makes even more sense if you switch to a
|
|
@@ -1363,7 +1363,7 @@ route[INBOUND]
|
|
|
}
|
|
|
|
|
|
# This enables session timer support as long as one side
|
|
|
- # supports it. If you want to have session timmer support
|
|
|
+ # supports it. If you want to have session timer support
|
|
|
# only for calls from your PSTN gateway but not between pure
|
|
|
# VoIP calls you can remove the comment marks from the if
|
|
|
# clause in the next line and closing bracket below.
|
|
@@ -1496,7 +1496,7 @@ route[SESSION_TIMER]
|
|
|
eval_oper("(int)", -1);
|
|
|
eval_oper(">=", -2);
|
|
|
|
|
|
- # Let's check for the Suported header.
|
|
|
+ # Let's check for the Supported header.
|
|
|
if (hf_value_exists("Supported", "timer")) {
|
|
|
# The UAC supports Session-Timer, so we
|
|
|
# only need to take a look at the values
|