Difference between revisions of "Cfg-test-uas.cfg"

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
  # ----------- global configuration parameters ------------------------
 
  # ----------- global configuration parameters ------------------------
 
+
 
  debug=3            # debug level (cmd line: -dddddddddd)
 
  debug=3            # debug level (cmd line: -dddddddddd)
 
  fork=yes
 
  fork=yes
 
  log_stderror=no    # (cmd line: -E)
 
  log_stderror=no    # (cmd line: -E)
 
  children=8
 
  children=8
 
+
 
  disable_tcp=yes
 
  disable_tcp=yes
 
  disable_dns_blacklist=yes
 
  disable_dns_blacklist=yes
 
  disable_dns_failover=yes
 
  disable_dns_failover=yes
 
+
 
  # Uncomment these lines to enter debugging mode
 
  # Uncomment these lines to enter debugging mode
 
  #fork=no
 
  #fork=no
 
  #log_stderror=yes
 
  #log_stderror=yes
 
  #
 
  #
 
+
 
  # listen=udp:192.168.2.102:5070
 
  # listen=udp:192.168.2.102:5070
  listen=192.168.0.2:5060
+
  # listen=192.168.0.2:5060
 
+
 
  # ------------------ module loading ----------------------------------
 
  # ------------------ module loading ----------------------------------
 
+
 
  #set module path
 
  #set module path
  mpath="/usr/lib/openser/modules/"
+
  # mpath="/usr/local/lib/openser/modules/"
 
+
# mpath="/usr/lib/opensips/modules/"
 +
mpath="/usr/local/lib/opensips/modules/"
 +
 
  loadmodule "sl.so"
 
  loadmodule "sl.so"
 
+
 
  # -------------------------  request routing logic -------------------
 
  # -------------------------  request routing logic -------------------
 
+
 
  # main routing logic
 
  # main routing logic
 
+
 
  route{
 
  route{
 
         sl_send_reply("200", "OK");
 
         sl_send_reply("200", "OK");
 
  }
 
  }
 +
 +
 +
Beberapa hal yang perlu di perhatikan
 +
 +
* children = perlu dinaikan jika kita ingin mempunyai kemampuan yang lebih baik
 +
* listen = di sesuaikan dengan [[IP address]] [[server]] yang digunakan
 +
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[VoIP: Transaction Oriented Test]]
 +
* [[Test Performance OpenSER mengunakan SIPp]]
 +
* [[OpenSER Softswitch]]
 +
* [[OpenSIPS Softswitch]]
 +
* [[VoIP]]

Latest revision as of 09:39, 14 February 2010

# ----------- global configuration parameters ------------------------

debug=3            # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no    # (cmd line: -E)
children=8

disable_tcp=yes
disable_dns_blacklist=yes
disable_dns_failover=yes

# Uncomment these lines to enter debugging mode
#fork=no
#log_stderror=yes
#

# listen=udp:192.168.2.102:5070
# listen=192.168.0.2:5060

# ------------------ module loading ----------------------------------

#set module path
# mpath="/usr/local/lib/openser/modules/"
# mpath="/usr/lib/opensips/modules/"
mpath="/usr/local/lib/opensips/modules/"

loadmodule "sl.so"

# -------------------------  request routing logic -------------------

# main routing logic

route{
       sl_send_reply("200", "OK");
}


Beberapa hal yang perlu di perhatikan

  • children = perlu dinaikan jika kita ingin mempunyai kemampuan yang lebih baik
  • listen = di sesuaikan dengan IP address server yang digunakan


Pranala Menarik