浏览代码

etc/ typos

Дилян Палаузов 2 年之前
父节点
当前提交
6e9335ff22
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 2 2
      etc/kamailio.cfg
  2. 8 8
      etc/sip-router.cfg

+ 2 - 2
etc/kamailio.cfg

@@ -227,7 +227,7 @@ enable_sctp=no
 
 ####### Custom Parameters #########
 
-/* These parameters can be modified runtime via RPC interface
+/* These parameters can be modified at runtime via RPC interface
  * - see the documentation of 'cfg_rpc' module.
  *
  * Format: group.id = value 'desc' description
@@ -389,7 +389,7 @@ modparam("registrar", "path_mode", 0)
 modparam("acc", "early_media", 0)
 modparam("acc", "report_ack", 0)
 modparam("acc", "report_cancels", 0)
-/* by default ww do not adjust the direct of the sequential requests.
+/* 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)

+ 8 - 8
etc/sip-router.cfg

@@ -1,7 +1,7 @@
 #
 # $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).
 #
 # First start SER sample config script with:
@@ -73,7 +73,7 @@ rev_dns=no      # (cmd. line: -R)
 #group=ser
 #disable_core=yes #disables core dumping
 #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 
 #tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
 sip_warning=yes
@@ -172,7 +172,7 @@ modparam("ctl", "binrpc", "tcp:127.0.0.1:2046")
 # failed transactions (=negative responses) should be logged to
 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")
 
 # -- tm params --
@@ -197,7 +197,7 @@ modparam("tls", "private_key", "ser-selfsigned.key")
 
 
 # -- 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
 modparam("xmlrpc", "route", "RPC");
 
@@ -358,8 +358,8 @@ route[RR]
 		# particularly good if upstream and downstream entities
 		# 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)) {
 			$account = "yes";
 			setavpflag($account, "dialog_cookie");
@@ -377,7 +377,7 @@ route[DOMAIN]
 	# check if the callee is at a local domain
 	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
 	# a relay
 	if (strempty($t.did) && strempty($f.did)) {
@@ -528,7 +528,7 @@ route[INBOUND]
 		if (lookup_contacts("location")) {
 			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)
 			# Note1: timer values have to be in ms now!
 			# Note2: this makes even more sense if you switch to a voicemail