|
@@ -1,6 +1,6 @@
|
|
#!KAMAILIO
|
|
#!KAMAILIO
|
|
#
|
|
#
|
|
-# Kamailio (OpenSER) SIP Server v4.3 - default configuration script
|
|
|
|
|
|
+# Kamailio (OpenSER) SIP Server v5.0 - default configuration script
|
|
# - web: http://www.kamailio.org
|
|
# - web: http://www.kamailio.org
|
|
# - git: http://sip-router.org
|
|
# - git: http://sip-router.org
|
|
#
|
|
#
|
|
@@ -11,10 +11,10 @@
|
|
#
|
|
#
|
|
# Several features can be enabled using '#!define WITH_FEATURE' directives:
|
|
# Several features can be enabled using '#!define WITH_FEATURE' directives:
|
|
#
|
|
#
|
|
-# *** To run in debug mode:
|
|
|
|
|
|
+# *** To run in debug mode:
|
|
# - define WITH_DEBUG
|
|
# - define WITH_DEBUG
|
|
#
|
|
#
|
|
-# *** To enable mysql:
|
|
|
|
|
|
+# *** To enable mysql:
|
|
# - define WITH_MYSQL
|
|
# - define WITH_MYSQL
|
|
#
|
|
#
|
|
# *** To enable authentication execute:
|
|
# *** To enable authentication execute:
|
|
@@ -111,14 +111,14 @@ children=4
|
|
#disable_tcp=yes
|
|
#disable_tcp=yes
|
|
|
|
|
|
/* uncomment the next line to disable the auto discovery of local aliases
|
|
/* uncomment the next line to disable the auto discovery of local aliases
|
|
- based on reverse DNS on IPs (default on) */
|
|
|
|
|
|
+ * based on reverse DNS on IPs (default on) */
|
|
#auto_aliases=no
|
|
#auto_aliases=no
|
|
|
|
|
|
/* add local domain aliases */
|
|
/* add local domain aliases */
|
|
#alias="sip.mydomain.com"
|
|
#alias="sip.mydomain.com"
|
|
|
|
|
|
-/* uncomment and configure the following line if you want Kamailio to
|
|
|
|
- bind on a specific interface/port/proto (default bind on all available) */
|
|
|
|
|
|
+/* uncomment and configure the following line if you want Kamailio to
|
|
|
|
+ * bind on a specific interface/port/proto (default bind on all available) */
|
|
#listen=udp:10.0.0.10:5060
|
|
#listen=udp:10.0.0.10:5060
|
|
|
|
|
|
/* port to listen to
|
|
/* port to listen to
|
|
@@ -229,14 +229,14 @@ modparam("registrar", "gruu_enabled", 0)
|
|
modparam("acc", "early_media", 0)
|
|
modparam("acc", "early_media", 0)
|
|
modparam("acc", "report_ack", 0)
|
|
modparam("acc", "report_ack", 0)
|
|
modparam("acc", "report_cancels", 0)
|
|
modparam("acc", "report_cancels", 0)
|
|
-/* by default ww do not adjust the direct of the sequential requests.
|
|
|
|
- if you enable this parameter, be sure the enable "append_fromtag"
|
|
|
|
- in "rr" module */
|
|
|
|
|
|
+/* by default we do not adjust the direct of the sequential requests.
|
|
|
|
+ * if you enable this parameter, be sure the enable "append_fromtag"
|
|
|
|
+ * in "rr" module */
|
|
modparam("acc", "detect_direction", 0)
|
|
modparam("acc", "detect_direction", 0)
|
|
/* account triggers (flags) */
|
|
/* account triggers (flags) */
|
|
modparam("acc", "log_flag", FLT_ACC)
|
|
modparam("acc", "log_flag", FLT_ACC)
|
|
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
|
|
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
|
|
-modparam("acc", "log_extra",
|
|
|
|
|
|
+modparam("acc", "log_extra",
|
|
"src_user=$fU;src_domain=$fd;src_ip=$si;"
|
|
"src_user=$fU;src_domain=$fd;src_ip=$si;"
|
|
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
|
|
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
|
|
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
|
|
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
|