Difference between revisions of "VoIP: Transaction Oriented Test"

From OnnoWiki
Jump to navigation Jump to search
Line 14: Line 14:
  
 
  # openser -c -f /etc/openser/cfg-test-uas.cfg
 
  # openser -c -f /etc/openser/cfg-test-uas.cfg
 +
# openser -c -f /usr/local/etc/openser/cfg-test-uas.cfg
  
 
Jalankan di SERVER
 
Jalankan di SERVER
  
 
  # openser -f /etc/openser/cfg-test-uas.cfg
 
  # openser -f /etc/openser/cfg-test-uas.cfg
 +
# openser -f /usr/local/etc/openser/cfg-test-uas.cfg
  
 
==Jalankan Client==
 
==Jalankan Client==

Revision as of 09:31, 14 February 2010

Asumsi

IP Server    192.168.0.3

Siapkan file konfigurasi

* uac_msg.xml di sisi CLIENT
* cfg-test-uas.cfg di sisi SERVER
* sfg-test-relay.cfg di sisi RELAY / PROXY SERVER jika ada.

Siapkan Server OpenSIPS

Test konfigurasi di SERVER apakah sudah baik atau belum menggunakan perintah

# openser -c -f /etc/openser/cfg-test-uas.cfg
# openser -c -f /usr/local/etc/openser/cfg-test-uas.cfg

Jalankan di SERVER

# openser -f /etc/openser/cfg-test-uas.cfg
# openser -f /usr/local/etc/openser/cfg-test-uas.cfg

Jalankan Client

Jalankan di CLIENT

$ sipp -sf uac_msg.xml 192.168.0.3:5060 -m 200000 -r 10000 -d 1 -l 70

atau

$ sipp -sn uac 192.168.0.3:5060 -m 200000 -r 10000 -d 1 -l 70


Beberapa Contoh Parameter

cps 4000+ cps simultan 70

$ sipp -sn uac 192.168.0.3:5060 -m 200000 -r 10000 -d 1 -l 70


cps 99+ cps simultan 1-2

$ sipp -sn uac 192.168.0.3:5060 -m 20000 -r 100 -d 10 -l 20000


cps 1000+ simultan 10000

$ sipp -sn uac -d 10000 -s 1235 192.168.0.3 -r 1000 -l 200000 -mp 5606


cps 2000+ simultan 20000 (equivalen dengan STO di kota Lampung)

$ sipp -sn uac -d 10000 -s 1235 192.168.0.3 -r 2000 -l 200000 -mp 5606


cps 3000+ simultan 30000

$ sipp -sn uac -d 10000 -s 1235 192.168.0.3 -r 3000 -l 400000 -mp 5606


Pranala Menarik