Command | Example | Description |
---|---|---|
add user | add user alice 12345 ADMIN | Add a user with the specified name, password and group |
add group | add group NEW_GROUP | Create a new group |
add permission | add permission --groups ADMIN --users alice 'add user' | Restrict access permissions for the specified operation. Only the specified groups and users can perform this operation |
add app | add app MyApp MyAppKey 'http://localhost' | Add a new application |
add app-rest-method | add app-rest-method MyApp ErrorStatusEvent | Add a REST-method with the specified name for the specified application |
add lb-node | add lb-node --http-port 8081 --flash 1935 --ws 8080 --wss 8443 --max-calls 999 --enabled true 192.168.1.5 | Add a node to the load balancer |
add authorized_key | add authorized_key -f /root/.ssh/public.pem | Add public key for CLI authorization |
call create | call create --id 12345678 --callee 10001 --rtmpUrl rtmp://localhost:1935/live --rtmpStream callStream | Make a call to the specified SIP account and broadcast the call to the RTMP server under the specified stream name |
call hangup | call hangup --id 12345678 | Hangup the call with the specified identifier |
grep | grep foo | Search strings using the specified template |
loadtool enable | loadtool enable | Enable the load balancer tool |
loadtool create | loadtool create test1 | Create the load test |
loadtool configure | loadtool configure --max-subscribers 5 | Configure the load test |
loadtool start | loadtool start test1 | Start the load test |
loadtool stop | loadtool stop test1 | Stop the load test |
loadtool status | loadtool status test1 | Check the status of the load test |
node start | node start | Start the WCS server |
node stop | node stop | Stop the WCS server |
node restart | node restart | Restart the WCS server |
passwd | passwd passwd alice | Change the password. Changing the password of a user in another group is only allowed for a user of the supergroup |
qa reload | qa reload | Reload tests from the /usr/local/FlashphonerWebCallServer/conf/qa directory |
qa list | qa list | See the list of tests |
qa start | qa start 1,2,3 | Run test(s) with the specified identifier(s) |
qa log | qa log | See test results |
qa status | qa status | See last test status |
qa clients | qa clients | See the list and status of test clients |
reload node-settings | reload node-settings | Reload settings from the flashphoner.properties file |
remove group | remove group NEW_GROUP | Remove the specified group |
remove user | remove user alice | Remove the specified user |
remove app | remove app MyApp | Remove the application with the specified key |
remove app-rest-method | remove app-rest-method MyApp ErrorStatusEvent | Remove the REST-method of the application |
remove permission | remove permission 'add user' | Remove all access permissions from the specified operation. In this case the operation will become unavailable to all users, except users of the supergroup |
remove lb-node | remove lb-node 192.168.1.5 | Remove the node from the load balancer |
remove authorized_key | remove authorized_key | Remove CLI authorization public key. This command switches public key authorization off. |
save lb-nodes | save lb-nodes | Save nodes of the load balancer to a file |
save node-settings | save node-settings | Save current server settings to the flashphoner.properties file |
show groups | show groups | Show groups |
show users | show users | Show users |
show permissions | show permissions | Show access permissions for all operations |
show operations | show operations | Show the list of operations with editable access permissions |
show rest-methods | show rest-methods | Show all available REST-methods |
show apps | show apps | Show the list of applications |
show server-status | show server-status | Show the current server status |
show app-status | show app-status MyApp | Show the current status of the specified application |
show streams | show streams | Show the list of active streams |
show app-rest-methods | show app-rest-methods MyApp | Show the set of REST-methods enabled for the specified application |
show lb-nodes | show lb-nodes | Show nodes used in load balancing |
show lb-status | show lb-status | Show the current status of the load balancer |
show cdn-nodes | show cdn-nodes | Show the list and status of CDN nodes visible to the server (only for cdn_enable=true) |
show cdn-routes | show cdn-routes | Show the list of CDN routes and streams CDN (only for cdn_enable=true) |
show node-settings | show node-settings | Show or export the list of current WCS settings to a file (see Server settings management) |
show node-setting | show node-setting http.address | Show a specific setting from the settings file |
start lb | start lb | Start the load balancer |
stop lb | stop lb | Stop the load balancer |
update user | update user alice DEVELOPERS | Modify the specified user data |
update permission | update permission --groups 'ADMIN,STAFF' --users='alice' hello | Modify access permissions for the specified operation. Only the specified groups and users can perform this operation |
update app | update app --c-class 'com.flashphoner.MyCallbackClass' --m-class 'com.flashphoner.MyMainClass' --u-rest 'REST_USER' --p-rest 'REST_PWD' MyApp | Modify application settings m-class - main class handler. c-class - Callback class handler. u-rest - user name to use for authentication of HTTPS requests between WCS and the web server. p-rest - password for HTTPS authentication |
update lb-node | update --http-port 8081 --flash 1935 --ws 8080 --wss 8443 --max-calls 999 --enabled true lb-node 192.168.1.5 | Modify the load balancer settings |
update node-setting | update node-setting --name http.address --value 127.0.0.1 | Modify the value of one option in the settings list |
watchdog start | watchdog start CoreProcessDown,EventScannerDown,SIPRegDoesNotWork | Start Watchdog |
watchdog stop | watchdog stop | Stop Watchdog |
...