|
@@ -8,9 +8,9 @@
|
|
|
|
|
|
# ----------- global configuration parameters ------------------------
|
|
# ----------- global configuration parameters ------------------------
|
|
|
|
|
|
-debug=3 # debug level (cmd line: -dddddddddd)
|
|
|
|
|
|
+debug=3
|
|
fork=yes
|
|
fork=yes
|
|
-log_stderror=no # (cmd line: -E)
|
|
|
|
|
|
+log_stderror=no
|
|
children=4
|
|
children=4
|
|
|
|
|
|
port=5060
|
|
port=5060
|
|
@@ -19,11 +19,6 @@ port=5060
|
|
#fork=no
|
|
#fork=no
|
|
#log_stderror=yes
|
|
#log_stderror=yes
|
|
|
|
|
|
-# Uncomment this to prevent the blacklisting of temporary not available destinations
|
|
|
|
-#disable_dns_blacklist=yes
|
|
|
|
-
|
|
|
|
-# # Uncomment this to prevent the IPv6 lookup after v4 dns lookup failures
|
|
|
|
-#dns_try_ipv6=no
|
|
|
|
|
|
|
|
# uncomment the following lines for TLS support
|
|
# uncomment the following lines for TLS support
|
|
#disable_tls = 0
|
|
#disable_tls = 0
|
|
@@ -51,6 +46,7 @@ loadmodule "maxfwd.so"
|
|
loadmodule "usrloc.so"
|
|
loadmodule "usrloc.so"
|
|
loadmodule "registrar.so"
|
|
loadmodule "registrar.so"
|
|
loadmodule "textops.so"
|
|
loadmodule "textops.so"
|
|
|
|
+loadmodule "xlog.so"
|
|
loadmodule "mi_fifo.so"
|
|
loadmodule "mi_fifo.so"
|
|
|
|
|
|
# Uncomment this if you want digest authentication
|
|
# Uncomment this if you want digest authentication
|
|
@@ -100,9 +96,11 @@ route{
|
|
};
|
|
};
|
|
|
|
|
|
if (msg:len >= 2048 ) {
|
|
if (msg:len >= 2048 ) {
|
|
- sl_send_reply("513", "Message too big");
|
|
|
|
|
|
+ sl_send_reply("513", "Message Too Large");
|
|
exit;
|
|
exit;
|
|
};
|
|
};
|
|
|
|
+ # uncomment this to log informations about the received message via pseudo-variables
|
|
|
|
+ #xlog("received by openser[$pp] at '$Tf' from $si:$sp, method: $rm, transport: $rP:$Ri:$rp, user agent: $ua");
|
|
|
|
|
|
# we record-route all messages -- to make sure that
|
|
# we record-route all messages -- to make sure that
|
|
# subsequent messages will go through our proxy; that's
|
|
# subsequent messages will go through our proxy; that's
|