Menggunakan opensipsctl

From OnnoWiki
Jump to navigation Jump to search

Menggunakan opensipsctl yang sering digunakan adalah untuk

  • Menambahkan user
  • Melihat user yang sedang login
  • Memonitor aktifitas OpenSIPS Softswitch

Menambahkan user

# opensipsctl add nomor@host password
# opensipsctl add 2000@192.168.0.111 123456


Melihat user yang sedang login

# opensipsctl ul show nomor@host
# opensipsctl ul show 2000@192.168.0.111


Lihat Online User

opensipsctl online


Monitor Aktifitas Softswitch

Memonitor aktifitas OpenSIPS Softswitch

# opensipsctl monitor

Akan keluar kira-kira

[cycle #: 13; if constant make sure server lives]
Server:: OpenSIPS (1.10.0-notls (x86_64/linux))
Now:: Tue Dec 31 07:55:20 2013
Up since:: Tue Dec 31 07:53:49 2013
Up time:: 91 [sec]

Transaction Statistics: 
tm:UAS_transactions = 0
tm:UAC_transactions = 0
tm:inuse_transactions = 0

Stateless Server Statistics: 
sl:sent_replies = 0
sl:sent_err_replies = 0
sl:received_ACKs = 0

UsrLoc Stats: 
usrloc:registered_users = 0
usrloc:location-users = 0
usrloc:location-contacts = 0
usrloc:location-expires = 0


Pranala Menarik