SIPs is a JSON-RPC client that is used to interact with OpenSIPS.
Usage: ./sips [-v] [<serverAddress>:<serverPort>] <method> [<param1,param2,...>]
Flags:
-h Display help
-v Enable verbose mode
loadmodule "mi_http.so"
modparam("mi_http", "root", "mi")
loadmodule "httpd.so"
modparam("httpd", "port", 8080)
./sips 1.2.3.4:8080 rtpengine_enable udp:5.6.7.8:2223,0
./sips 1.2.3.4:8080 version
./sips 1.2.3.4:8080 get_statistics load:
./sips 1.2.3.4:8080 clusterer_shtag_set_active vip/1
./sips 1.2.3.4:8080 cache_store local,password_user1,password
./sips rtpengine_enable udp:5.6.7.8:2223,0
./sips version
./sips get_statistics load:
./sips clusterer_shtag_set_active vip/1
./sips cache_store local,password_user1,password